3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $value2 = 'time: 1376952971'; $pieces3 = explode(":", $value2); $checkiftime = $pieces3[0]; echo '$checkiftime: ' . $checkiftime; if ($checkiftime == 'time' . PHP_EOL; { echo "Yes!"; } else { echo "Oh no!"; }
Output for 5.3.0 - 5.5.12
Parse error: syntax error, unexpected ';' in /in/75AhG on line 6
Process exited with code 255.