3v4l.org

run code in 300+ PHP versions simultaneously
<?php if (1 == 5) { $hey = 5; } if ($hey == null) { var_dump('hey'); }

preferences:
36.78 ms | 402 KiB | 5 Q