repo.or.cz
/
hiphop-php.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
Fix memoization of functions called with keyset arguments
[hiphop-php.git]
/
hphp
/
test
/
quick
/
ext_pdo_queryString.php
blob
1a8d26dd34ed4aaef795da9be70124ff495e67c2
1
<
?php
2
$tmp_sqllite
=
tempnam
(
'/tmp'
,
'vmpdotest'
);
3
$source
=
"sqlite:
$tmp_sqllite
"
;
4
$dbh
=
new
PDO
(
$source
);
5
$stmt
=
$dbh
->
query
(
"SELECT 1+1"
);
6
echo
$stmt
->
queryString
;
7
8
unset
(
$stmt
);
9
unset
(
$dbh
);
10
unlink
(
$tmp_sqllite
);