Home
last modified time | relevance | path

Searched refs:seek (Results 1 – 25 of 83) sorted by relevance

1234

/php-src/ext/spl/tests/
H A Ddit_006.phpt2 SPL: DirectoryIterator and seek
6 $di->seek(2);
14 echo "With seek(2) we get $n\n";
15 $di->seek(0);
22 echo "With seek(0) we get $m\n";
31 echo "Without seek we get $o\n";
35 $di->seek($o+1);
44 With seek(2) we get %d
45 With seek(0) we get %d
46 Without seek we get %d
H A Dbug68557.phpt11 $d->seek(0);
14 $d->seek(1);
17 $d->seek(2);
20 $d->seek(0);
23 $d->seek(1);
26 $d->seek(2);
29 $d->seek(0);
H A Darray_014.phpt2 SPL: ArrayIterator::seek()
8 $it->seek(5);
10 $it->seek(4);
14 $it->seek(-1);
24 $it->seek(12);
35 $it->seek($pos++);
H A DSplObjectStorage_seek.phpt2 SplObjectStorage::seek() basic functionality
26 $storage->seek(-1);
31 $storage->seek(5);
41 $storage->seek(2);
45 $storage->seek(1);
49 $storage->seek(4);
53 $storage->seek(0);
57 $storage->seek(3);
61 $storage->seek(3);
71 $storage->seek($index);
[all …]
H A Diterator_032.phpt16 $it->seek(0);
23 $it->seek(2);
28 $it->seek(3);
44 Cannot seek to 0 which is below the offset 1
46 Cannot seek to 3 which is behind offset 1 plus count 2
H A Darray_021.phpt2 SPL: ArrayObject::seek() and exceptions
8 public function seek($key)
19 $test->seek('bar');
28 foo::seek(bar)
H A Diterator_004.phpt51 public function seek($index): void
78 $l->seek($i);
107 SeekableNumericArrayIterator::seek(1)
125 SeekableNumericArrayIterator::seek(1)
130 SeekableNumericArrayIterator::seek(2)
135 SeekableNumericArrayIterator::seek(3)
H A Dbug70561.phpt2 Bug #70561 (DirectoryIterator::seek should throw OutOfBoundsException)
15 $di->seek($cnt+1);
H A Dbug45614.phpt37 echo "\n--> Rewind, seek and show the first two items:\n";
39 $ai->seek(0);
55 --> Rewind, seek and show the first two items:
H A Dbug49723.phpt2 LimitIterator: do not seek if not needed
H A Dbug67359.phpt9 $it->seek(1);
/php-src/ext/spl/tests/SplFileObject/
H A Dbug62004.phpt2 Bug #62004 (SplFileObject: fgets after seek returns wrong line)
7 $f->seek(0);
9 $f->seek(1);
11 $f->seek(2);
H A Dgh8121.phpt2 GH-8121 (SplFileObject - seek and key with csv file inconsistent)
14 $file->seek(0);
16 $file->seek(1);
18 $file->seek(2);
20 $file->seek(3);
H A Dbug46053.phpt2 Bug #46053 (SplFileObject::seek - Endless loop)
8 $x->seek(10);
9 $x->seek(0);
H A DSplFileObject_seek_error_001.phpt2 SplFileObject::seek function - test parameters
7 $obj->seek(-1);
13 SplFileObject::seek(): Argument #1 ($line) must be greater than or equal to 0
H A Dbug75917.phpt2 Bug #75917 (SplFileObject::seek broken with CSV flags)
16 $tmp->seek(23);
20 $tmp->seek(23);
H A Dbug46569.phpt2 Bug #46569 (SplFileObject: fgetcsv after seek returns wrong line)
7 $file->seek(1);
H A DSplFileObject_seek_error002.phpt2 SPL: SplFileObject::seek error 001
15 $s->seek(20);
H A DSplFileObject_seek_basic.phpt2 SPL: SplFileObject::seek basic
15 $s->seek(2);
H A DSplFileObject_next_variation002.phpt14 $s->seek(2);
21 $s->seek(2);
H A Dfileobject_getcurrentline_basic.phpt13 $s->seek(1);
H A DSplFileObject_key_basic.phpt15 $s->seek(3);
H A DSplFileObject_rewind_basic.phpt15 $s->seek(3);
/php-src/ext/standard/tests/file/
H A Dfseek_variation3.phpt18 echo "after -4 seek: ".bin2hex(fread($h,1))."\n";
20 echo "after seek back 1: ".bin2hex(fread($h,1))."\n";
22 echo "after seek back 20: ".bin2hex(fread($h,1))."\n";
40 after -4 seek:
42 after seek back 1: 39
44 after seek back 20:
H A Dfeof_basic.phpt47 echo "*** testing feof after a seek to near the beginning ***\n";
51 echo "*** testing feof after a seek to end ***\n";
55 echo "*** testing feof after a seek passed the end ***\n";
90 *** testing feof after a seek to near the beginning ***
92 *** testing feof after a seek to end ***
94 *** testing feof after a seek passed the end ***

Completed in 22 milliseconds

1234