1
0
mirror of https://github.com/php/php-src.git synced 2026-04-25 08:58:28 +02:00
Files
archived-php-src/ext/standard/tests/general_functions/004.phpt
T
2018-10-14 12:07:20 -03:00

17 lines
289 B
PHP

--TEST--
fgetcsv() with tab delimited fields (BUG #8258)
--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