3v4l.org

run code in 300+ PHP versions simultaneously
<?php var_dump(0/0); // When Warning is ignored the type juggling changed var_dump(number_format(120 / 0 * 100, 2));

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.70.0110.00416.63
8.3.60.0120.00316.50
8.3.50.0110.00921.08
8.3.40.0150.00018.77
8.3.30.0080.00618.80
8.3.20.0040.00420.21
8.3.10.0040.00421.72
8.3.00.0040.00419.46
8.2.190.0000.01416.63
8.2.180.0120.00916.88
8.2.170.0070.00722.96
8.2.160.0100.00320.43
8.2.150.0040.00424.18
8.2.140.0040.00424.66
8.2.130.0000.00826.16
8.2.120.0060.00317.50
8.2.110.0030.00622.12
8.2.100.0130.00017.63
8.2.90.0080.00019.09
8.2.80.0000.00817.97
8.2.70.0050.00517.63
8.2.60.0060.00317.93
8.2.50.0030.00618.07
8.2.40.0000.00819.35
8.2.30.0000.00819.90
8.2.20.0000.00717.71
8.2.10.0070.00017.98
8.2.00.0000.00817.97
8.1.280.0070.00725.92
8.1.270.0060.00320.02
8.1.260.0070.00026.35
8.1.250.0000.00728.09
8.1.240.0090.00022.42
8.1.230.0090.00317.42
8.1.220.0040.00417.76
8.1.210.0000.00818.77
8.1.200.0060.00317.23
8.1.190.0060.00317.00
8.1.180.0050.00518.10
8.1.170.0000.00818.65
8.1.160.0040.00421.94
8.1.150.0040.00418.67
8.1.140.0000.00917.36
8.1.130.0030.00317.61
8.1.120.0030.00317.27
8.1.110.0030.00317.19
8.1.100.0000.00717.30
8.1.90.0000.00717.26
8.1.80.0030.00517.21
8.1.70.0050.00517.21
8.1.60.0090.00017.47
8.1.50.0030.00617.35
8.1.40.0040.00417.44
8.1.30.0000.00817.59
8.1.20.0060.00317.60
8.1.10.0000.00717.52
8.1.00.0000.00717.39
8.0.300.0040.00418.77
8.0.290.0040.00416.75
8.0.280.0030.00318.42
8.0.270.0030.00317.21
8.0.260.0000.00617.09
8.0.250.0000.00716.82
8.0.240.0000.00616.82
8.0.230.0040.00416.98
8.0.220.0030.00516.80
8.0.210.0070.00016.88
8.0.200.0000.00616.82
8.0.190.0040.00416.94
8.0.180.0040.00416.80
8.0.170.0060.00316.89
8.0.160.0000.00716.83
8.0.150.0030.00316.78
8.0.140.0000.00716.86
8.0.130.0030.00313.36
8.0.120.0040.00416.83
8.0.110.0040.00416.82
8.0.100.0040.00416.77
8.0.90.0040.00416.93
8.0.80.0140.00316.88
8.0.70.0070.00016.68
8.0.60.0020.00516.70
8.0.50.0020.00516.71
8.0.30.0070.01217.10
8.0.20.0110.00717.40
8.0.10.0000.00716.75
8.0.00.0090.01016.53
7.4.330.0030.00215.08
7.4.320.0040.00416.47
7.4.300.0000.00616.35
7.4.290.0040.00416.22
7.4.280.0030.00616.45
7.4.270.0030.00316.36
7.4.260.0060.00016.44
7.4.250.0040.00416.43
7.4.240.0040.00316.41
7.4.230.0030.00316.51
7.4.220.0080.00816.30
7.4.210.0150.00616.46
7.4.200.0000.00816.21
7.4.160.0060.00916.34
7.4.150.0060.01117.40
7.4.140.0080.00817.86
7.4.130.0120.00716.39
7.4.120.0130.00616.35
7.4.110.0060.01016.65
7.4.100.0070.01116.29
7.4.90.0070.01016.49
7.4.80.0070.01419.39
7.4.70.0090.00916.50
7.4.60.0100.00616.31
7.4.50.0040.00416.45
7.4.40.0140.00316.49
7.4.30.0160.00516.47
7.4.00.0140.00314.82
7.3.330.0050.00013.23
7.3.320.0030.00313.02
7.3.310.0070.00016.14
7.3.300.0000.00716.23
7.3.290.0070.01016.24
7.3.280.0070.00916.25
7.3.270.0100.00717.40
7.3.260.0120.00616.49
7.3.250.0120.00716.28
7.3.240.0110.00916.22
7.3.230.0110.01116.41
7.3.210.0100.00916.25
7.3.200.0130.00316.25
7.3.190.0000.01516.34
7.3.180.0060.01216.15
7.3.170.0070.01416.30
7.3.160.0140.00316.29
7.2.330.0110.00816.39
7.2.320.0100.01016.57
7.2.310.0070.01016.55
7.2.300.0090.00616.23
7.2.290.0100.01316.29
7.2.80.0150.00316.48
7.2.60.0050.00816.62
7.2.00.0030.00919.36
7.1.200.0060.00615.75
7.1.100.0030.00618.30
7.1.70.0050.00217.14
7.1.60.0100.01420.03
7.1.50.0070.01016.93
7.1.00.0030.07722.51
7.0.200.0180.00314.66
7.0.60.0030.04019.88
7.0.50.0070.07717.87
7.0.40.0130.08020.12
7.0.30.0270.06720.17
7.0.20.0330.07720.16
7.0.10.0330.06320.18
7.0.00.0100.07020.16
5.6.280.0030.07021.04
5.6.210.0130.08020.72
5.6.200.0200.06718.34
5.6.190.0100.08720.54
5.6.180.0000.04320.55
5.6.170.0300.07720.59
5.6.160.0100.05020.63
5.6.150.0000.05318.41
5.6.140.0100.05018.23
5.6.130.0130.06318.42
5.6.120.0130.07321.20
5.6.110.0130.08021.18
5.6.100.0100.08321.25
5.6.90.0100.07321.16
5.6.80.0030.04720.63
5.6.70.4300.04720.59
5.5.350.0100.06720.48
5.5.340.0100.04018.20
5.5.330.0000.09020.53
5.5.320.0270.04020.32
5.5.310.0230.08020.43
5.5.300.0100.04718.14
5.5.290.0170.07018.06
5.5.280.0100.08020.86
5.5.270.0000.04321.02
5.5.260.0000.07321.03
5.5.250.0030.08020.71
5.5.240.0200.06720.41
5.4.450.0900.05319.70
5.4.440.0770.05719.22
5.4.430.0800.04719.72
5.4.420.0770.05019.39
5.4.410.0300.05719.55
5.4.400.0470.05319.20
5.4.390.0670.06018.93
5.4.380.0570.05719.26
5.4.370.0670.05319.50
5.4.360.0670.05319.27
5.4.350.0200.05719.26
5.4.340.0100.05719.07
5.4.320.0670.05719.35
5.4.310.0670.05018.89
5.4.300.0700.05319.04
5.4.290.0070.05719.38
5.4.280.0130.05018.92
5.4.270.0700.05019.03
5.4.260.0700.05719.19
5.4.250.0700.05019.19
5.4.240.0930.04019.34
5.4.230.0800.06019.23
5.4.220.0770.05719.39
5.4.210.0730.06019.40
5.4.200.0630.06019.48
5.4.190.0930.04318.91
5.4.180.0570.06019.49
5.4.170.0770.04719.06
5.4.160.0800.05019.35
5.4.150.0800.05719.35
5.4.140.0930.06716.48
5.4.130.0800.04716.52
5.4.120.1070.06316.63
5.4.110.0870.05316.62
5.4.100.0400.05316.69
5.4.90.0200.05716.61
5.4.80.0730.05716.68
5.4.70.0070.06716.48
5.4.60.0000.07716.64
5.4.50.0030.04016.59
5.4.40.0000.04016.50
5.4.30.0170.03716.43
5.4.20.0370.06316.61
5.4.10.0030.06716.52

preferences:
58.12 ms | 401 KiB | 5 Q