3v4l.org

run code in 300+ PHP versions simultaneously
<?php $functionName = 'array_multisort'; printf("Params of %s:\n", $functionName); foreach ((new ReflectionFunction($functionName))->getParameters() as $param) { printf("Param \$%s: isPassedByReference=%s, isOptional=%s, isVariadic=%s\n", $param->getName(), var_export($param->isPassedByReference(), true), var_export($param->isOptional(), true), var_export($param->isVariadic(), true)); }
Output for git.master, git.master_jit, rfc.property-hooks
Params of array_multisort: Param $array: isPassedByReference=true, isOptional=false, isVariadic=false Param $rest: isPassedByReference=true, isOptional=true, isVariadic=true

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:
134.23 ms | 405 KiB | 5 Q