3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $_REQUEST=array(); $_REQUEST["username"]="" " OR == TRUE"; $_REQUEST["password"]="" " OR == TRUE"; echo "SELECT * from users where username=\"".$_REQUEST["username"]."\" and password=\"".$_REQUEST["password"]."\""; ?>
Output for 5.4.0 - 5.4.16
Parse error: syntax error, unexpected '" OR == TRUE"' (T_CONSTANT_ENCAPSED_STRING) in /in/kWBZb on line 3
Process exited with code 255.
Output for 5.3.0 - 5.3.26
Parse error: syntax error, unexpected T_CONSTANT_ENCAPSED_STRING in /in/kWBZb on line 3
Process exited with code 255.