3v4l.org

run code in 300+ PHP versions simultaneously
<?php //foreach ($fnc_array as $fnc_name) { $ref_func = new ReflectionFunction('preg_replace_callback'); 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
Deprecated: Method ReflectionParameter::isCallable() is deprecated in /in/8bk61 on line 7 bool(false) Deprecated: Method ReflectionParameter::isCallable() is deprecated in /in/8bk61 on line 8 Deprecated: Method ReflectionParameter::isCallable() is deprecated in /in/8bk61 on line 7 bool(true) Deprecated: Method ReflectionParameter::isCallable() is deprecated in /in/8bk61 on line 8 Warning: Undefined variable $fnc_name in /in/8bk61 on line 9 (6)

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:
47.64 ms | 402 KiB | 8 Q