3v4l.org

run code in 300+ PHP versions simultaneously
<!DOCTYPE html <body> <?php $a=1000; $b=1200; $c=1400; echo "<table border=1 cellspacing=0 cellpading=0> <tr> <td><font color=blue>Salary of Mr. A is</td> <td>$a$</font></td></tr> <tr> <td><font color=blue>Salary of Mr. B is</td> <td>$b$</font></td></tr> <tr> <td><font color=blue>Salary of Mr. C is</td> <td>$c$</font></td></tr> </table>"; ?> </body> </html>

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.0120.00916.63
8.3.50.0110.00921.92
8.3.40.0110.00418.54
8.3.30.0070.01018.96
8.3.20.0060.01020.16
8.3.10.0110.00423.70
8.3.00.0030.00520.96
8.2.180.0090.00916.63
8.2.170.0120.00322.96
8.2.160.0100.00320.26
8.2.150.0040.00424.18
8.2.140.0090.00624.66
8.2.130.0050.00326.16
8.2.120.0080.00019.26
8.2.110.0070.00322.29
8.2.100.0110.00017.91
8.2.90.0080.00019.26
8.2.80.0040.00417.97
8.2.70.0030.00617.63
8.2.60.0040.00818.03
8.2.50.0080.00018.07
8.2.40.0040.00419.88
8.2.30.0070.00018.28
8.2.20.0030.00517.54
8.2.10.0040.00418.15
8.2.00.0000.00819.45
8.1.280.0070.00725.92
8.1.270.0000.00823.88
8.1.260.0000.00726.35
8.1.250.0050.00328.09
8.1.240.0030.00523.77
8.1.230.0040.00719.01
8.1.220.0060.00317.76
8.1.210.0080.00018.77
8.1.200.0060.00317.23
8.1.190.0000.00817.22
8.1.180.0050.00318.10
8.1.170.0080.00318.59
8.1.160.0070.00021.82
8.1.150.0040.00418.59
8.1.140.0000.00717.38
8.1.130.0040.00417.89
8.1.120.0040.00417.41
8.1.110.0040.00417.32
8.1.100.0000.00717.33
8.1.90.0030.00417.36
8.1.80.0000.00817.38
8.1.70.0030.00317.38
8.1.60.0070.00017.43
8.1.50.0000.00917.43
8.1.40.0040.00417.40
8.1.30.0030.00617.57
8.1.20.0030.00517.51
8.1.10.0040.00417.47
8.1.00.0000.00717.46
8.0.300.0000.00718.77
8.0.290.0060.00316.63
8.0.280.0040.00418.49
8.0.270.0000.00717.16
8.0.260.0030.00317.28
8.0.250.0040.00416.83
8.0.240.0000.00617.01
8.0.230.0020.00516.96
8.0.220.0000.00816.81
8.0.210.0000.00716.77
8.0.200.0030.00317.01
8.0.190.0030.00616.80
8.0.180.0000.00716.92
8.0.170.0030.00616.79
8.0.160.0030.00316.91
8.0.150.0000.00716.83
8.0.140.0080.00016.81
8.0.130.0000.00613.27
8.0.120.0000.00716.75
8.0.110.0050.00216.87
8.0.100.0000.00716.85
8.0.90.0040.00416.90
8.0.80.0060.00916.87
8.0.70.0030.00516.77
8.0.60.0030.00316.77
8.0.50.0040.00416.82
8.0.30.0100.00717.05
8.0.20.0060.01317.40
8.0.10.0070.00016.83
8.0.00.0090.00916.68
7.4.330.0050.00015.00
7.4.320.0030.00316.57
7.4.300.0030.00316.43
7.4.290.0050.00316.53
7.4.280.0040.00416.32
7.4.270.0030.00316.45
7.4.260.0000.00716.36
7.4.250.0030.00516.49
7.4.240.0030.00416.49
7.4.230.0000.00716.57
7.4.220.0070.01016.54
7.4.210.0110.00316.59
7.4.200.0050.00316.22
7.4.160.0090.00616.57
7.4.150.0130.00617.40
7.4.140.0110.00717.86
7.4.130.0050.01216.39
7.4.120.0080.01216.37
7.4.110.0090.00916.40
7.4.100.0030.01416.61
7.4.90.0030.02016.42
7.4.80.0100.01319.39
7.4.70.0110.00516.38
7.4.60.0130.00316.45
7.4.50.0050.00016.39
7.4.40.0120.00616.52
7.4.30.0030.01316.29
7.4.00.0050.01314.95
7.3.330.0060.00012.99
7.3.320.0050.00012.91
7.3.310.0030.00316.18
7.3.300.0000.00616.05
7.3.290.0110.00316.23
7.3.280.0060.01216.19
7.3.270.0180.00417.40
7.3.260.0110.00716.30
7.3.250.0080.00816.37
7.3.240.0070.01116.39
7.3.230.0100.00616.39
7.3.210.0070.01016.23
7.3.200.0070.01419.39
7.3.190.0080.00816.08
7.3.180.0000.01516.53
7.3.170.0090.01216.27
7.3.160.0110.00516.21
7.3.120.0070.00714.83
7.3.110.0070.01014.97
7.3.100.0040.01114.82
7.3.90.0090.00614.82
7.3.80.0090.00614.49
7.3.70.0040.00814.51
7.3.60.0110.00614.69
7.3.50.0090.00614.78
7.3.40.0070.01114.68
7.3.30.0040.00814.82
7.3.20.0000.01516.61
7.3.10.0160.00016.50
7.3.00.0030.01316.58
7.2.330.0120.00616.64
7.2.320.0090.01216.58
7.2.310.0080.00816.65
7.2.300.0090.00616.32
7.2.290.0160.00616.45
7.2.250.0040.01515.09
7.2.240.0100.00714.68
7.2.230.0030.01014.64
7.2.220.0060.00315.04
7.2.210.0060.01014.77
7.2.200.0000.01414.85
7.2.190.0030.00714.95
7.2.180.0030.01314.72
7.2.170.0060.00914.95
7.2.00.0100.00319.45
7.1.330.0040.01215.57
7.1.320.0040.00415.80
7.1.310.0060.00915.68
7.1.300.0060.00815.66
7.1.290.0040.01115.73
7.1.280.0000.01315.48
7.1.270.0000.01415.78
7.1.260.0060.00615.93
7.1.100.0080.00018.04
7.1.70.0080.00317.07
7.1.60.0170.00719.70
7.1.50.0040.01916.69
7.1.00.0030.07722.40
7.0.200.0090.00016.43
7.0.140.0070.07022.10
7.0.60.0030.06320.03
7.0.50.0070.03717.90
7.0.40.0070.05320.06
7.0.30.0600.06720.04
7.0.20.0230.08320.04
7.0.10.0070.04020.09
7.0.00.0030.08720.18
5.6.280.0100.06321.11
5.6.210.0130.07720.74
5.6.200.0100.07718.28
5.6.190.0070.04720.33
5.6.180.3800.04320.67
5.6.170.0230.08320.44
5.6.160.0070.09020.71
5.6.150.0030.05018.21
5.6.140.0070.07718.17
5.6.130.0000.09318.21
5.6.120.0100.08320.89
5.6.110.0100.08020.88
5.6.100.0130.08020.96
5.6.90.0070.08320.97
5.6.80.0070.07720.52
5.6.70.4370.04320.39
5.5.350.0000.08720.33
5.5.340.0070.07017.92
5.5.330.0000.04320.43
5.5.320.0300.07720.29
5.5.310.0200.03320.27
5.5.300.0100.05017.89
5.5.290.0070.04018.01
5.5.280.0100.05020.96
5.5.270.0070.08320.96
5.5.260.0030.08720.68
5.5.250.0070.08320.68
5.5.240.0300.07720.03
5.4.450.0270.06029.31
5.4.440.0300.04329.29
5.4.430.0170.05028.64
5.4.420.0230.04026.62
5.4.410.0600.04024.11
5.4.400.0270.03722.40
5.4.390.0570.03321.68
5.4.380.0170.05318.61
5.4.370.0170.04718.68
5.4.360.0200.04718.51
5.4.350.0170.05018.67
5.4.340.0200.05318.66
5.4.320.0040.03812.45
5.4.310.0020.04612.45
5.4.300.0090.03312.45
5.4.290.0080.04512.45
5.4.280.0090.03612.35
5.4.270.0060.03612.34
5.4.260.0100.03312.34
5.4.250.0060.04012.35
5.4.240.0080.03512.35
5.4.230.0040.04012.34
5.4.220.0050.03812.34
5.4.210.0080.03412.34
5.4.200.0050.03912.34
5.4.190.0070.03412.33
5.4.180.0030.03812.33
5.4.170.0070.03412.35
5.4.160.0050.03712.34
5.4.150.0130.03412.34
5.4.140.0090.04412.02
5.4.130.0070.03612.01
5.4.120.0070.03711.97
5.4.110.0080.04511.96
5.4.100.0080.03511.96
5.4.90.0040.03911.96
5.4.80.0040.03811.96
5.4.70.0040.03611.96
5.4.60.0080.03211.96
5.4.50.0040.03611.96
5.4.40.0040.03611.95
5.4.30.0090.04211.95
5.4.20.0110.04611.95
5.4.10.0080.04711.95
5.4.00.0060.03611.43
5.3.290.0080.04112.80
5.3.280.0080.03712.71
5.3.270.0080.03912.72
5.3.260.0040.04212.72
5.3.250.0040.03812.71
5.3.240.0080.03512.72
5.3.230.0060.03712.71
5.3.220.0060.03612.68
5.3.210.0100.03412.68
5.3.200.0080.03512.68
5.3.190.0060.03712.68
5.3.180.0080.04812.67
5.3.170.0080.04912.67
5.3.160.0060.03612.68
5.3.150.0050.03812.67
5.3.140.0050.03712.66
5.3.130.0080.03712.66
5.3.120.0070.03812.66
5.3.110.0050.04112.66
5.3.100.0080.03612.12
5.3.90.0060.03512.09
5.3.80.0050.04312.08
5.3.70.0080.03312.07
5.3.60.0050.03712.06
5.3.50.0060.04212.00
5.3.40.0050.03712.00
5.3.30.0060.03511.95
5.3.20.0050.03611.72
5.3.10.0060.03411.69
5.3.00.0090.03311.68
5.2.170.0030.0329.18
5.2.160.0030.0319.18
5.2.150.0050.0309.18
5.2.140.0060.0319.17
5.2.130.0030.0329.13
5.2.120.0030.0329.13
5.2.110.0070.0279.14
5.2.100.0040.0289.14
5.2.90.0050.0299.14
5.2.80.0050.0299.14
5.2.70.0070.0279.13
5.2.60.0060.0299.09
5.2.50.0050.0339.05
5.2.40.0050.0309.03
5.2.30.0040.0309.01
5.2.20.0030.0309.02
5.2.10.0040.0298.96
5.2.00.0060.0288.81
5.1.60.0080.0278.10
5.1.50.0050.0288.10
5.1.40.0030.0258.07
5.1.30.0080.0268.43
5.1.20.0040.0308.45
5.1.10.0030.0268.17
5.1.00.0050.0258.17
5.0.50.0010.0276.65
5.0.40.0040.0196.51
5.0.30.0030.0326.32
5.0.20.0060.0186.29
5.0.10.0060.0186.26
5.0.00.0030.0316.26
4.4.90.0050.0134.78
4.4.80.0030.0154.76
4.4.70.0050.0204.76
4.4.60.0030.0214.76
4.4.50.0090.0214.77
4.4.40.0080.0284.70
4.4.30.0050.0194.76
4.4.20.0080.0174.84
4.4.10.0050.0204.84
4.4.00.0010.0274.76
4.3.110.0030.0164.67
4.3.100.0040.0134.66
4.3.90.0030.0164.63
4.3.80.0040.0224.58
4.3.70.0020.0154.63
4.3.60.0020.0164.63
4.3.50.0010.0174.63
4.3.40.0020.0254.54
4.3.30.0010.0183.31
4.3.20.0020.0223.29
4.3.10.0020.0153.23
4.3.00.0030.02021.57

preferences:
40.56 ms | 401 KiB | 5 Q