Searched refs:offsetExists (Results 1 – 25 of 100) sorted by relevance
1234
6 // overrides both offsetExists and offsetGet9 public function offsetExists($offset): bool {11 return parent::offsetExists($offset);20 // overrides only offsetExists23 public function offsetExists($offset): bool {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 …]
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 …]
11 public function offsetExists($name): bool {12 echo "offsetExists($name)\n";13 return parent::offsetExists($name);24 echo "offsetExists($name)\n";25 return parent::offsetExists($name);52 offsetExists(0)54 offsetExists(1)57 offsetExists(1)65 offsetExists(0)67 offsetExists(1)[all …]
2 Bug #28822 (ArrayObject::offsetExists() works inverted)8 var_dump($array->offsetExists('key'));9 var_dump($array->offsetExists('nokey'));
2 SPL SplDoublyLinkedList offsetExists returns correct values14 if($list->offsetExists(0) === true) {19 if($list->offsetExists(1) === true) {24 if($list->offsetExists(2) === false) {
25 public function offsetExists($n): bool {26 echo "A::offsetExists\n";27 return parent::offsetExists($n);83 A::offsetExists84 A::offsetExists85 A::offsetExists86 A::offsetExists
2 Bug #40872 (inconsistency in offsetSet, offsetExists treatment of string enclosed integers)23 var_dump($projects->offsetExists(1));24 var_dump($projects->offsetExists('2'));
2 Bug #40442 (ArrayObject::offsetExists broke in 5.2.1, works in 5.2.0)7 var_dump($a->offsetExists('property'));
2 SPL: ArrayObject::offsetExists() should return true for element containing NULL6 var_dump($ao->offsetExists('foo'));
2 SPL FixedArray offsetExists behaviour on a negative index8 if($array->offsetExists(-10) === false) {
2 Checks that offsetExists() does not accept a value larger than the array.12 var_dump($ar->offsetExists(4));
28 var_dump($this->offsetExists($v));45 var_dump($it->offsetExists(0));86 CachingIterator::offsetExists(): Argument #1 ($key) must be of type string, stdClass given98 Deprecated: CachingIterator::offsetExists(): Passing null to parameter #1 ($key) of type string is …131 CachingIterator::offsetExists(): Argument #1 ($key) must be of type string, stdClass given141 Deprecated: CachingIterator::offsetExists(): Passing null to parameter #1 ($key) of type string is …
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 …]
20 public function offsetExists($k): bool {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)
10 public function offsetExists($offset): bool {11 echo "offsetExists given ";93 offsetExists given string(1) "0"94 offsetExists given string(3) "123"101 offsetExists given string(1) "0"102 offsetExists given string(3) "123"
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)120 ObjectOne::offsetExists(4th)[all …]
8 …public function offsetExists($offset): bool { throw new Exception(__METHOD__); return false; }53 Caught in Test::offsetExists()
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));
22 echo "check isset/empty/contains for null. offsetExists returns true as long as the entry is there.…59 check isset/empty/contains for null. offsetExists returns true as long as the entry is there.68 TypeError: SplObjectStorage::offsetExists(): Argument #1 ($object) must be of type object, string g…
35 public function offsetExists(mixed $offset): bool { return true; }45 … public function offsetExists(mixed $offset): bool { echo 'offsetExists' . PHP_EOL; return true; }64 offsetExists
27 public function offsetExists(mixed $offset): bool29 echo 'offsetExists' . PHP_EOL;109 offsetExists110 offsetExists111 offsetExists
28 string(15) "CLASS_NAME::offsetExists"32 string(15) "CLASS_NAME::offsetExists"38 string(15) "CLASS_NAME::offsetExists"76 string(15) "CLASS_NAME::offsetExists"82 string(15) "CLASS_NAME::offsetExists"88 string(15) "CLASS_NAME::offsetExists"
7 public function offsetExists(mixed $offset): bool {47 Collection::offsetExists
31 public function offsetExists($object): bool {} function in WeakMap
Completed in 28 milliseconds