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
Updating submodules
[hiphop-php.git]
/
hphp
/
test
/
slow
/
opendir_glob.php
blob
19bb50bcc2449b124c2bd025e44f45839ac272c0
1
<
?hh
2
3
4
<<
__EntryPoint
>>
5
function
main_opendir_glob
() {
6
$dir
=
opendir
(
'glob://'
.
__DIR__
.
'/../sample_dir/*'
);
7
8
while
( (
$file
=
readdir
(
$dir
)) !==
false
) {
9
echo
"
$file\n
"
;
10
}
11
}