3v4l.org

run code in 300+ PHP versions simultaneously
<?php var_dump((new ReflectionClass(XMLReader::class))->getProperties());
Output for git.master, git.master_jit, rfc.property-hooks
array(14) { [0]=> object(ReflectionProperty)#2 (2) { ["name"]=> string(14) "attributeCount" ["class"]=> string(9) "XMLReader" } [1]=> object(ReflectionProperty)#3 (2) { ["name"]=> string(7) "baseURI" ["class"]=> string(9) "XMLReader" } [2]=> object(ReflectionProperty)#4 (2) { ["name"]=> string(5) "depth" ["class"]=> string(9) "XMLReader" } [3]=> object(ReflectionProperty)#5 (2) { ["name"]=> string(13) "hasAttributes" ["class"]=> string(9) "XMLReader" } [4]=> object(ReflectionProperty)#6 (2) { ["name"]=> string(8) "hasValue" ["class"]=> string(9) "XMLReader" } [5]=> object(ReflectionProperty)#7 (2) { ["name"]=> string(9) "isDefault" ["class"]=> string(9) "XMLReader" } [6]=> object(ReflectionProperty)#8 (2) { ["name"]=> string(14) "isEmptyElement" ["class"]=> string(9) "XMLReader" } [7]=> object(ReflectionProperty)#9 (2) { ["name"]=> string(9) "localName" ["class"]=> string(9) "XMLReader" } [8]=> object(ReflectionProperty)#10 (2) { ["name"]=> string(4) "name" ["class"]=> string(9) "XMLReader" } [9]=> object(ReflectionProperty)#11 (2) { ["name"]=> string(12) "namespaceURI" ["class"]=> string(9) "XMLReader" } [10]=> object(ReflectionProperty)#12 (2) { ["name"]=> string(8) "nodeType" ["class"]=> string(9) "XMLReader" } [11]=> object(ReflectionProperty)#13 (2) { ["name"]=> string(6) "prefix" ["class"]=> string(9) "XMLReader" } [12]=> object(ReflectionProperty)#14 (2) { ["name"]=> string(5) "value" ["class"]=> string(9) "XMLReader" } [13]=> object(ReflectionProperty)#15 (2) { ["name"]=> string(7) "xmlLang" ["class"]=> string(9) "XMLReader" } }

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


preferences:
27.29 ms | 411 KiB | 5 Q