3v4l.org

run code in 300+ PHP versions simultaneously
<?php register_shutdown_function(function () { $error = error_get_last(); var_dump($error); }); foo();

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.0090.00618.68
8.3.50.0140.00521.27
8.3.40.0120.00318.70
8.3.30.0120.00318.89
8.3.20.0040.00420.35
8.3.10.0040.00421.73
8.3.00.0040.00423.70
8.2.180.0060.00916.75
8.2.170.0110.00422.96
8.2.160.0090.00920.29
8.2.150.0000.00824.18
8.2.140.0080.00024.66
8.2.130.0080.00019.89
8.2.120.0070.00026.35
8.2.110.0040.00721.04
8.2.100.0040.00817.80
8.2.90.0000.00819.04
8.2.80.0040.00418.05
8.2.70.0060.00317.63
8.2.60.0030.00618.04
8.2.50.0040.00418.07
8.2.40.0000.00822.32
8.2.30.0040.00419.36
8.2.20.0040.00417.62
8.2.10.0040.00418.14
8.2.00.0040.00418.10
8.1.280.0000.01425.92
8.1.270.0070.01123.66
8.1.260.0040.00428.09
8.1.250.0050.00328.09
8.1.240.0100.00020.55
8.1.230.0100.00019.15
8.1.220.0090.00017.74
8.1.210.0050.00318.77
8.1.200.0060.00317.48
8.1.190.0030.00517.35
8.1.180.0000.00718.10
8.1.170.0000.00818.40
8.1.160.0030.00620.75
8.1.150.0030.00518.90
8.1.140.0000.00819.55
8.1.130.0030.00317.64
8.1.120.0000.00717.46
8.1.110.0040.00417.50
8.1.100.0000.00817.44
8.1.90.0050.00317.48
8.1.80.0000.00817.42
8.1.70.0030.00317.38
8.1.60.0000.00917.55
8.1.50.0000.00917.47
8.1.40.0050.00317.53
8.1.30.0040.00417.55
8.1.20.0000.00817.56
8.1.10.0050.00217.60
8.1.00.0040.00417.41
8.0.300.0030.00618.77
8.0.290.0070.00016.84
8.0.280.0070.00018.48
8.0.270.0040.00417.17
8.0.260.0000.00617.17
8.0.250.0000.00716.83
8.0.240.0030.00316.99
8.0.230.0000.00716.85
8.0.220.0000.00816.89
8.0.210.0000.00816.86
8.0.200.0030.00316.93
8.0.190.0000.00816.96
8.0.180.0040.00417.02
8.0.170.0030.00516.87
8.0.160.0030.00316.90
8.0.150.0040.00416.94
8.0.140.0030.00316.87
8.0.130.0050.00013.36
8.0.120.0000.00816.90
8.0.110.0050.00316.98
8.0.100.0070.00016.92
8.0.90.0000.00816.76
8.0.80.0060.00916.89
8.0.70.0000.00816.84
8.0.60.0050.00316.77
8.0.50.0030.00416.79
8.0.30.0110.00717.24
8.0.20.0150.00517.40
8.0.10.0030.00517.02
8.0.00.0130.00416.89
7.4.330.0000.00616.80
7.4.320.0040.00416.54
7.4.300.0000.00716.47
7.4.290.0040.00416.61
7.4.280.0070.00416.48
7.4.270.0030.00316.56
7.4.260.0040.00416.47
7.4.250.0070.00016.38
7.4.240.0020.00616.51
7.4.230.0030.00316.40
7.4.220.0060.01016.50
7.4.210.0090.00516.53
7.4.200.0070.00016.53
7.4.160.0060.01016.67
7.4.150.0100.00717.40
7.4.140.0130.00717.86
7.4.130.0100.01016.54
7.4.120.0060.01216.46
7.4.110.0000.01816.71
7.4.100.0130.01016.42
7.4.90.0170.00016.23
7.4.80.0100.01619.39
7.4.70.0130.00416.45
7.4.60.0080.00816.60
7.4.50.0000.01216.38
7.4.40.0120.00316.61
7.4.30.0150.00316.77
7.4.00.0100.00615.02
7.3.330.0000.00613.32
7.3.320.0050.00213.11
7.3.310.0050.00316.29
7.3.300.0000.00716.26
7.3.290.0060.01116.25
7.3.280.0090.00716.28
7.3.270.0140.00417.40
7.3.260.0140.00416.31
7.3.250.0130.00816.43
7.3.240.0150.00316.29
7.3.230.0150.00316.56
7.3.210.0070.01516.36
7.3.200.0000.01719.39
7.3.190.0110.00716.45
7.3.180.0060.00916.39
7.3.170.0040.01216.38
7.3.160.0090.00616.52
7.2.330.0000.01816.56
7.2.320.0070.01116.36
7.2.310.0150.00416.68
7.2.300.0100.01016.72
7.2.290.0090.00816.47
7.2.60.0000.01217.03
7.2.00.0070.00719.03
7.1.200.0070.00715.77
7.1.100.0100.00018.09
7.1.70.0030.00717.27
7.1.60.0110.01419.30
7.1.50.0060.00617.05
7.1.00.0030.07722.41
7.0.200.0030.00616.73
7.0.60.0200.08321.81
7.0.50.0130.06717.85
7.0.40.0070.04320.15
7.0.30.0170.05020.09
7.0.20.0330.07720.19
7.0.10.0100.08720.19
7.0.00.0000.05320.24
5.6.280.0000.03321.05
5.6.210.0030.05020.48
5.6.200.0070.07318.20
5.6.190.0100.08020.42
5.6.180.0500.07020.55
5.6.170.0300.04320.52
5.6.160.0070.08020.45
5.6.150.0130.07318.29
5.6.140.0070.05318.12
5.6.130.0100.06318.18
5.6.120.0030.07720.90
5.6.110.0170.07721.05
5.6.100.0130.05720.98
5.6.90.0030.04021.10
5.6.80.0030.07320.59
5.5.350.0170.05320.32
5.5.340.0170.07317.98
5.5.330.0100.07720.27
5.5.320.0300.03320.34
5.5.310.0170.04720.32
5.5.300.0100.05317.95
5.5.290.0070.08017.94
5.5.280.0100.08020.88
5.5.270.0070.05320.64
5.5.260.0070.05720.76
5.5.250.0030.08720.69
5.5.240.0300.06720.35

preferences:
73.94 ms | 401 KiB | 5 Q