Home
last modified time | relevance | path

Searched refs:offsetExists (Results 1 – 25 of 52) sorted by relevance

123

/PHP-5.6/ext/spl/tests/
H A Dbug66834.phpt6 // 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 Dbug28822.phpt2 Bug #28822 (ArrayObject::offsetExists() works inverted)
8 var_dump($array->offsetExists('key'));
9 var_dump($array->offsetExists('nokey'));
H A DSplDoublyLinkedList_offsetExists_success.phpt2 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 Dfixedarray_002.phpt22 public function offsetExists($n) {
23 echo "A::offsetExists\n";
24 return parent::offsetExists($n);
81 A::offsetExists
82 A::offsetExists
83 A::offsetExists
84 A::offsetExists
H A DSplFixedArray_offsetExists_invalid_parameter.phpt2 SPL FixedArray offsetExists throws error only one parameter
8 $a = $array->offsetExists();
14 Warning: SplFixedArray::offsetExists() expects exactly 1 parameter, 0 given in %s on line %d
H A DSplDoublyLinkedList_offsetExists_invalid_parameter.phpt2 SPL SplDoublyLinkedList offsetExists displays warning and returns null on no parameters
8 $a = $list->offsetExists();
14 Warning: SplDoublyLinkedList::offsetExists() expects exactly 1 parameter, 0 given in %s on line %d
H A Dbug67582.phpt2 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 Dbug40872.phpt2 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 Dbug40442.phpt2 Bug #40442 (ArrayObject::offsetExists broke in 5.2.1, works in 5.2.0)
7 var_dump($a->offsetExists('property'));
H A DarrayObject_offsetExists_nullcheck.phpt2 SPL: ArrayObject::offsetExists() should return true for element containing NULL
6 var_dump($ao->offsetExists('foo'));
H A DSplFixedArray_offsetExists_less_than_zero.phpt2 SPL FixedArray offsetExists behaviour on a negative index
8 if($array->offsetExists(-10) === false) {
H A Dsplfixedarray_offsetExists_larger.phpt2 Checks that offsetExists() does not accept a value larger than the array.
12 var_dump($ar->offsetExists(4));
H A Diterator_044.phpt27 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…
/PHP-5.6/tests/classes/
H A Darray_access_001.phpt9 function offsetExists($index) {
98 object::offsetExists(0)
101 object::offsetExists(1)
104 object::offsetExists(2)
107 object::offsetExists(4th)
110 object::offsetExists(5th)
112 object::offsetExists(6)
115 object::offsetExists(0)
117 object::offsetExists(1)
119 object::offsetExists(2)
[all …]
H A Darray_access_002.phpt9 function offsetExists($index) {
98 object::offsetExists(0)
101 object::offsetExists(1)
104 object::offsetExists(2)
107 object::offsetExists(4th)
110 object::offsetExists(5th)
112 object::offsetExists(6)
115 object::offsetExists(0)
117 object::offsetExists(1)
119 object::offsetExists(2)
[all …]
H A Darray_access_013.phpt8 … public function offsetExists($offset) { throw new Exception(__METHOD__); return false; }
54 Caught in Test::offsetExists()
H A Darray_access_009.phpt23 if (!$object->offsetExists($element))
31 function offsetExists($index) {
62 function offsetExists($index)
H A Darray_access_006.phpt13 function offsetExists($index) {
H A Darray_access_007.phpt13 function offsetExists($index) {
/PHP-5.6/Zend/tests/
H A Dbug33710.phpt8 function offsetExists($offset) {/*...*/}
H A Dbug30346.phpt9 public function offsetExists( $offset ) { return false; }
H A Dobjects_032.phpt17 public function offsetExists($n) {
H A Dbug54367.phpt8 public function offsetExists($offset) { }
H A Dbug32252.phpt8 function offsetExists($offset)
/PHP-5.6/ext/spl/
H A Dspl.php502 function offsetExists($offset); function
683 function offsetExists($index) {/**/} function in ArrayObject
795 function offsetExists($index) {/**/} function in ArrayIterator

Completed in 43 milliseconds

123