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>'; //ECHO '<tr BGCOLOR="#F0E4CE"><td>'; echo $results[$i]['computed'].'</td>'; //print_r($results[$i]); $i++; } echo'</TABLE>' ////////////////////////////////////// ?>

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)
8.3.60.0110.00416.85
8.3.50.0230.00422.11
8.3.40.0070.01119.00
8.3.30.0040.01119.22
8.3.20.0030.00520.22
8.3.10.0000.00821.71
8.3.00.0040.00417.93
8.2.180.0140.00718.54
8.2.170.0070.00722.96
8.2.160.0100.00320.35
8.2.150.0080.00024.18
8.2.140.0040.00424.66
8.2.130.0070.00026.16
8.2.120.0040.00421.09
8.2.110.0030.00622.15
8.2.100.0000.01121.13
8.2.90.0000.00919.21
8.2.80.0000.00917.97
8.2.70.0050.00317.50
8.2.60.0100.00017.80
8.2.50.0060.00318.07
8.2.40.0040.00418.22
8.2.30.0070.00017.98
8.2.20.0020.00517.79
8.2.10.0000.00818.10
8.2.00.0040.00417.70
8.1.280.0100.01025.92
8.1.270.0000.00823.96
8.1.260.0070.00026.35
8.1.250.0050.00228.09
8.1.240.0040.00423.77
8.1.230.0070.00319.25
8.1.220.0050.00317.76
8.1.210.0090.00018.77
8.1.200.0000.00817.23
8.1.190.0030.00517.25
8.1.180.0000.00818.10
8.1.170.0050.00318.55
8.1.160.0040.00421.98
8.1.150.0080.00018.88
8.1.140.0080.00017.55
8.1.130.0030.00317.91
8.1.120.0070.00017.52
8.1.110.0040.00417.52
8.1.100.0030.00317.34
8.1.90.0030.00317.47
8.1.80.0000.00717.45
8.1.70.0000.00717.31
8.1.60.0060.00317.58
8.1.50.0000.00817.46
8.1.40.0030.00617.45
8.1.30.0030.00617.55
8.1.20.0030.00517.52
8.1.10.0040.00417.52
8.1.00.0000.00717.45
8.0.300.0040.00418.77
8.0.290.0050.00316.63
8.0.280.0000.00718.46
8.0.270.0000.00717.18
8.0.260.0030.00317.22
8.0.250.0050.00317.00
8.0.240.0030.00517.00
8.0.230.0030.00516.89
8.0.220.0000.00716.97
8.0.210.0000.00716.88
8.0.200.0030.00317.00
8.0.190.0040.00416.92
8.0.180.0070.00016.97
8.0.170.0000.00716.93
8.0.160.0040.00416.94
8.0.150.0060.00316.77
8.0.140.0080.00016.90
8.0.130.0030.00313.31
8.0.120.0000.00816.92
8.0.110.0050.00216.86
8.0.100.0040.00416.72
8.0.90.0030.00316.79
8.0.80.0120.00316.95
8.0.70.0040.00416.81
8.0.60.0040.00417.00
8.0.50.0050.00316.91
8.0.30.0170.00316.91
8.0.20.0090.00917.40
8.0.10.0030.00516.94
8.0.00.0050.01216.68
7.4.330.0050.00015.02
7.4.320.0000.00616.55
7.4.300.0030.00316.53
7.4.290.0000.00716.62
7.4.280.0040.00316.39
7.4.270.0000.00716.59
7.4.260.0070.00016.46
7.4.250.0000.00916.52
7.4.240.0000.00716.48
7.4.230.0040.00416.29
7.4.220.0130.01316.35
7.4.210.0030.01216.29
7.4.200.0040.00316.54
7.4.160.0060.00916.51
7.4.150.0090.01217.40
7.4.140.0090.00817.86
7.4.130.0070.01016.45
7.4.120.0120.00616.51
7.4.110.0060.01116.55
7.4.100.0120.00916.66
7.4.90.0120.00616.26
7.4.80.0210.00319.39
7.4.70.0100.01216.67
7.4.60.0090.00916.40
7.4.50.0020.00216.39
7.4.40.0000.01716.49
7.4.30.0140.00316.11
7.4.00.0030.01014.95
7.3.330.0000.00513.09
7.3.320.0050.00013.16
7.3.310.0070.00016.09
7.3.300.0000.00716.28
7.3.290.0130.00016.28
7.3.280.0070.01016.34
7.3.270.0130.00417.40
7.3.260.0120.01216.36
7.3.250.0100.00916.47
7.3.240.0090.00916.27
7.3.230.0130.00316.39
7.3.210.0040.01416.38
7.3.200.0060.00919.39
7.3.190.0120.00416.26
7.3.180.0070.01016.36
7.3.170.0080.00816.36
7.3.160.0060.00916.38
7.3.120.0060.00915.00
7.3.110.0060.00914.80
7.3.100.0000.01314.77
7.3.90.0080.00814.86
7.3.80.0030.00714.80
7.3.70.0000.01014.64
7.3.60.0030.01314.53
7.3.50.0070.00714.46
7.3.40.0030.01214.41
7.3.30.0060.01014.78
7.3.20.0000.01716.46
7.3.10.0060.00816.13
7.3.00.0070.00716.06
7.2.330.0060.01216.57
7.2.320.0110.01416.60
7.2.310.0090.01216.54
7.2.300.0100.00716.41
7.2.290.0030.01216.38
7.2.240.0100.00714.69
7.2.230.0110.00314.92
7.2.220.0070.00314.84
7.2.210.0000.01314.89
7.2.200.0070.01114.84
7.2.190.0100.00714.82
7.2.180.0030.01414.77
7.2.170.0090.00915.03
7.2.160.0060.01014.65
7.2.150.0030.01416.56
7.2.140.0140.00316.79
7.2.130.0180.00516.68
7.2.120.0100.00816.58
7.2.110.0120.00616.48
7.2.100.0100.00916.48
7.2.90.0200.00116.71
7.2.80.0110.00916.44
7.2.70.0050.01116.60
7.2.60.0100.00616.70
7.2.50.0090.01116.67
7.2.40.0080.01116.60
7.2.30.0100.00916.72
7.2.20.0120.00716.43
7.2.10.0080.01116.45
7.2.00.0080.00817.57
7.1.330.0030.01015.77
7.1.320.0060.00615.82
7.1.310.0030.00515.64
7.1.300.0090.00615.62
7.1.290.0070.01015.58
7.1.280.0090.00615.60
7.1.270.0040.00415.66
7.1.260.0100.00315.83
7.1.250.0130.00415.31
7.1.200.0060.00315.85
7.1.100.0350.00717.41
7.1.70.0040.00417.05
7.1.60.0140.00719.25
7.1.50.0150.00716.61
7.1.00.0030.07322.43
7.0.200.0060.00316.75
7.0.140.0100.06721.95
7.0.60.0030.05319.96
7.0.50.0030.05317.86
7.0.40.0070.08020.14
7.0.30.0530.07720.09
7.0.20.0230.05720.18
7.0.10.0100.07020.12
7.0.00.0030.04320.20
5.6.280.0000.07720.79
5.6.210.0070.08020.48
5.6.200.0200.07318.16
5.6.190.0030.05020.45
5.6.180.4170.04020.35
5.6.170.0330.07720.71
5.6.160.0130.07320.49
5.6.150.0070.07718.17
5.6.140.0100.08018.11
5.6.130.0030.06318.11
5.6.120.0130.06321.01
5.6.110.0100.08020.95
5.6.100.0000.04721.14
5.6.90.0030.04021.00
5.6.80.0070.05020.43
5.6.70.0370.06720.36
5.5.350.0070.08320.46
5.5.340.0100.06317.91
5.5.330.0070.08320.57
5.5.320.0400.07020.29
5.5.310.0070.05020.20
5.5.300.0130.07317.90
5.5.290.0070.07717.98
5.5.280.0170.07720.85
5.5.270.0170.07320.64
5.5.260.0000.09020.89
5.5.250.0100.08020.79
5.5.240.0030.08020.36
5.4.450.0830.06019.41
5.4.440.0930.05319.25
5.4.430.0970.05019.16
5.4.420.0800.05319.31
5.4.410.0730.05719.41
5.4.400.0730.05018.97
5.4.390.0730.06019.29
5.4.380.0130.05718.52
5.4.370.0300.05718.68
5.4.360.0430.05718.45
5.4.350.0050.03811.99
5.4.340.0080.03511.99
5.4.320.0050.03812.47
5.4.310.0040.03912.47
5.4.300.0060.03612.47
5.4.290.0060.04412.46
5.4.280.0060.04012.37
5.4.270.0090.03312.36
5.4.260.0040.03912.36
5.4.250.0080.03612.36
5.4.240.0070.03512.36
5.4.230.0040.03912.36
5.4.220.0070.03612.36
5.4.210.0070.03612.36
5.4.200.0070.03812.36
5.4.190.0080.03412.35
5.4.180.0060.03612.36
5.4.170.0060.03612.36
5.4.160.0050.03912.36
5.4.150.0040.03912.36
5.4.140.0060.03712.04
5.4.130.0090.03712.03
5.4.120.0030.04011.98
5.4.110.0040.03711.98
5.4.100.0070.03511.98
5.4.90.0090.03911.98
5.4.80.0050.03811.98
5.4.70.0090.03711.98
5.4.60.0110.03511.98
5.4.50.0090.03311.98
5.4.40.0050.04111.96
5.4.30.0080.03711.96
5.4.20.0080.03811.96
5.4.10.0080.03811.96
5.4.00.0040.04311.46
5.3.290.0070.04312.80
5.3.280.0020.04112.71
5.3.270.0040.04012.72
5.3.260.0060.03812.72
5.3.250.0070.04812.72
5.3.240.0100.04112.71
5.3.230.0060.03912.70
5.3.220.0030.04112.68
5.3.210.0070.03612.68
5.3.200.0040.03712.68
5.3.190.0050.04512.68
5.3.180.0060.03712.67
5.3.170.0060.03812.67
5.3.160.0110.03012.67
5.3.150.0050.03812.67
5.3.140.0110.03212.66
5.3.130.0090.03512.66
5.3.120.0080.04412.66
5.3.110.0080.04012.66
5.3.100.0090.03412.12
5.3.90.0060.03612.09
5.3.80.0080.03712.07
5.3.70.0060.03812.07
5.3.60.0050.03712.07
5.3.50.0080.03312.01
5.3.40.0060.03612.01
5.3.30.0050.04011.97
5.3.20.0050.03911.76
5.3.10.0060.03511.71
5.3.00.0050.03711.70
5.2.170.0060.0319.21
5.2.160.0040.0319.21
5.2.150.0030.0359.21
5.2.140.0030.0349.20
5.2.130.0060.0279.16
5.2.120.0040.0359.17
5.2.110.0050.0329.18
5.2.100.0040.0299.17
5.2.90.0040.0309.16
5.2.80.0060.0299.16
5.2.70.0030.0329.16
5.2.60.0030.0319.11
5.2.50.0020.0329.09
5.2.40.0040.0299.06
5.2.30.0070.0279.04
5.2.20.0070.0259.02
5.2.10.0010.0318.95
5.2.00.0070.0268.80
5.1.60.0050.0228.09
5.1.50.0050.0248.09
5.1.40.0050.0248.07
5.1.30.0020.0288.41
5.1.20.0050.0268.44
5.1.10.0040.0268.16
5.1.00.0030.0278.16
5.0.50.0030.0266.64
5.0.40.0040.0186.51
5.0.30.0030.0316.32
5.0.20.0040.0196.29
5.0.10.0060.0176.27
5.0.00.0050.0296.26
4.4.90.0010.0184.78
4.4.80.0050.0134.75
4.4.70.0030.0154.75
4.4.60.0030.0154.76
4.4.50.0040.0144.77
4.4.40.0020.0274.71
4.4.30.0080.0164.76
4.4.20.0030.0154.84
4.4.10.0050.0174.85
4.4.00.0050.0244.76
4.3.110.0030.0154.67
4.3.100.0010.0174.66
4.3.90.0020.0164.63
4.3.80.0040.0234.58
4.3.70.0030.0204.63
4.3.60.0040.0194.63
4.3.50.0020.0214.63
4.3.40.0030.0274.54
4.3.30.0020.0223.32
4.3.20.0040.0193.30
4.3.10.0020.0153.26
4.3.00.0130.0238.44

preferences:
64.45 ms | 401 KiB | 5 Q