3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php if (LineIsValid($_POST['telephone'], $d8username, $d8password) == false); //Fail script echo'false - tel provided incorrect'; elseif (MobileIsValid($_POST['telephone'], $d8username, $d8password) == false); //Fail script echo'false - tel provided incorrect'; elseif (validateTelephoneNumber($_POST['telephone']) == false); //Fail script echo'false - tel provided incorrect';
Output for 5.4.0 - 5.4.25
Parse error: syntax error, unexpected 'elseif' (T_ELSEIF) in /in/Xu24M on line 12
Process exited with code 255.
Output for 5.3.0 - 5.3.28
Parse error: syntax error, unexpected T_ELSEIF in /in/Xu24M on line 12
Process exited with code 255.