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
Handle this typehints
[hiphop-php.git]
/
hphp
/
test
/
quick
/
ext_pdo_fetchobject_no_class_name.php
blob
0e4647d1e2eaa09b19e0930dafde8d4314abcf7b
1
<
?hh
2
$tmp_sqllite
=
tempnam
(
sys_get_temp_dir
(),
'vmpdotest'
);
3
$source
=
"sqlite:
$tmp_sqllite
"
;
4
$db
=
new
PDO
(
$source
);
5
$rows
=
$db
->
query
(
'SELECT LENGTH("123456") as col;'
)->
fetchObject
();
6
var_dump
(
$rows
);