Searched refs:offsetExists (Results 1 – 25 of 75) sorted by relevance
123
6 // overrides both offsetExists and offsetGet9 public function offsetExists($offset) {11 return parent::offsetExists($offset);20 // overrides only offsetExists23 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 …]
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) {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 …]
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) {26 echo "A::offsetExists\n";27 return parent::offsetExists($n);84 A::offsetExists85 A::offsetExists86 A::offsetExists87 A::offsetExists
2 SPL FixedArray offsetExists throws error only one parameter8 $a = $array->offsetExists();14 Warning: SplFixedArray::offsetExists() expects exactly 1 parameter, 0 given in %s on line %d
2 SPL SplDoublyLinkedList offsetExists displays warning and returns null on no parameters8 $a = $list->offsetExists();14 Warning: SplDoublyLinkedList::offsetExists() expects exactly 1 parameter, 0 given in %s on line %d
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 #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));
2 SplFixedArray::offsetExists with various types6 <?php var_dump((new SplFixedArray(1))->offsetExists(0.1)); ?>
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));
27 var_dump($this->offsetExists($v));37 var_dump($it->offsetExists(0));55 var_dump($it->offsetExists());75 Warning: CachingIterator::offsetExists() expects exactly 1 parameter, 0 given in %siterator_044.php…90 Warning: CachingIterator::offsetExists() expects parameter 1 to be string, object given in %siterat…135 Warning: CachingIterator::offsetExists() expects parameter 1 to be string, object given in %siterat…
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 …]
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"
8 function offsetExists($offset) {/*...*/}
6 public function offsetExists($x) { }
9 public function offsetExists( $offset ) { return false; }
9 function offsetExists($index) {98 ObjectOne::offsetExists(0)101 ObjectOne::offsetExists(1)104 ObjectOne::offsetExists(2)107 ObjectOne::offsetExists(4th)110 ObjectOne::offsetExists(5th)112 ObjectOne::offsetExists(6)115 ObjectOne::offsetExists(0)117 ObjectOne::offsetExists(1)119 ObjectOne::offsetExists(2)[all …]
8 … public function offsetExists($offset) { throw new Exception(__METHOD__); return false; }54 Caught in Test::offsetExists()
Completed in 25 milliseconds