3v4l.org

run code in 300+ PHP versions simultaneously
<?php class my { function fu() {} } var_dump(new \ReflectionMethod('my::fu')); var_dump(\ReflectionMethod::createFromMethodName('my::fu'));
Output for git.master_jit, git.master, rfc.property-hooks
Deprecated: Calling ReflectionMethod::__construct() with 1 argument is deprecated, use ReflectionMethod::createFromMethodName() instead in /in/dQVe4 on line 6 object(ReflectionMethod)#1 (2) { ["name"]=> string(2) "fu" ["class"]=> string(2) "my" } object(ReflectionMethod)#1 (2) { ["name"]=> string(2) "fu" ["class"]=> string(2) "my" }

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:
40.18 ms | 406 KiB | 5 Q