/PHP-8.0/ext/spl/tests/ |
H A D | bug66834.phpt | 6 // overrides both offsetExists and offsetGet 9 public function offsetExists($offset) { 11 return parent::offsetExists($offset); 20 // overrides only offsetExists 23 public function offsetExists($offset) { 25 return parent::offsetExists($offset); 61 echo "==== class with offsetExists() ====\n"; 83 string(37) "Called: ArrayObjectBoth::offsetExists" 84 string(37) "Called: ArrayObjectBoth::offsetExists" 85 string(37) "Called: ArrayObjectBoth::offsetExists" [all …]
|
H A D | bug74478.phpt | 9 echo "offsetExists($name)\n"; 40 offsetExists(0) 42 offsetExists(0) 44 offsetExists(0) 46 offsetExists(0) 51 offsetExists(0) 53 offsetExists(1) 55 offsetExists(2) 57 offsetExists(0) 59 offsetExists(1) [all …]
|
H A D | bug62059.phpt | 11 public function offsetExists($name) { 12 echo "offsetExists($name)\n"; 13 return parent::offsetExists($name); 23 public function offsetExists($name) { 24 echo "offsetExists($name)\n"; 52 offsetExists(0) 54 offsetExists(1) 57 offsetExists(1) 65 offsetExists(0) 67 offsetExists(1) [all …]
|
H A D | bug28822.phpt | 2 Bug #28822 (ArrayObject::offsetExists() works inverted) 8 var_dump($array->offsetExists('key')); 9 var_dump($array->offsetExists('nokey'));
|
H A D | SplDoublyLinkedList_offsetExists_success.phpt | 2 SPL SplDoublyLinkedList offsetExists returns correct values 14 if($list->offsetExists(0) === true) { 19 if($list->offsetExists(1) === true) { 24 if($list->offsetExists(2) === false) {
|
H A D | fixedarray_002.phpt | 25 public function offsetExists($n) { 26 echo "A::offsetExists\n"; 27 return parent::offsetExists($n); 83 A::offsetExists 84 A::offsetExists 85 A::offsetExists 86 A::offsetExists
|
H A D | bug40872.phpt | 2 Bug #40872 (inconsistency in offsetSet, offsetExists treatment of string enclosed integers) 23 var_dump($projects->offsetExists(1)); 24 var_dump($projects->offsetExists('2'));
|
H A D | bug67582.phpt | 2 Bug #67582: Cloned SplObjectStorage with overwritten getHash fails offsetExists() 16 foreach($list as $x) var_dump($list->offsetExists($x)); 19 foreach($list2 as $x) var_dump($list2->offsetExists($x));
|
H A D | SplFixedArray_offsetExists_integer.phpt | 2 SplFixedArray::offsetExists with various types 6 <?php var_dump((new SplFixedArray(1))->offsetExists(0.1)); ?>
|
H A D | bug40442.phpt | 2 Bug #40442 (ArrayObject::offsetExists broke in 5.2.1, works in 5.2.0) 7 var_dump($a->offsetExists('property'));
|
H A D | arrayObject_offsetExists_nullcheck.phpt | 2 SPL: ArrayObject::offsetExists() should return true for element containing NULL 6 var_dump($ao->offsetExists('foo'));
|
H A D | SplFixedArray_offsetExists_less_than_zero.phpt | 2 SPL FixedArray offsetExists behaviour on a negative index 8 if($array->offsetExists(-10) === false) {
|
H A D | splfixedarray_offsetExists_larger.phpt | 2 Checks that offsetExists() does not accept a value larger than the array. 12 var_dump($ar->offsetExists(4));
|
H A D | iterator_044.phpt | 28 var_dump($this->offsetExists($v)); 45 var_dump($it->offsetExists(0)); 86 CachingIterator::offsetExists(): Argument #1 ($key) must be of type string, stdClass given 127 CachingIterator::offsetExists(): Argument #1 ($key) must be of type string, stdClass given
|
/PHP-8.0/Zend/tests/ |
H A D | bug71731.phpt | 9 echo "offsetExists($name)\n"; 42 offsetExists(0) 44 offsetExists(0) 46 offsetExists(0) 48 offsetExists(0) 53 offsetExists(0) 55 offsetExists(1) 57 offsetExists(2) 59 offsetExists(0) 61 offsetExists(1) [all …]
|
H A D | assign_coalesce_003.phpt | 20 public function offsetExists($k) { 21 echo "offsetExists($k)\n"; 51 offsetExists(foo) 54 offsetExists(bar) 57 offsetExists(null) 61 offsetExists(foo) 63 offsetExists(bar) 67 offsetExists(foo) 69 offsetExists(bar)
|
H A D | bug63217.phpt | 10 public function offsetExists($offset) { 11 echo "offsetExists given "; 91 offsetExists given string(1) "0" 92 offsetExists given string(3) "123" 99 offsetExists given string(1) "0" 100 offsetExists given string(3) "123"
|
H A D | assign_coalesce_002.phpt | 29 public function offsetExists($k) { 55 public function offsetExists($k) {
|
/PHP-8.0/tests/classes/ |
H A D | array_access_001.phpt | 9 function offsetExists($index) { 97 ObjectOne::offsetExists(0) 100 ObjectOne::offsetExists(1) 103 ObjectOne::offsetExists(2) 106 ObjectOne::offsetExists(4th) 109 ObjectOne::offsetExists(5th) 111 ObjectOne::offsetExists(6) 114 ObjectOne::offsetExists(0) 116 ObjectOne::offsetExists(1) 118 ObjectOne::offsetExists(2) [all …]
|
H A D | array_access_002.phpt | 9 function offsetExists($index) { 97 ObjectOne::offsetExists(0) 100 ObjectOne::offsetExists(1) 103 ObjectOne::offsetExists(2) 106 ObjectOne::offsetExists(4th) 109 ObjectOne::offsetExists(5th) 111 ObjectOne::offsetExists(6) 114 ObjectOne::offsetExists(0) 116 ObjectOne::offsetExists(1) 118 ObjectOne::offsetExists(2) [all …]
|
H A D | array_access_013.phpt | 8 … public function offsetExists($offset) { throw new Exception(__METHOD__); return false; } 53 Caught in Test::offsetExists()
|
/PHP-8.0/Zend/ |
H A D | zend_weakrefs_arginfo.h | 43 ZEND_METHOD(WeakMap, offsetExists); 60 ZEND_ME(WeakMap, offsetExists, arginfo_class_WeakMap_offsetExists, ZEND_ACC_PUBLIC)
|
H A D | zend_weakrefs.stub.php | 25 public function offsetExists($object): bool {} function in WeakMap
|
/PHP-8.0/ext/spl/ |
H A D | spl_array.stub.php | 10 public function offsetExists(mixed $key) {} function in ArrayObject 90 public function offsetExists(mixed $key) {} function in ArrayIterator
|
H A D | spl_fixedarray_arginfo.h | 50 ZEND_METHOD(SplFixedArray, offsetExists); 65 ZEND_ME(SplFixedArray, offsetExists, arginfo_class_SplFixedArray_offsetExists, ZEND_ACC_PUBLIC)
|