- Output for git.master, git.master_jit, rfc.property-hooks
- Deprecated: Creation of dynamic property Node::$foo is deprecated in /in/PgqlG on line 183 Deprecated: Creation of dynamic property Tree::$1 is deprecated in /in/PgqlG on line 80 Deprecated: Creation of dynamic property Node::$bar is deprecated in /in/PgqlG on line 183 Deprecated: Creation of dynamic property Tree::$53 is deprecated in /in/PgqlG on line 80 Deprecated: Creation of dynamic property Node::$baz is deprecated in /in/PgqlG on line 183 Deprecated: Creation of dynamic property Tree::$921 is deprecated in /in/PgqlG on line 80 Deprecated: Creation of dynamic property NodeList::$53 is deprecated in /in/PgqlG on line 67 Deprecated: Creation of dynamic property NodeList::$921 is deprecated in /in/PgqlG on line 67 Display the entire tree (This is a fully recursive tree that can be looked up at any point) Tree Object ( [length] => 3 [1] => Node Object ( [id] => 1 [name] => somename1 [parent] => [depth] => [children] => NodeList Object ( [length] => 1 [53] => Node Object ( [id] => 53 [name] => somename2 [parent] => 1 [depth] => [children] => NodeList Object ( [length] => 1 [921] => Node Object ( [id] => 921 [name] => somename3 [parent] => 53 [depth] => [children] => NodeList Object ( [length] => 0 ) [baz] => baz ) ) [bar] => bar ) ) [foo] => foo ) [53] => Node Object ( [id] => 53 [name] => somename2 [parent] => 1 [depth] => [children] => NodeList Object ( [length] => 1 [921] => Node Object ( [id] => 921 [name] => somename3 [parent] => 53 [depth] => [children] => NodeList Object ( [length] => 0 ) [baz] => baz ) ) [bar] => bar ) [921] => Node Object ( [id] => 921 [name] => somename3 [parent] => 53 [depth] => [children] => NodeList Object ( [length] => 0 ) [baz] => baz ) ) Get the middle node id 53 Node Object ( [id] => 53 [name] => somename2 [parent] => 1 [depth] => [children] => NodeList Object ( [length] => 1 [921] => Node Object ( [id] => 921 [name] => somename3 [parent] => 53 [depth] => [children] => NodeList Object ( [length] => 0 ) [baz] => baz ) ) [bar] => bar ) Get the child count of node id 53: 1 Get the children of node 1: NodeList Object ( [length] => 1 [53] => Node Object ( [id] => 53 [name] => somename2 [parent] => 1 [depth] => [children] => NodeList Object ( [length] => 1 [921] => Node Object ( [id] => 921 [name] => somename3 [parent] => 53 [depth] => [children] => NodeList Object ( [length] => 0 ) [baz] => baz ) ) [bar] => bar ) ) Get the depth of the tree node id 921: 2 Get the depth of the tree node id 53: 1 Remove the children of node id 53: Node Object ( [id] => 53 [name] => somename2 [parent] => 1 [depth] => 1 [children] => [bar] => bar ) Display the list of nodes after removing the children of node id 53: Tree Object ( [length] => 3 [1] => Node Object ( [id] => 1 [name] => somename1 [parent] => [depth] => 0 [children] => NodeList Object ( [length] => 1 [53] => Node Object ( [id] => 53 [name] => somename2 [parent] => 1 [depth] => 1 [children] => [bar] => bar ) ) [foo] => foo ) [53] => Node Object ( [id] => 53 [name] => somename2 [parent] => 1 [depth] => 1 [children] => [bar] => bar ) [921] => Node Object ( [id] => 921 [name] => somename3 [parent] => 53 [depth] => 2 [children] => [baz] => baz ) )
This tab shows result from various feature-branches currently under review by the php developers. Contact me to have additional branches featured.
Active branches
Archived branches
Once feature-branches are merged or declined, they are no longer available. Their functionality (when merged) can be viewed from the main output page
- 2020-03-21 RFC: Is_Literal - declined
- 2020-12-04 Enumerations - included in PHP 8.1
- 2018-06-15 Typed Properties v2 - implemented in PHP 7.4
- 2016-08-12 Object typehint - included in PHP 7.2
- 2016-08-14 Arrow functions - withdrawn
- 2016-05-29 array_change_keys() - withdrawn
- 2016-04-19 Lexical scope support for anonymous classes - suspended
- 2016-04-17 Functional Interfaces - declined
- 2016-03-16 Typed Properties - superseded in favor of Typed Properties 2.0
- 2015-08-27 Callable Prototypes - declined
- 2015-05-01 Short Closures - declined / withdrawn in favor of Arrow Functions
- 2015-02-18 Scalar type hints v5 - included in PHP 7
- 2015-02-14 Union Types - declined
- 2013-09-22 Anonymous classes - included in PHP 7