3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $H=6; $W=2*$H; for($sor=0;$sor<($H);$sor++){ for($k=0;$k<$W;$k++){ if($k<=($H-$sor-1)){echo"&nbsp";} if($k=($H-$sor)){echo"/";} if($k>($H-$sor))&&($k<($H+$sor+1)){echo"&nbsp";} if($k=($H+$sor+1)){echo "\\" ;} if($k>($H+$sor+1)){echo "&nbsp";} } }
Output for 5.4.0 - 5.4.32
Parse error: syntax error, unexpected '&&' (T_BOOLEAN_AND) in /in/jdVAI on line 9
Process exited with code 255.
Output for 4.4.2 - 4.4.9, 5.1.0 - 5.3.29
Parse error: syntax error, unexpected T_BOOLEAN_AND in /in/jdVAI on line 9
Process exited with code 255.
Output for 4.3.0 - 4.3.1, 4.3.5 - 4.4.1, 5.0.0 - 5.0.5
Parse error: parse error, unexpected T_BOOLEAN_AND in /in/jdVAI on line 9
Process exited with code 255.
Output for 4.3.2 - 4.3.4
Parse error: parse error in /in/jdVAI on line 9
Process exited with code 255.