3v4l.org

run code in 300+ PHP versions simultaneously
<?php "$test1 = null; $test2 = 'ok'; $test3 = $test1 ?? $test2; echo $test3;"
Output for 5.5.24 - 5.5.30, 5.6.8 - 5.6.15
Parse error: syntax error, unexpected end of file in /in/j191a on line 6
Process exited with code 255.

preferences:
163.59 ms | 1395 KiB | 22 Q