3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $image = 'http://qa.mcruises.ru/maps/OP20130328CADCAD.png'; echo substr($image, strlen($image)-4));
Output for 5.3.23, 5.4.13
Parse error: syntax error, unexpected ')', expecting ',' or ';' in /in/1qQQs on line 2
Process exited with code 255.
Output for 5.3.0 - 5.3.22, 5.4.0 - 5.4.12
Parse error: syntax error, unexpected ')', expecting ',' or ';' in Vgb0Y on line 2
Process exited with code 255.