3v4l.org

run code in 300+ PHP versions simultaneously
<?php $test_malin = new ReflectionClass('ArrayObject'); var_dump( $test_malin->getMethods());
Output for git.master, git.master_jit, rfc.property-hooks
array(25) { [0]=> object(ReflectionMethod)#2 (2) { ["name"]=> string(11) "__construct" ["class"]=> string(11) "ArrayObject" } [1]=> object(ReflectionMethod)#3 (2) { ["name"]=> string(12) "offsetExists" ["class"]=> string(11) "ArrayObject" } [2]=> object(ReflectionMethod)#4 (2) { ["name"]=> string(9) "offsetGet" ["class"]=> string(11) "ArrayObject" } [3]=> object(ReflectionMethod)#5 (2) { ["name"]=> string(9) "offsetSet" ["class"]=> string(11) "ArrayObject" } [4]=> object(ReflectionMethod)#6 (2) { ["name"]=> string(11) "offsetUnset" ["class"]=> string(11) "ArrayObject" } [5]=> object(ReflectionMethod)#7 (2) { ["name"]=> string(6) "append" ["class"]=> string(11) "ArrayObject" } [6]=> object(ReflectionMethod)#8 (2) { ["name"]=> string(12) "getArrayCopy" ["class"]=> string(11) "ArrayObject" } [7]=> object(ReflectionMethod)#9 (2) { ["name"]=> string(5) "count" ["class"]=> string(11) "ArrayObject" } [8]=> object(ReflectionMethod)#10 (2) { ["name"]=> string(8) "getFlags" ["class"]=> string(11) "ArrayObject" } [9]=> object(ReflectionMethod)#11 (2) { ["name"]=> string(8) "setFlags" ["class"]=> string(11) "ArrayObject" } [10]=> object(ReflectionMethod)#12 (2) { ["name"]=> string(5) "asort" ["class"]=> string(11) "ArrayObject" } [11]=> object(ReflectionMethod)#13 (2) { ["name"]=> string(5) "ksort" ["class"]=> string(11) "ArrayObject" } [12]=> object(ReflectionMethod)#14 (2) { ["name"]=> string(6) "uasort" ["class"]=> string(11) "ArrayObject" } [13]=> object(ReflectionMethod)#15 (2) { ["name"]=> string(6) "uksort" ["class"]=> string(11) "ArrayObject" } [14]=> object(ReflectionMethod)#16 (2) { ["name"]=> string(7) "natsort" ["class"]=> string(11) "ArrayObject" } [15]=> object(ReflectionMethod)#17 (2) { ["name"]=> string(11) "natcasesort" ["class"]=> string(11) "ArrayObject" } [16]=> object(ReflectionMethod)#18 (2) { ["name"]=> string(11) "unserialize" ["class"]=> string(11) "ArrayObject" } [17]=> object(ReflectionMethod)#19 (2) { ["name"]=> string(9) "serialize" ["class"]=> string(11) "ArrayObject" } [18]=> object(ReflectionMethod)#20 (2) { ["name"]=> string(11) "__serialize" ["class"]=> string(11) "ArrayObject" } [19]=> object(ReflectionMethod)#21 (2) { ["name"]=> string(13) "__unserialize" ["class"]=> string(11) "ArrayObject" } [20]=> object(ReflectionMethod)#22 (2) { ["name"]=> string(11) "getIterator" ["class"]=> string(11) "ArrayObject" } [21]=> object(ReflectionMethod)#23 (2) { ["name"]=> string(13) "exchangeArray" ["class"]=> string(11) "ArrayObject" } [22]=> object(ReflectionMethod)#24 (2) { ["name"]=> string(16) "setIteratorClass" ["class"]=> string(11) "ArrayObject" } [23]=> object(ReflectionMethod)#25 (2) { ["name"]=> string(16) "getIteratorClass" ["class"]=> string(11) "ArrayObject" } [24]=> object(ReflectionMethod)#26 (2) { ["name"]=> string(11) "__debugInfo" ["class"]=> string(11) "ArrayObject" } }

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:
44.49 ms | 409 KiB | 8 Q