/php-src/ext/dom/tests/ |
H A D | DOMNode_replaceChild_error1.phpt | 9 $parent = $document->createElement('p'); 14 $parent->appendChild($child2); 16 $parent->replaceChild($child3, $child1);
|
H A D | bug70359.phpt | 8 echo "-- Test without parent --\n"; 18 echo "-- Test with parent and non-ns attribute --\n"; 34 echo "-- Test with parent and ns attribute --\n"; 51 -- Test without parent -- 65 -- Test with parent and non-ns attribute -- 69 -- Test with parent and ns attribute --
|
/php-src/ext/dom/ |
H A D | html5_serializer.c | 134 …if (node->parent->type == XML_ELEMENT_NODE && php_dom_ns_is_fast(node->parent, php_dom_ns_is_html_… in dom_html5_serialize_text_node() 135 const xmlNode *parent = node->parent; in dom_html5_serialize_text_node() local 136 size_t name_length = strlen((const char *) parent->name); in dom_html5_serialize_text_node() 140 if (dom_local_name_compare_ex(parent, "style", strlen("style"), name_length) in dom_html5_serialize_text_node() 141 || dom_local_name_compare_ex(parent, "script", strlen("script"), name_length) in dom_html5_serialize_text_node() 142 || dom_local_name_compare_ex(parent, "xmp", strlen("xmp"), name_length) in dom_html5_serialize_text_node() 143 || dom_local_name_compare_ex(parent, "iframe", strlen("iframe"), name_length) in dom_html5_serialize_text_node() 144 || dom_local_name_compare_ex(parent, "noembed", strlen("noembed"), name_length) in dom_html5_serialize_text_node() 319 node = node->parent; in dom_html5_serialize_node() 363 return dom_html5_serialize_node(ctx, node, node->parent); in dom_html5_serialize_outer() [all …]
|
H A D | php_dom.h | 147 int dom_hierarchy(xmlNodePtr parent, xmlNodePtr child); 174 …ntiate_object_helper(zval *return_value, zend_class_entry *ce, xmlNodePtr obj, dom_object *parent); 199 bool php_dom_fragment_insertion_hierarchy_check_pre_insertion(xmlNodePtr parent, xmlNodePtr node, x… 200 bool php_dom_fragment_insertion_hierarchy_check_replace(xmlNodePtr parent, xmlNodePtr node, xmlNode… 201 void php_dom_node_append(php_libxml_ref_obj *document, xmlNodePtr node, xmlNodePtr parent); 202 bool php_dom_pre_insert(php_libxml_ref_obj *document, xmlNodePtr node, xmlNodePtr parent, xmlNodePt… 203 bool php_dom_pre_insert_is_parent_invalid(xmlNodePtr parent); 288 static zend_always_inline xmlNodePtr php_dom_first_child_of_container_node(xmlNodePtr parent) in php_dom_first_child_of_container_node() argument 290 if (parent->type == XML_DOCUMENT_NODE || parent->type == XML_HTML_DOCUMENT_NODE) { in php_dom_first_child_of_container_node() 291 return xmlDocGetRootElement((xmlDoc *) parent); in php_dom_first_child_of_container_node() [all …]
|
/php-src/ext/spl/tests/ |
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 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 parent::rewind(); 21 return parent::valid(); 27 return parent::current(); 33 parent::next(); 39 return parent::key();
|
/php-src/ext/date/tests/ |
H A D | bug48476.phpt | 2 Bug #48476 (cloning extended DateTime class without calling parent::__constr crashed PHP) 35 …Time (inheriting DateTime) has not been correctly initialized by calling parent::__construct() in … 36 …Time (inheriting DateTime) has not been correctly initialized by calling parent::__construct() in … 37 … (inheriting DateTimeZone) has not been correctly initialized by calling parent::__construct() in …
|
H A D | DatePeriod_uninitialised_exceptions.phpt | 40 …od (inheriting DatePeriod) has not been correctly initialized by calling parent::__construct() in … 41 …od (inheriting DatePeriod) has not been correctly initialized by calling parent::__construct() in … 42 …od (inheriting DatePeriod) has not been correctly initialized by calling parent::__construct() in … 43 DateObjectError: Object of type DatePeriod has not been correctly initialized by calling parent::__…
|
H A D | bug-gh8471.phpt | 47 Object of type DateTime has not been correctly initialized by calling parent::__construct() in its … 48 Object of type DateTime has not been correctly initialized by calling parent::__construct() in its … 49 Object of type DateTimeImmutable has not been correctly initialized by calling parent::__construct(… 50 Object of type DateTimeImmutable has not been correctly initialized by calling parent::__construct(…
|
/php-src/tests/classes/ |
H A D | constants_scope_001.phpt | 20 echo "parent::FATAL = " . parent::FATAL; 32 parent::FATAL = Fatal error
|
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-src/Zend/tests/ |
H A D | bug37138.phpt | 2 Bug #37138 (autoloader tries to load callback'ed self and parent) 11 public static function g () {call_user_func (array ('parent', 'e'));} 23 Deprecated: Use of "parent" in callables is deprecated in %s on line %d
|
H A D | bug48899-deprecated.phpt | 2 Bug #48899 (is_callable returns true even if method does not exist in parent class) [original test … 10 var_dump(is_callable(array($this, 'parent::testIsCallable'))); 23 Deprecated: Callables of the form ["ChildClass", "parent::testIsCallable"] are deprecated in %s on …
|
H A D | bug53826.phpt | 2 Bug #53826: __callStatic fired in base class through a parent call if the method is private 18 public function test(){ parent::test(); } 22 public function test(){ parent::test(); }
|
H A D | bug60573.phpt | 13 public function setSelf(parent $s) { } 25 public function setSelf(parent $s) { } 34 public function setSelf(parent $s) { }
|
/php-src/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-src/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-src/ext/sysvsem/tests/ |
H A D | nowait.phpt | 11 echo "P: parent process running.\n"; 15 // Get semaphore for parent 18 echo "P: failed to parent get semaphore.\n"; 32 // Acquire semaphore for parent 61 to release the parent semaphore */ 68 the releasing the parent semaphore and letting 119 P: parent process running.
|
/php-src/sapi/phpdbg/ |
H A D | phpdbg_watch.c | 565 next = element->parent; 588 child->parent = element; 711 if (!element->parent) { 831 phpdbg_watch_element *parent = element->parent, *child = element->child; local 832 while (parent) { 834 parent = parent->parent; 895 phpdbg_watch_element *parent = element->parent, *child = element->child; local 896 while (parent) { 898 parent = parent->parent; 937 if (parent->coll) { [all …]
|
/php-src/ext/standard/tests/class_object/ |
H A D | forward_static_call_003.phpt | 20 forward_static_call(array('parent', 'test')); 46 Deprecated: Use of "parent" in callables is deprecated in %s on line %d 52 Deprecated: Use of "parent" in callables is deprecated in %s on line %d
|
/php-src/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 {}
|