3v4l.org

run code in 300+ PHP versions simultaneously
<?php while (!empty($results[$i])) { echo '<tr><td>'.$results[$i]['invoice_customer_name1'].'</td><td>'; if (isset($results[$i]['computed1']) and $results[$i]['computed1'] == 2) {echo $results[$i]['computed1'];} else echo '0,00'; echo'</td> '; if (isset($results[$i]['computed1']) and $results[$i]['computed1'] == 3) {echo "<td>".$results[$i]['computed'];} else echo '<td> 0,00'; echo'</td></tr>'; if (isset($results[$i]['computed1']) and $results[$i]['computed1'] == 4) {echo "<td>".$results[$i]['computed'];} else echo '<td> 0,00'; echo'</td></tr>'; if (isset($results[$i]['computed1']) and $results[$i]['computed1'] == 5) {echo "<td>".$results[$i]['computed'];} else echo '<td> 0,00'; echo'</td></tr>'; if (isset($results[$i]['computed1']) and $results[$i]['computed1'] == 6) {echo "<td>".$results[$i]['computed'];} else echo '<td> 0,00'; echo'</td></tr>'; if (isset($results[$i]['computed1']) and $results[$i]['computed1'] == 7) {echo "<td>".$results[$i]['computed'];} else echo '<td> 0,00'; echo'</td></tr>'; if (isset($results[$i]['computed1']) and $results[$i]['computed1'] == 8) {echo "<td>".$results[$i]['computed'];} else echo '<td> 0,00'; echo'</td></tr>'; if (isset($results[$i]['computed1']) and $results[$i]['computed1'] == 9) {echo "<td>".$results[$i]['computed'];} else echo '<td> 0,00'; echo'</td></tr>'; if (isset($results[$i]['computed1']) and $results[$i]['computed1'] == 10) {echo "<td>".$results[$i]['computed'];} else echo '<td> 0,00'; echo'</td></tr>'; if (isset($results[$i]['computed1']) and $results[$i]['computed1'] == 11) {echo "<td>".$results[$i]['computed'];} else echo '<td> 0,00'; echo'</td></tr>'; if (isset($results[$i]['computed1']) and $results[$i]['computed1'] == 12) {echo "<td>".$results[$i]['computed'];} else echo '<td> 0,00'; echo'</td></tr>';
Output for 5.4.0 - 5.4.31
Parse error: syntax error, unexpected end of file in /in/e1Xjc on line 13
Process exited with code 255.
Output for 4.4.2 - 4.4.9, 5.1.0 - 5.1.6, 5.2.0 - 5.2.17, 5.3.0 - 5.3.28
Parse error: syntax error, unexpected $end in /in/e1Xjc on line 13
Process exited with code 255.
Output for 4.3.0 - 4.3.1, 4.3.5 - 4.3.11, 4.4.0 - 4.4.1, 5.0.0 - 5.0.5
Parse error: parse error, unexpected $ in /in/e1Xjc on line 13
Process exited with code 255.
Output for 4.3.2 - 4.3.4
Parse error: parse error in /in/e1Xjc on line 13
Process exited with code 255.

preferences:
212.8 ms | 1395 KiB | 121 Q