3v4l.org

run code in 300+ PHP versions simultaneously
<?php $hundred = 100; try { assert(50 > $hundred); } catch (AssertionError $e) { echo "{get_class($e)}: {$e->getMessage()}"); }
Output for 5.5.24 - 5.5.30, 5.6.8 - 5.6.15
Parse error: syntax error, unexpected ')', expecting ',' or ';' in /in/63rM6 on line 8
Process exited with code 255.

preferences:
150.61 ms | 1395 KiB | 22 Q