3v4l.org

run code in 300+ PHP versions simultaneously
<?php echo number_format(3, 0); echo "<br/>"; echo number_format(1333.15, 2) + 0;

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.0140.00718.38
8.3.50.0070.00718.05
8.3.40.0070.00718.83
8.3.30.0100.00318.68
8.3.20.0040.00420.39
8.3.10.0080.00020.48
8.3.00.0040.00423.82
8.2.180.0100.00716.50
8.2.170.0110.00422.96
8.2.160.0130.00722.11
8.2.150.0050.00324.18
8.2.140.0070.00024.66
8.2.130.0040.00421.19
8.2.120.0070.00026.35
8.2.110.0050.00519.51
8.2.100.0040.00817.84
8.2.90.0090.00319.05
8.2.80.0050.00317.97
8.2.70.0030.00517.50
8.2.60.0060.00317.93
8.2.50.0070.00319.35
8.2.40.0000.00922.39
8.2.30.0000.00819.30
8.2.20.0040.00417.66
8.2.10.0070.00017.96
8.2.00.0050.00217.96
8.1.280.0140.00025.92
8.1.270.0040.00422.18
8.1.260.0070.00028.09
8.1.250.0000.00828.09
8.1.240.0080.00022.27
8.1.230.0040.00719.02
8.1.220.0030.00517.74
8.1.210.0050.00318.77
8.1.200.0030.00617.00
8.1.190.0050.00516.88
8.1.180.0060.00318.10
8.1.170.0030.00518.64
8.1.160.0000.00720.68
8.1.150.0000.00818.81
8.1.140.0060.00319.41
8.1.130.0030.00317.57
8.1.120.0050.00217.31
8.1.110.0000.00717.28
8.1.100.0050.00317.23
8.1.90.0040.00417.42
8.1.80.0040.00417.36
8.1.70.0030.00317.40
8.1.60.0050.00317.51
8.1.50.0000.00817.34
8.1.40.0000.00817.48
8.1.30.0080.00017.54
8.1.20.0000.00817.39
8.1.10.0080.00017.51
8.1.00.0000.00817.35
8.0.300.0040.00418.77
8.0.290.0020.00516.75
8.0.280.0040.00418.34
8.0.270.0000.00717.25
8.0.260.0000.00617.23
8.0.250.0060.00316.92
8.0.240.0000.00716.89
8.0.230.0030.00316.87
8.0.220.0000.00716.77
8.0.210.0030.00416.91
8.0.200.0000.00616.97
8.0.190.0000.00816.84
8.0.180.0000.00716.93
8.0.170.0040.00416.89
8.0.160.0000.00716.88
8.0.150.0030.00316.88
8.0.140.0040.00416.71
8.0.130.0000.00513.38
8.0.120.0030.00516.74
8.0.110.0040.00416.83
8.0.100.0000.00916.82
8.0.90.0030.00516.89
8.0.80.0090.00616.89
8.0.70.0040.00416.77
8.0.60.0000.00716.77
8.0.50.0040.00416.70
8.0.30.0120.00717.12
8.0.20.0120.00717.40
8.0.10.0070.00016.82
8.0.00.0120.00616.73
7.4.330.0000.00516.90
7.4.320.0060.00016.57
7.4.300.0000.00616.49
7.4.290.0030.00316.57
7.4.280.0000.00816.43
7.4.270.0000.00716.57
7.4.260.0000.00916.48
7.4.250.0000.00816.46
7.4.240.0080.00016.52
7.4.230.0070.00016.33
7.4.220.0130.00716.48
7.4.210.0050.01016.53
7.4.200.0030.00316.32
7.4.160.0040.01116.46
7.4.150.0060.01317.40
7.4.140.0130.01317.86
7.4.130.0090.00916.46
7.4.120.0080.00916.49
7.4.110.0070.01016.49
7.4.100.0080.00816.49
7.4.90.0100.00716.55
7.4.80.0210.00019.39
7.4.70.0030.01416.26
7.4.60.0040.01516.43
7.4.50.0030.01416.28
7.4.40.0070.01116.44
7.4.30.0160.00316.60
7.4.00.0070.00714.76
7.3.330.0050.00013.18
7.3.320.0020.00213.21
7.3.310.0020.00516.16
7.3.300.0040.00416.30
7.3.290.0030.00316.27
7.3.280.0110.00616.26
7.3.270.0120.00617.40
7.3.260.0120.00416.26
7.3.250.0100.00916.35
7.3.240.0080.00916.41
7.3.230.0060.01216.45
7.3.210.0100.00616.36
7.3.200.0110.00516.25
7.3.190.0040.01216.41
7.3.180.0030.01316.31
7.3.170.0080.00816.31
7.3.160.0070.01016.64
7.2.330.0060.01216.53
7.2.320.0100.00716.73
7.2.310.0070.01016.66
7.2.300.0120.00616.50
7.2.290.0060.01116.44
7.2.60.0090.00616.95
7.2.00.0000.01419.29
7.1.200.0070.00715.49
7.1.100.0060.00917.95
7.1.70.0050.00517.10
7.1.60.0060.01919.19
7.1.50.0070.01416.73
7.1.00.0070.07322.31
7.0.200.0460.01214.32
7.0.60.0170.06021.61
7.0.50.0070.08017.77
7.0.40.0030.04720.30
7.0.30.0230.08020.21
7.0.20.0270.05320.12
7.0.10.0070.07320.30
7.0.00.0130.04020.00
5.6.280.0030.05720.86
5.6.210.0130.07720.59
5.6.200.0170.07318.24
5.6.190.0000.05020.33
5.6.180.0330.07320.56
5.6.170.0070.05020.50
5.6.160.0070.03720.50
5.6.150.0030.08318.18
5.6.140.0070.07318.22
5.6.130.0100.08318.14
5.6.120.0030.05021.01
5.6.110.0030.09021.11
5.6.100.0100.08720.96
5.6.90.0070.05720.99
5.6.80.0130.07020.38
5.5.350.0230.07020.39
5.5.340.0030.03718.00
5.5.330.0170.05720.36
5.5.320.0630.06020.19
5.5.310.0230.05320.34
5.5.300.0070.07317.93
5.5.290.0030.04717.89
5.5.280.0200.04320.89
5.5.270.0000.04320.86
5.5.260.0100.08320.60
5.5.250.0130.07720.79
5.5.240.0030.07720.15

preferences:
54.29 ms | 401 KiB | 5 Q