3v4l.org

run code in 300+ PHP versions simultaneously
<?php function run($op = 1, $req) { echo $op; echo PHP_EOL; echo $req; } run(req: "foo");
Output for git.master_jit, git.master
Deprecated: run(): Optional parameter $op declared before required parameter $req is implicitly treated as a required parameter in /in/0jdGl on line 3 Fatal error: Uncaught ArgumentCountError: run(): Argument #1 ($op) not passed in /in/0jdGl:3 Stack trace: #0 /in/0jdGl(12): run(NULL, 'foo') #1 {main} thrown in /in/0jdGl on line 3
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:
31.19 ms | 405 KiB | 5 Q