3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php if ($req = $bdd->prepare ('INSERT INTO membres(membre_id, membre_pseudo, mdp, email, date_naissance, sexe, date_inscription) VALUES (membre_id, :membre_pseudo, :mdp, :email, :date_naissance, :sexe, :date_inscription)') $req->bindParam(':membre_id', $membre_id) && $req->bindParam(':membre_pseudo', $membre_pseudo) && $req->bindParam(':mdp', $mdp) && $req->bindParam(':email', $email) && $req->bindParam(':date_naissance', $date_naissance) && $req->bindParam(':sexe', $sexe) && $req->bindParam(':date_inscription', $date_inscription) && $req->execute() or exit(print_r($bdd->errorInfo())))
Output for 5.4.0 - 5.4.29
Parse error: syntax error, unexpected '$req' (T_VARIABLE) in /in/TvLFl on line 6
Process exited with code 255.
Output for 5.3.0 - 5.3.28
Parse error: syntax error, unexpected T_VARIABLE in /in/TvLFl on line 6
Process exited with code 255.