3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $_POST['weektime']=1; echo "SELECT week, name, date FROM lucky".(intval($_POST['weekcheck'])>0)?" WHERE week = Week ".str_pad(strval(intval($_POST['weektime'])), 2, "0", STR_PAD_LEFT);." 2014":"";
Output for 5.3.0 - 5.4.25
Parse error: syntax error, unexpected ';' in /in/AVfQs on line 6
Process exited with code 255.