3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php echo (2<1)?'test':''ook';
Output for 5.4.0 - 5.5.4
Parse error: syntax error, unexpected 'ook' (T_STRING), expecting ',' or ';' in /in/VeSJZ on line 2
Process exited with code 255.
Output for 5.3.0 - 5.3.27
Parse error: syntax error, unexpected T_STRING, expecting ',' or ';' in /in/VeSJZ on line 2
Process exited with code 255.