3v4l.org

run code in 300+ PHP versions simultaneously
<?php $fnc_array = get_defined_functions(); $fnc_array = $fnc_array['internal']; //foreach ($fnc_array as $fnc_name) { $ref_func = new ReflectionFunction('call_user_func'); foreach($ref_func->getParameters() as $parm) { var_dump($parm::isCallable()); if($parm->isCallable()) { echo "$fnc_name (" . $ref_func->getNumberOfParameters() .")\n"; break; } } //} //
Output for git.master, git.master_jit, rfc.property-hooks
Fatal error: Uncaught Error: Non-static method ReflectionParameter::isCallable() cannot be called statically in /in/br5qJ:9 Stack trace: #0 {main} thrown in /in/br5qJ on line 9
Process exited with code 255.

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:
39.86 ms | 401 KiB | 8 Q