Home
last modified time | relevance | path

Searched refs:offsetExists (Results 26 – 50 of 74) sorted by last modified time

123

/PHP-7.4/Zend/
H A Dzend_interfaces.c565 ZEND_ABSTRACT_ME(arrayaccess, offsetExists, arginfo_arrayaccess_offset)
/PHP-7.4/Zend/tests/
H A Dobjects_032.phpt17 public function offsetExists($n) {
H A Dbug30346.phpt9 public function offsetExists( $offset ) { return false; }
H A Dbug32252.phpt8 function offsetExists($offset)
H A Dbug41209.phpt29 public function offsetExists($id)
H A Dtemporary_cleaning_013.phpt57 function offsetExists($x) { return true; }
70 function offsetExists($x) { return true; }
128 function offsetExists($x) { return true; }
138 function offsetExists($x) { return true; }
163 function offsetExists($x) { return true; }
188 function offsetExists($x) { return true; }
227 function offsetExists($x) { return true; }
H A Dobject_handlers.phpt28 function offsetExists($index) {
H A Dlist_destructuring_to_special_variables.phpt19 public function offsetExists($name) {}
H A Dlist_keyed_ArrayAccess.phpt34 public function offsetExists($offset) {
H A Dlist_keyed_evaluation_order.inc25 public function offsetExists($offset): bool {
H A Ddereference_005.phpt20 public function offsetExists($offset) {
/PHP-7.4/tests/classes/
H A Darray_access_006.phpt13 function offsetExists($index) {
/PHP-7.4/ext/spl/tests/
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 Dbug62059.phpt11 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 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 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 Dbug74478.phpt9 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 DSplFixedArray_offsetExists_integer.phpt2 SplFixedArray::offsetExists with various types
6 <?php var_dump((new SplFixedArray(1))->offsetExists(0.1)); ?>
H A DSplFixedArray_offsetExists_less_than_zero.phpt2 SPL FixedArray offsetExists behaviour on a negative index
8 if($array->offsetExists(-10) === false) {
H A DarrayObject_offsetExists_nullcheck.phpt2 SPL: ArrayObject::offsetExists() should return true for element containing NULL
6 var_dump($ao->offsetExists('foo'));
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) {
/PHP-7.4/ext/opcache/tests/
H A Dbug77275.phpt15 public function offsetExists($offset) { throw new \Exception; }
/PHP-7.4/Zend/tests/type_declarations/
H A Dtyped_properties_065.phpt9 function offsetExists($o) { return 1; }
/PHP-7.4/Zend/tests/list/
H A Dlist_reference_006.phpt10 function offsetExists ($k) { return isset($this->s[$k]); }
H A Dlist_reference_007.phpt11 function offsetExists ($k) { return isset($this->s[$k]); }

Completed in 52 milliseconds

123