Home
last modified time | relevance | path

Searched refs:parent (Results 76 – 100 of 555) sorted by relevance

12345678910>>...23

/php-src/ext/dom/tests/
H A DDOMNode_replaceChild_error1.phpt9 $parent = $document->createElement('p');
14 $parent->appendChild($child2);
16 $parent->replaceChild($child3, $child1);
H A Dbug70359.phpt8 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 Dhtml5_serializer.c134 …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 Dphp_dom.h147 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 Diterator_022.phpt16 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 Diterator_023.phpt16 if (!parent::valid())
37parent::__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 Dobserver_002.phpt11 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 Dbug32134.phpt11 parent::__construct($array);
19 return parent::offsetGet($index);
25 parent::offsetSet($index, $newval);
H A Dbug62059.phpt9 return parent::offsetGet($name);
13 return parent::offsetExists($name);
19 return parent::offsetGet($name);
25 return parent::offsetExists($name);
H A DarrayObject_getIteratorClass_basic1.phpt15 parent::rewind();
21 return parent::valid();
27 return parent::current();
33 parent::next();
39 return parent::key();
/php-src/ext/date/tests/
H A Dbug48476.phpt2 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 DDatePeriod_uninitialised_exceptions.phpt40 …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 Dbug-gh8471.phpt47 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 Dconstants_scope_001.phpt20 echo "parent::FATAL = " . parent::FATAL;
32 parent::FATAL = Fatal error
H A Dconstants_basic_004.phpt24 // 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 Dbug37138.phpt2 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 Dbug48899-deprecated.phpt2 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 Dbug53826.phpt2 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 Dbug60573.phpt13 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 Dself_parent.phpt2 Allow self and parent in use const statement
8 use const parent as bar;
/php-src/Zend/tests/use_function/
H A Dself_parent.phpt2 Allow self and parent in use function statement
8 use function parent as bar;
/php-src/ext/sysvsem/tests/
H A Dnowait.phpt11 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 Dphpdbg_watch.c565 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 Dforward_static_call_003.phpt20 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 Dparent_is_not_proto.phpt2 The parent class is not necessarily the class of the prototype
11 function test(): parent {}

Completed in 41 milliseconds

12345678910>>...23