3v4l.org

run code in 300+ PHP versions simultaneously
<?php class Test { function __construct(){echo 'a';} } // new ${!${''}='Test'}; new ${!${}='Test'};
Output for 5.4.1 - 5.4.45, 5.5.24 - 5.5.30, 5.6.8 - 5.6.14
Parse error: syntax error, unexpected '}' in /in/I9bme on line 9
Process exited with code 255.

preferences:
187.69 ms | 1395 KiB | 65 Q