/PHP-8.0/ext/spl/tests/ |
H A D | gh8121.phpt | 2 GH-8121 (SplFileObject - seek and key with csv file inconsistent) 6 …SplFileObject::READ_AHEAD | SplFileObject::READ_CSV | SplFileObject::SKIP_EMPTY | SplFileObject::D… 7 …SplFileObject::READ_AHEAD | SplFileObject::SKIP_EMPTY | SplFileObject::D… 8 … SplFileObject::SKIP_EMPTY | SplFileObject::DROP_NEW_LINE, 11 $file = new SplFileObject(__DIR__ . "/gh8121.csv", "r");
|
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 | 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_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_setCsvControl_error001.phpt | 2 SPL: SplFileObject::setCsvControl error 001 14 $s = new SplFileObject('csv_control_data_error001.csv'); 15 $s->setFlags(SplFileObject::READ_CSV); 27 SplFileObject::setCsvControl(): Argument #1 ($separator) must be a single character
|
H A D | SplFileObject_setCsvControl_error002.phpt | 2 SPL: SplFileObject::setCsvControl error 002 14 $s = new SplFileObject('csv_control_data_error002.csv'); 15 $s->setFlags(SplFileObject::READ_CSV); 27 SplFileObject::setCsvControl(): Argument #2 ($enclosure) must be a single character
|
H A D | SplFileObject_setCsvControl_error003.phpt | 2 SPL: SplFileObject::setCsvControl error 003 16 $s = new SplFileObject('csv_control_data_error003.csv'); 17 $s->setFlags(SplFileObject::READ_CSV); 29 SplFileObject::setCsvControl(): Argument #3 ($escape) must be empty or a single character
|
H A D | SplFileObject_seek_error_001.phpt | 2 SplFileObject::seek function - test parameters 5 $obj = new SplFileObject(__FILE__); 13 SplFileObject::seek(): Argument #1 ($line) must be greater than or equal to 0
|
H A D | SplFileObject_fflush_basic_001.phpt | 2 SplFileObject::fflush function - basic test 8 $obj = New SplFileObject(__DIR__.'/SplFileObject_testinput.csv'); 31 //open an SplFileObject using the above test stream 32 $obj = New SplFileObject("SPLtest://ftruncate_test");
|
H A D | bug54292.phpt | 2 Bug #54292 (Wrong parameter causes crash in SplFileObject::__construct()) 7 new SplFileObject('foo', array()); 14 string(85) "SplFileObject::__construct(): Argument #2 ($mode) must be of type string, array given"
|
H A D | bug62004.phpt | 2 Bug #62004 (SplFileObject: fgets after seek returns wrong line) 5 $f = new SplFileObject(__DIR__ . '/bug62004.txt'); 6 $f->setFlags(SplFileObject::SKIP_EMPTY);
|
H A D | fileobject_setmaxlinelen_error001.phpt | 2 SPL: SplFileObject::setMaxLineLen error 001() 7 $s = new SplFileObject( __FILE__ ); 17 SplFileObject::setMaxLineLen(): Argument #1 ($maxLength) must be greater than or equal to 0
|
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 | SplTempFileObject_constructor_maxmemory_basic.phpt | 13 ["openMode":"SplFileObject":private]=> 15 ["delimiter":"SplFileObject":private]=> 17 ["enclosure":"SplFileObject":private]=>
|
H A D | SplFileObject_getflags_basic.phpt | 2 SPL: SplFileObject::getFlags basic 12 $fo = new SplFileObject('SplFileObject_getflags_basic.csv'); 14 $fo->setFlags(SplFileObject::DROP_NEW_LINE);
|
H A D | fileobject_001.phpt | 2 SPL: SplFileObject::seek'ing 6 $o = new SplFileObject(__DIR__ . '/fileobject_001a.txt'); 10 $o->setFlags(SplFileObject::DROP_NEW_LINE); 34 $o = new SplFileObject(__DIR__ . '/fileobject_001b.txt'); 35 $o->setFlags(SplFileObject::DROP_NEW_LINE);
|
H A D | SplFileObject_fgetcsv_delimiter_error.phpt | 2 SplFileObject::fgetcsv with alternative delimiter 14 $fo = new SplFileObject('SplFileObject__fgetcsv3.csv'); 26 SplFileObject::fgetcsv(): Argument #1 ($separator) must be a single character
|
H A D | SplFileObject_fgetcsv_enclosure_error.phpt | 2 SplFileObject::fgetcsv with alternative delimiter 14 $fo = new SplFileObject('SplFileObject__fgetcsv5.csv'); 26 SplFileObject::fgetcsv(): Argument #2 ($enclosure) must be a single character
|
H A D | SplFileObject_fgetcsv_escape_error.phpt | 2 SplFileObject::fgetcsv with alternative delimiter 9 $fo = new SplFileObject('SplFileObject__fgetcsv8.csv'); 21 SplFileObject::fgetcsv(): Argument #3 ($escape) must be empty or a single character
|
H A D | bug77024.phpt | 2 Bug #77024 SplFileObject::__toString() may return array 9 $file->setFlags(SplFileObject::READ_CSV); 14 $file = new SplFileObject($tmp);
|
/PHP-8.0/ext/spl/ |
H A D | spl_directory_arginfo.h | 317 ZEND_METHOD(SplFileObject, eof); 318 ZEND_METHOD(SplFileObject, valid); 319 ZEND_METHOD(SplFileObject, fgets); 320 ZEND_METHOD(SplFileObject, fread); 325 ZEND_METHOD(SplFileObject, flock); 327 ZEND_METHOD(SplFileObject, ftell); 328 ZEND_METHOD(SplFileObject, fseek); 329 ZEND_METHOD(SplFileObject, fgetc); 336 ZEND_METHOD(SplFileObject, key); 337 ZEND_METHOD(SplFileObject, next); [all …]
|
/PHP-8.0/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-8.0/ext/standard/tests/serialize/ |
H A D | bug67072.phpt | 2 Bug #67072 Echoing unserialized "SplFileObject" crash 5 echo unserialize('O:13:"SplFileObject":1:{s:9:"*filename";s:15:"/home/flag/flag";}'); 9 Warning: Erroneous data format for unserializing 'SplFileObject' in %sbug67072.php on line %d
|