3v4l.org

run code in 300+ PHP versions simultaneously
<?php error_reporting(E_ALL); echo $_GET['aaa']; $user = $_GET['xxx'] ?? 'nobody'; var_dump($user); $null = ''; var_dump($null??'haha'); $arr = ['a' => 1]; echo $arr[0]; var_dump($arr['b'] ?? 'bbbb');
Output for git.master, git.master_jit, rfc.property-hooks
Warning: Undefined array key "aaa" in /in/lSEef on line 3 string(6) "nobody" string(0) "" Warning: Undefined array key 0 in /in/lSEef on line 9 string(4) "bbbb"

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:
50.98 ms | 401 KiB | 8 Q