3v4l.org

run code in 300+ PHP versions simultaneously
<?php $db = new PDO("mysql:host=localhost;dbname=jugnuut","root",""); $query= "INSERT INTO tableS VALUES ("475","1111","XXXY","PREQ","XX"); $result= $db->query($query); $result -> closeCursor(); $db=null; print_r($array);
Output for 5.4.0 - 5.4.25
Parse error: syntax error, unexpected '475' (T_LNUMBER) in /in/m04Z5 on line 4
Process exited with code 255.
Output for 5.3.0 - 5.3.28
Parse error: syntax error, unexpected T_LNUMBER in /in/m04Z5 on line 4
Process exited with code 255.

preferences:
182.76 ms | 1394 KiB | 62 Q