3v4l.org

run code in 300+ PHP versions simultaneously
<?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.

preferences:
187.27 ms | 1395 KiB | 51 Q