/PHP-7.4/ext/phar/tests/ |
H A D | phar_oo_004.phpt | 33 parent::__construct($dir); 39 parent::rewind(); 45 return parent::valid(); 51 return parent::key(); 57 return parent::current(); 63 parent::next();
|
/PHP-7.4/ext/spl/tests/ |
H A D | iterator_021.phpt | 10 if (!parent::valid()) 24 return parent::getChildren(); 37 parent::__construct($it); 44 parent::rewind(); 55 return parent::valid(); 61 return parent::current(); 67 return parent::key(); 73 parent::next(); 79 $has = parent::callHasChildren();
|
H A D | bug74478.phpt | 10 return parent::offsetExists($name); 14 return parent::offsetGet($name); 18 return parent::offsetSet($name, $value); 22 return parent::offsetUnset($name);
|
H A D | fixedarray_003.phpt | 11 return parent::current(); 15 return parent::key(); 19 return parent::rewind(); 23 return parent::valid(); 27 return parent::next();
|
H A D | iterator_022.phpt | 16 if (!parent::valid()) 37 parent::__construct($it); 44 parent::rewind(); 55 return parent::valid(); 61 return parent::current(); 67 return parent::key(); 73 parent::next(); 79 $has = parent::callHasChildren();
|
H A D | iterator_023.phpt | 16 if (!parent::valid()) 37 …parent::__construct($it, RecursiveIteratorIterator::LEAVES_ONLY, RecursiveIteratorIterator::CATCH_… 44 parent::rewind(); 55 return parent::valid(); 61 return parent::current(); 67 return parent::key(); 73 parent::next(); 79 $has = parent::callHasChildren();
|
H A D | observer_002.phpt | 11 parent::rewind(); 16 echo __METHOD__ . "(" . (parent::valid() ? 1 : 0) . ")\n"; 17 return parent::valid(); 22 echo __METHOD__ . "(" . parent::key() . ")\n"; 23 return parent::key(); 28 echo __METHOD__ . "(" . parent::current()->getName() . ")\n"; 29 return parent::current(); 35 parent::next();
|
H A D | bug32134.phpt | 11 parent::__construct($array); 19 return parent::offsetGet($index); 25 return parent::offsetSet($index, $newval);
|
H A D | bug62059.phpt | 9 return parent::offsetGet($name); 13 return parent::offsetExists($name); 19 return parent::offsetGet($name); 25 return parent::offsetExists($name);
|
H A D | arrayObject_getIteratorClass_basic1.phpt | 15 return parent::rewind(); 21 return parent::valid(); 27 return parent::current(); 33 return parent::next(); 39 return parent::key();
|
/PHP-7.4/ext/standard/tests/serialize/ |
H A D | __serialize_005.phpt | 2 __serialize() mechanism (005): parent::__unserialize() is safe 22 parent::__construct($data); 26 return [$this->data2, parent::__serialize()]; 30 parent::__unserialize($data);
|
/PHP-7.4/Zend/tests/ |
H A D | bug48770.phpt | 2 Bug #48770 (call_user_func_array() fails to call parent from inheriting class) 28 print "This method shouldn't be called when using parent::func!\n"; 32 call_user_func_array(array($this, 'parent::func'), array($str)); 44 parent::func($str);
|
H A D | bug66719.phpt | 17 parent::who(); 26 call_user_func(array(B::class, 'parent::who')); 32 call_user_func(array(B::class, 'parent::who'));
|
H A D | objects_028.phpt | 2 Testing 'static::' and 'parent::' in calls 15 parent::bar();
|
H A D | class_name_as_scalar_error_004.phpt | 2 class name as scalar from ::class keyword error using parent in method signature 9 public function baz($x = parent::class) {
|
/PHP-7.4/ext/simplexml/tests/ |
H A D | sxe_004.phpt | 43 return parent::rewind(); 48 return parent::valid(); 53 return parent::current(); 58 return parent::key(); 63 return parent::next(); 68 return parent::hasChildren(); 73 return parent::getChildren();
|
/PHP-7.4/Zend/ |
H A D | zend_inheritance.c | 121 zend_class_entry *parent = ce->parent; in do_inherit_parent_constructor() local 182 ZSTR_VAL(parent->name), ZSTR_VAL(parent->constructor->common.function_name), in do_inherit_parent_constructor() 270 if (ce1->parent) { in unlinked_instanceof() 809 parent->common.prototype : parent; in do_inheritance_check_on_method_ex() 817 parent = proto; in do_inheritance_check_on_method_ex() 892 parent = zend_duplicate_function(parent, ce, is_interface); in do_inherit_method() 947 …ZSTR_VAL(ZEND_TYPE_IS_CE(parent->type) ? ZEND_TYPE_CE(parent->type)->name : resolve_class_name(par… in emit_incompatible_property_error() 1098 if (ce->parent && ce->parent->default_properties_count != 0) { in zend_build_properties_info_table() 1408 uint32_t parent_iface_num = ce->parent ? ce->parent->num_interfaces : 0; in zend_do_implement_interface() 2470 if (!parent) { in zend_do_link_class() [all …]
|
/PHP-7.4/ext/standard/tests/general_functions/ |
H A D | bug40398.phpt | 2 Bug #40398 (parent and self callback functions erroneously called statically) 28 call_user_func_array(array($this, 'parent::__construct'), $args); 46 call_user_func_array('parent::__construct', $args); 64 call_user_func_array(array('parent', '__construct'), $args);
|
/PHP-7.4/Zend/tests/use_const/ |
H A D | self_parent.phpt | 2 Allow self and parent in use const statement 8 use const parent as bar;
|
/PHP-7.4/Zend/tests/use_function/ |
H A D | self_parent.phpt | 2 Allow self and parent in use function statement 8 use function parent as bar;
|
/PHP-7.4/Zend/tests/type_declarations/ |
H A D | parent_is_not_proto.phpt | 2 The parent class is not necessarily the class of the prototype 11 function test(): parent {}
|
/PHP-7.4/tests/classes/ |
H A D | constants_basic_004.phpt | 24 // Static and instance array using class constants with parent 25 public static $sa_c_parent = array(parent::KEY => parent::VALUE); 26 public $a_c_parent = array(parent::KEY => parent::VALUE);
|
/PHP-7.4/ext/reflection/tests/ |
H A D | ReflectionClass_getParentClass_001.phpt | 12 $parent = $rc->getParentClass(); 13 $grandParent = $parent->getParentClass(); 14 var_dump($parent, $grandParent);
|
/PHP-7.4/sapi/phpdbg/ |
H A D | phpdbg_watch.c | 510 next = element->parent; 533 child->parent = element; 662 if (!element->parent) { 782 phpdbg_watch_element *parent = element->parent, *child = element->child; local 783 while (parent) { 785 parent = parent->parent; 846 phpdbg_watch_element *parent = element->parent, *child = element->child; local 847 while (parent) { 849 parent = parent->parent; 888 if (parent->coll) { [all …]
|
/PHP-7.4/ext/dom/tests/ |
H A D | bug69373.phpt | 9 $doc->loadXML("<parent><child /><child /></parent>");
|