3v4l.org

run code in 500+ PHP versions simultaneously
<?php function somefunc($a, $b, $c, $d, $e, $f, $g) { $args = get_defined_vars(); var_dump($a,$b,$c,$d,$e,$f,$g); foreach($args as $key => $val) { // assign lowered $val to variable named from $key value ${$key} = mb_strtolower($val); } echo "\n"; var_dump($a,$b,$c,$d,$e,$f,$g); } somefunc("DSDS","435r34","HFDUIWe","t45t4gfdfDW","DSDS","435r34","HFDUIWe");
Output for git.master, git.master_jit, rfc.property-hooks
string(4) "DSDS" string(6) "435r34" string(7) "HFDUIWe" string(11) "t45t4gfdfDW" string(4) "DSDS" string(6) "435r34" string(7) "HFDUIWe" string(4) "dsds" string(6) "435r34" string(7) "hfduiwe" string(11) "t45t4gfdfdw" string(4) "dsds" string(6) "435r34" string(7) "hfduiwe"

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:
52.27 ms | 1590 KiB | 4 Q