php-src/ext/standard/tests/general_functions/004.phpt
Derick Rethans 39225a22b8 - Fix tests to work with CLI
#- Not totally done, but this makes it a lot better
2002-03-05 09:00:56 +00:00

19 lines
307 B
PHP

--TEST--
fgetcsv() with tab delimited fields (BUG #8258)
--POST--
--GET--
--FILE--
<?php
chdir(dirname(__FILE__));
$fp=fopen("004.data","r");
while($a=fgetcsv($fp,100,"\t")) {
echo join(",",$a)."\n";
}
fclose($fp);
?>
--EXPECT--
name,value,comment
true,1,boolean true
false,0,boolean false
empty,,nothing