Home
last modified time | relevance | path

Searched refs:parent (Results 1 – 25 of 357) sorted by relevance

12345678910>>...15

/PHP-5.5/ext/dom/tests/
H A Dbug28721.phpt124 parent: NULL
156 parent: NULL
190 parent: NULL
222 parent: NULL
255 parent: NULL
287 parent: NULL
314 parent: NULL
366 parent: NULL
373 parent: NULL
406 parent: NULL
[all …]
H A DDOMNode_replaceChild_basic.phpt16 $parent = $document->getElementsByTagName('foo')->item(0);
18 $old_child = $parent->replaceChild($new_child, $parent->firstChild);
23 $parent = $document->getElementsByTagName('spam')->item(0);
24 $parent->replaceChild($new_child, $parent->firstChild);
29 $parent = $document->getElementsByTagName('foo')->item(0);
30 $parent->replaceChild($new_child, $parent->firstChild);
/PHP-5.5/ext/spl/examples/
H A Dclass_tree.php41 $parent = get_parent_class($cname);
42 if (strcasecmp($parent, $base) == 0)
48 if ($parent)
50 $parent_imp = class_implements($parent);
56 if (!$parent || !in_array($iname, $parent_imp))
84 $result = parent::key();
85 $parent = get_parent_class($result);
86 if ($parent)
88 $interfaces = array_diff(class_implements($result), class_implements($parent));
/PHP-5.5/ext/standard/tests/general_functions/
H A Dcallbacks_001.phpt26 $this->call(array('parent', 'who'));
27 $this->call(array('C', 'parent::who'));
28 $this->call(array('B', 'parent::who'));
29 $this->call(array('E', 'parent::who'));
69 $this->call(array('parent', 'who'));
84 parent|who
86 C|parent::who
88 B|parent::who
90 E|parent::who
99 parent|who
[all …]
/PHP-5.5/Zend/tests/
H A Dlsb_022.phpt2 ZE2 Late Static Binding parent::/self:: forwarding and __callStatic
18 parent::__callstatic($name, $args);
19 call_user_func_array("parent::__callstatic", array($name, $args));
20 parent::foo();
21 call_user_func_array("parent::foo", $args);
22 call_user_func_array(array("parent","foo"), $args);
H A Derrmsg_031.phpt2 errmsg: cannot use 'parent' as parent class name
6 class test extends parent {
12 Fatal error: Cannot use 'parent' as class name as it is reserved in %s on line %d
H A Dbug63635.phpt6 public $parent = NULL;
9 function __construct(Node $parent=NULL) {
10 if ($parent) {
11 $parent->childs[] = $this;
H A Dbug48770_2.phpt2 Bug #48770 (call_user_func_array() fails to call parent from inheriting class)
25 call_user_func_array(array($this, 'parent::func2'), array($str));
26 call_user_func_array(array($this, 'parent::func3'), array($str));
27 call_user_func_array(array($this, 'parent::func22'), array($str));
28 call_user_func_array(array($this, 'parent::inexistent'), array($str));
40 parent::func($str);
H A Dbug60573.phpt13 public function setSelf(parent $s) { }
25 public function setSelf(parent $s) { }
34 public function setSelf(parent $s) { }
58 public function setSelf(parent $s) { }
64 public function setSelf(parent $s) { }
70 abstract public function setSelf(parent $s);
H A Derrmsg_029.phpt2 errmsg: cannot use 'parent' as class name
6 class parent {
12 Fatal error: Cannot use 'parent' as class name as it is reserved in %s on line %d
H A Derrmsg_036.phpt2 errmsg: cannot use 'parent' as interface name
6 class test implements parent {
12 Fatal error: Cannot use 'parent' as interface name as it is reserved in %s on line %d
H A Dbug45862.phpt22 echo "\n From parent scope\n";
23 $parent = new Ancestor();
24 $parent->test();
32 From parent scope
/PHP-5.5/ext/standard/tests/dir/
H A Ddir_variation7.phpt28 * 1) remove write & execute permission from the 1st parent and test dir()
29 * 2) remove execute permission from 2nd parent and test dir()
35 dir_variation7 ( parent )
36 |-> sub_dir ( sub parent )
53 // remove the write and execute permisson from sub parent
55 echo "-- After restricting 1st level parent directory --\n";
61 chmod($parent_dir_path, 0666); // restricting parent directory
62 echo "-- After restricting parent directory --\n";
85 *** Testing dir() : remove execute permission from the parent dir ***
86 -- After restricting 1st level parent directory --
[all …]
H A Dopendir_variation5.phpt26 * remove the execute permission from the parent dir and test opendir() on child dir
27 * 1) remove write & execute permission from the 1st parent and test opendir()
28 * 2) remove execute permission from 2nd parent and test opendir()
34 * opendir_variation5 ( parent )
35 * |-> sub_dir ( sub parent )
52 // remove the write and execute permisson from sub parent
55 echo "\n-- After restricting 1st level parent directory --\n";
61 chmod($parent_dir_path, 0666); // restricting parent directory
63 echo "\n-- After restricting parent directory --\n";
94 -- After restricting 1st level parent directory --
[all …]
H A Dscandir_variation5.phpt26 * remove the execute permission from the parent dir and test scandir() on child dir
27 * 1. remove write & execute permission from the 1st parent and test scandir()
28 * 2. remove execute permission from 2nd parent and test scandir()
35 * scandir_variation5 ( parent )
36 * |-> sub_dir ( sub parent )
53 // remove the write and execute permisson from sub parent
56 echo "\n-- After restricting 1st level parent directory --\n";
61 chmod($parent_dir_path, 0666); // restricting parent directory
63 echo "\n-- After restricting parent directory --\n";
85 -- After restricting 1st level parent directory --
[all …]
/PHP-5.5/ext/standard/tests/array/
H A Darray_map_object3.phpt12 * 1) child class method using parent object
13 * 2) parent class method using child object
14 * 3) child class method using parent class
15 * 4) parent class method using child class
50 echo "-- accessing parent method from child class --\n";
53 echo "-- accessing child method from parent class --\n";
56 echo "-- accessing parent method using child class object --\n";
66 -- accessing parent method from child class --
75 -- accessing child method from parent class --
79 -- accessing parent method using child class object --
[all …]
/PHP-5.5/ext/spl/tests/
H A Diterator_009.phpt11 parent::rewind();
16 return parent::valid();
21 return parent::current();
26 return parent::key();
31 parent::next();
H A Diterator_007.phpt11 parent::rewind();
16 return parent::valid();
21 return parent::current();
26 return parent::key();
31 parent::next();
40 parent::rewind();
45 return parent::valid();
50 return parent::current();
55 return parent::key();
60 parent::next();
H A Diterator_034.phpt10 if (!parent::valid())
24 return parent::getChildren();
30 parent::rewind();
42 parent::__construct($it);
48 parent::rewind();
55 return parent::valid();
61 return parent::current();
67 return parent::key();
73 parent::next();
87 parent::beginChildren();
[all …]
H A Dfixedarray_019.phpt8 return parent::rewind();
12 return parent::valid();
16 return parent::next();
20 return parent::current();
24 return parent::key();
H A Dbug65328.phpt90 protected $parent;
115 * @param Node $parent
120 if(null !== $parent) {
121 $this->parent = $parent;
187 * @param Node $parent
190 public function setParent(Node $parent)
196 $this->parent = $parent;
221 return $this->parent;
303 [parent:protected] => Node Object
311 [parent:protected] => Node Object
[all …]
H A Diterator_041a.phpt23 parent::__construct(array(1, 2));
30 return parent::rewind();
36 return parent::valid();
42 return parent::current();
48 return parent::key();
54 return parent::next();
H A Diterator_031.phpt11 parent::rewind();
32 parent::rewind();
38 return parent::valid();
44 parent::append($what);
49 parent::__construct();
93 The object is in an invalid state as the parent constructor was not called
H A Diterator_041.phpt23 parent::__construct(array(1, 2));
30 return parent::rewind();
36 return parent::valid();
42 return parent::current();
48 return parent::key();
54 return parent::next();
/PHP-5.5/ext/soap/tests/bugs/
H A Dbug37013.phpt29 var $parent;
32 function __construct( $id, $parent ) {
34 $this->parent = $parent;
58parent id="ref2" xsi:type="SOAP-ENC:Struct"><parent xsi:nil="true"/><id xsi:type="xsd:int">1</id><…

Completed in 34 milliseconds

12345678910>>...15