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>';

Here you find the average performance (time & memory) of each version. A grayed out version indicates it didn't complete successfully (based on exit-code).

VersionSystem time (s)User time (s)Memory (MiB)
5.4.310.0050.03912.48
5.4.300.0070.04012.49
5.4.290.0050.04012.48
5.4.280.0070.04012.38
5.4.270.0080.03512.38
5.4.260.0100.03312.38
5.4.250.0070.03812.38
5.4.240.0070.04512.38
5.4.230.0060.04712.37
5.4.220.0090.04312.37
5.4.210.0080.03412.37
5.4.200.0080.05212.37
5.4.190.0060.03812.37
5.4.180.0070.03612.36
5.4.170.0070.03612.38
5.4.160.0050.03612.37
5.4.150.0070.04012.37
5.4.140.0040.04012.06
5.4.130.0080.03312.04
5.4.120.0090.03512.00
5.4.110.0070.03912.00
5.4.100.0070.03712.00
5.4.90.0040.03912.00
5.4.80.0020.04412.00
5.4.70.0070.03311.99
5.4.60.0070.03311.99
5.4.50.0050.03511.99
5.4.40.0110.03711.98
5.4.30.0070.03311.97
5.4.20.0070.03311.97
5.4.10.0040.03911.97
5.4.00.0080.04011.47
5.3.280.0070.03812.71
5.3.270.0040.04312.72
5.3.260.0050.04012.72
5.3.250.0070.04212.72
5.3.240.0070.04012.72
5.3.230.0090.04312.71
5.3.220.0090.03512.68
5.3.210.0060.04412.68
5.3.200.0060.04312.68
5.3.190.0080.03912.68
5.3.180.0020.04212.68
5.3.170.0070.03712.67
5.3.160.0100.03412.67
5.3.150.0040.04012.67
5.3.140.0040.04312.66
5.3.130.0090.03812.65
5.3.120.0140.04312.66
5.3.110.0050.04812.66
5.3.100.0050.04112.12
5.3.90.0050.04512.09
5.3.80.0050.03712.08
5.3.70.0060.03612.08
5.3.60.0070.03512.06
5.3.50.0050.03712.01
5.3.40.0050.03712.01
5.3.30.0080.03211.97
5.3.20.0060.03511.75
5.3.10.0050.03511.72
5.3.00.0080.03311.70
5.2.170.0060.0299.21
5.2.160.0030.0349.21
5.2.150.0020.0339.21
5.2.140.0020.0329.21
5.2.130.0020.0309.17
5.2.120.0050.0309.17
5.2.110.0080.0349.18
5.2.100.0040.0299.16
5.2.90.0090.0309.16
5.2.80.0080.0329.16
5.2.70.0030.0319.16
5.2.60.0050.0329.12
5.2.50.0090.0279.09
5.2.40.0070.0269.07
5.2.30.0060.0299.04
5.2.20.0030.0349.02
5.2.10.0030.0298.95
5.2.00.0040.0298.80
5.1.60.0050.0238.10
5.1.50.0070.0328.09
5.1.40.0080.0228.07
5.1.30.0070.0248.42
5.1.20.0040.0338.44
5.1.10.0020.0298.17
5.1.00.0020.0278.17
5.0.50.0020.0216.66
5.0.40.0030.0256.51
5.0.30.0030.0366.33
5.0.20.0030.0236.30
5.0.10.0010.0226.28
5.0.00.0040.0306.27
4.4.90.0050.0134.78
4.4.80.0050.0134.75
4.4.70.0040.0144.75
4.4.60.0030.0154.75
4.4.50.0040.0154.77
4.4.40.0020.0274.71
4.4.30.0020.0164.76
4.4.20.0040.0154.84
4.4.10.0050.0194.85
4.4.00.0000.0284.76
4.3.110.0020.0204.67
4.3.100.0070.0134.67
4.3.90.0070.0114.64
4.3.80.0020.0244.58
4.3.70.0040.0134.63
4.3.60.0030.0144.63
4.3.50.0030.0154.63
4.3.40.0030.0234.54
4.3.30.0020.0163.32
4.3.20.0020.0163.29
4.3.10.0020.0183.25
4.3.00.0070.0177.21

preferences:
140.51 ms | 1394 KiB | 7 Q