3v4l.org

run code in 500+ PHP versions simultaneously
<?php function foo ($bar = "bar", $baz) { var_dump($bar, $baz); } foo(null, "BAZ");
Output for git.master, git.master_jit, rfc.property-hooks
Deprecated: Optional parameter $bar declared before required parameter $baz is implicitly treated as a required parameter in /in/MGWIR on line 3 NULL string(3) "BAZ"

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:
42.52 ms | 1387 KiB | 4 Q