/PHP-5.6/ext/phar/tests/ |
H A D | phar_oo_009.phpt | 2 Phar object: iterating via SplFileObject and reading csv 5 <?php if (!defined('SplFileObject::READ_CSV') || !defined('SplFileObject::SKIP_EMPTY')) die('skip n… 16 $phar->setInfoClass('SplFileObject'); 19 $f->setFlags(SplFileObject::SKIP_EMPTY | SplFileObject::DROP_NEW_LINE); 29 $f->setFlags(SplFileObject::SKIP_EMPTY | SplFileObject::DROP_NEW_LINE | SplFileObject::READ_CSV);
|
/PHP-5.6/ext/spl/tests/ |
H A D | bug64782.phpt | 2 Bug #64782: SplFileObject constructor make $context optional / give it a default value 6 var_dump(new SplFileObject(__FILE__, "r", false, null)); 10 object(SplFileObject)#1 (%d) { 15 ["openMode":"SplFileObject":private]=> 17 ["delimiter":"SplFileObject":private]=> 19 ["enclosure":"SplFileObject":private]=>
|
H A D | SplFileObject_getflags_variation001.phpt | 2 SPL: SplFileObject::getFlags 10 $fo = new SplFileObject(__FILE__); 12 $fo->setFlags(SplFileObject::DROP_NEW_LINE); 15 $fo->setFlags(SplFileObject::READ_AHEAD); 18 $fo->setFlags(SplFileObject::SKIP_EMPTY); 21 $fo->setFlags(SplFileObject::READ_CSV);
|
H A D | SplFileObject_fseek_error_001.phpt | 2 SplFileObject::fseek function - parameters test 5 $obj = New SplFileObject(__FILE__); 10 Warning: SplFileObject::fseek() expects at most 2 parameters, 3 given %s 12 Warning: SplFileObject::fseek() expects at least 1 parameter, 0 given %s
|
H A D | SplFileInfo_setFileClass_basic.phpt | 2 SplFileInfo::setFileClass() expects SplFileObject or child class 6 class MyFileObject extends SplFileObject {} 13 $info->setFileClass('SplFileObject'); 19 SplFileObject
|
H A D | SplFileObject_fwrite_error_001.phpt | 2 SplFileObject::fpassthru function - parameters test 5 $obj = New SplFileObject(dirname(__FILE__).'/SplFileObject_testinput.csv'); 10 Warning: SplFileObject::fwrite() expects at least 1 parameter, 0 given in %s 12 Warning: SplFileObject::fwrite() expects at most 2 parameters, 3 given in %s
|
H A D | SplFileObject_getflags_error002.phpt | 2 SPL: SplFileObject::getFlags error 001 10 $fo = new SplFileObject('SplFileObject_getflags_error002.csv'); 11 $fo->setFlags(SplFileObject::READ_CSV); 21 Warning: SplFileObject::getFlags() expects exactly 0 parameters, 1 given in %s on line %d
|
H A D | SplFileObject_getflags_error001.phpt | 2 SPL: SplFileObject::getFlags error 001 13 $fo = new SplFileObject('SplFileObject_getflags_error001.csv'); 14 $fo->setFlags(SplFileObject::READ_CSV); 16 $fo->setFlags(SplFileObject::DROP_NEW_LINE);
|
H A D | SplFileObject_seek_error_001.phpt | 2 SplFileObject::seek function - test parameters 5 $obj = New SplFileObject(__FILE__); 16 Warning: SplFileObject::seek() expects exactly 1 parameter, 2 given in %s 18 Warning: SplFileObject::seek() expects exactly 1 parameter, 0 given in %s
|
H A D | SplFileObject_setCsvControl_error001.phpt | 2 SPL: SplFileObject::setCsvControl error 001 14 $s = new SplFileObject('csv_control_data.csv'); 15 $s->setFlags(SplFileObject::READ_CSV); 23 Warning: SplFileObject::setCsvControl(): delimiter must be a character in %s on line %d
|
H A D | SplFileObject_setCsvControl_error002.phpt | 2 SPL: SplFileObject::setCsvControl error 002 14 $s = new SplFileObject('csv_control_data.csv'); 15 $s->setFlags(SplFileObject::READ_CSV); 23 Warning: SplFileObject::setCsvControl(): enclosure must be a character in %s on line %d
|
H A D | SplFileObject_setCsvControl_error003.phpt | 2 SPL: SplFileObject::setCsvControl error 003 16 $s = new SplFileObject('csv_control_data.csv'); 17 $s->setFlags(SplFileObject::READ_CSV); 25 Warning: SplFileObject::setCsvControl(): escape must be a character in %s on line %d
|
H A D | SplFileObject_fflush_basic_001.phpt | 2 SplFileObject::fflush function - basic test 8 $obj = New SplFileObject(dirname(__FILE__).'/SplFileObject_testinput.csv'); 31 //open an SplFileObject using the above test stream 32 $obj = New SplFileObject("SPLtest://ftruncate_test");
|
H A D | bug65545.phpt | 2 SplFileObject::fread function 5 $obj = new SplFileObject(__FILE__, 'r'); 23 Warning: SplFileObject::fread() expects exactly 1 parameter, 0 given in %s on line %d 26 Warning: SplFileObject::fread(): Length parameter must be greater than 0 in %s on line %d
|
H A D | bug54292.phpt | 2 Bug #54292 (Wrong parameter causes crash in SplFileObject::__construct()) 7 new SplFileObject('foo', array()); 14 string(74) "SplFileObject::__construct() expects parameter 2 to be string, array given"
|
H A D | fileobject_setmaxlinelen_error002.phpt | 2 SPL: SplFileObject::setMaxLineLen error 002 7 $s = new SplFileObject( __FILE__ ); 12 Warning: SplFileObject::setMaxLineLen() expects exactly 1 parameter, 0 given in %s on line %d
|
H A D | SplFileObject_getchildren_error001.phpt | 2 SPL: SplFileObject::getchildren error 001 7 $s = new SplFileObject( __FILE__ ); 12 Warning: SplFileObject::getChildren() expects exactly 0 parameters, 1 given in %s on line %d
|
H A D | SplFileObject_haschildren_error001.phpt | 2 SPL: SplFileObject::haschildren error 001 7 $s = new SplFileObject( __FILE__ ); 12 Warning: SplFileObject::hasChildren() expects exactly 0 parameters, 1 given in %s on line %d
|
H A D | fileobject_getmaxlinelen_error001.phpt | 2 SPL: SplFileObject::getMaxLineLen error 001 9 $s = new SplFileObject( __FILE__ ); 14 Warning: SplFileObject::getMaxLineLen() expects exactly 0 parameters, 1 given in %s on line %d
|
H A D | SplFileObject_key_error003.phpt | 2 SPL: SplFileObject::key error 11 $s = new SplFileObject(__FILE__); 15 Warning: SplFileObject::key() expects exactly 0 parameters, 1 given in %s on line %d
|
H A D | fileobject_setmaxlinelen_error003.phpt | 2 SPL: SplFileObject::setMaxLineLen error 003 7 $s = new SplFileObject( __FILE__ ); 12 Warning: SplFileObject::setMaxLineLen() expects parameter 1 to be long, string given in %s on line …
|
H A D | SplTempFileObject_constructor_basic.phpt | 13 ["openMode":"SplFileObject":private]=> 15 ["delimiter":"SplFileObject":private]=> 17 ["enclosure":"SplFileObject":private]=>
|
H A D | SplTempFileObject_constructor_memory_lt1_variation.phpt | 13 ["openMode":"SplFileObject":private]=> 15 ["delimiter":"SplFileObject":private]=> 17 ["enclosure":"SplFileObject":private]=>
|
H A D | fileobject_001.phpt | 2 SPL: SplFileObject::seek'ing 6 $o = new SplFileObject(dirname(__FILE__) . '/fileobject_001a.txt'); 10 $o->setFlags(SplFileObject::DROP_NEW_LINE); 34 $o = new SplFileObject(dirname(__FILE__) . '/fileobject_001b.txt'); 35 $o->setFlags(SplFileObject::DROP_NEW_LINE);
|
H A D | SplTempFileObject_constructor_maxmemory_basic.phpt | 13 ["openMode":"SplFileObject":private]=> 15 ["delimiter":"SplFileObject":private]=> 17 ["enclosure":"SplFileObject":private]=>
|