3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $contenu_avant = "" if (strripos($contenu_avant, "/*") === FALSE || strripos("/*") > strripos("*/") || strripos($contenu_avant, "//") === FALSE || strripos("//") > strripos(chr(10))) echo "en commentaire !"; else echo "ok";
Output for 5.4.0 - 5.4.28
Parse error: syntax error, unexpected 'if' (T_IF) in /in/M2bPM on line 5
Process exited with code 255.
Output for 5.3.0 - 5.3.28
Parse error: syntax error, unexpected T_IF in /in/M2bPM on line 5
Process exited with code 255.