msopacua Thu Dec 5 14:29:45 2002 EDT
Added files:
/php4/ext/standard/tests/file bug12556.phpt
Log:
Add a testcase for this bug
Index: php4/ext/standard/tests/file/bug12556.phpt
+++ php4/ext/standard/tests/file/bug12556.phpt
--TEST--
Bug #12556: fgetcvs ignores lengths when quotes not closed
--POST--
--GET--
--FILE--
<?php
$fp=fopen(dirname(__FILE__)."/test.csv", "r");
while($line=fgetcsv($fp, 24)){
print("Read 24 bytes\n");
}
?>
--EXPECT--
Read 24 bytes
Read 24 bytes
Read 24 bytes
Read 24 bytes
Read 24 bytes
Read 24 bytes
Read 24 bytes
Read 24 bytes
Read 24 bytes
--
PHP CVS Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php