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
Make test/run's finding repo compiler more robust
[hiphop-php.git]
/
hphp
/
test
/
zend
/
bad
/
ext-standard-file
/
bug53848.php
blob
474095b226b9d6129c8ce8818c6ecb6fa40134eb
1
<
?php
2
$file
=
dirname
(
__FILE__
) .
"/bug39538.csv"
;
3
@unlink
(
$file
);
4
file_put_contents
(
$file
,
"a,b
\n
c, d"
);
5
$fp
=
fopen
(
$file
,
"r"
);
6
while
(
$l
=
fgetcsv
(
$fp
))
var_dump
(
$l
);
7
fclose
(
$fp
);
8
@unlink
(
$file
);
9
?
>