3v4l.org

run code in 300+ PHP versions simultaneously
<?php namespace Foo; set_error_handler(function () { throw new \Exception(); }); call_user_func(function (array &$ref) {}, []);

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.0150.00016.50
8.3.50.0130.00821.21
8.3.40.0130.01018.84
8.3.30.0140.00018.47
8.3.20.0000.00720.21
8.3.10.0050.00221.57
8.3.00.0040.00419.26
8.2.180.0080.00616.38
8.2.170.0140.00022.96
8.2.160.0050.00819.33
8.2.150.0070.00724.18
8.2.140.0040.00424.66
8.2.130.0050.00220.43
8.2.120.0070.00026.35
8.2.110.0060.00320.54
8.2.100.0040.00817.72
8.2.90.0070.00017.97
8.2.80.0040.00420.56
8.2.70.0040.00417.50
8.2.60.0000.00817.63
8.2.50.0040.00417.63
8.2.40.0000.00819.35
8.2.30.0040.00419.16
8.2.20.0000.00718.16
8.2.10.0080.00018.25
8.2.00.0070.00018.29
8.1.280.0100.01025.92
8.1.270.0040.00423.97
8.1.260.0070.00028.09
8.1.250.0000.00828.09
8.1.240.0060.00322.47
8.1.230.0040.00720.84
8.1.220.0000.00817.74
8.1.210.0070.00418.77
8.1.200.0030.00517.23
8.1.190.0080.00017.10
8.1.180.0050.00318.10
8.1.170.0070.00017.76
8.1.160.0000.00718.88
8.1.150.0040.00420.10
8.1.140.0070.00019.39
8.1.130.0040.00418.95
8.1.120.0030.00717.31
8.1.110.0040.00417.38
8.1.100.0080.00017.29
8.1.90.0070.00017.29
8.1.80.0000.00717.32
8.1.70.0000.00717.39
8.1.60.0000.00817.51
8.1.50.0040.00417.50
8.1.40.0040.00417.39
8.1.30.0040.00417.57
8.1.20.0080.00017.49
8.1.10.0030.00517.43
8.1.00.0040.00417.45
8.0.300.0000.00920.09
8.0.290.0040.00416.75
8.0.280.0030.00318.41
8.0.270.0030.00317.06
8.0.260.0040.00418.93
8.0.250.0030.00316.88
8.0.240.0040.00416.99
8.0.230.0030.00616.93
8.0.220.0040.00416.80
8.0.210.0000.00816.82
8.0.200.0070.00017.07
8.0.190.0000.00716.89
8.0.180.0030.00316.95
8.0.170.0060.00316.95
8.0.160.0000.00816.91
8.0.150.0040.00416.90
8.0.140.0070.00016.89
8.0.130.0000.00613.33
8.0.120.0070.00016.78
8.0.110.0070.00017.00
8.0.100.0040.00416.74
8.0.90.0000.00816.83
8.0.80.0140.00316.95
8.0.70.0050.00216.97
8.0.60.0040.00417.05
8.0.50.0000.00716.81
8.0.30.0130.00517.08
8.0.20.0120.00917.40
8.0.10.0040.00416.98
8.0.00.0100.01316.57
7.4.330.0060.00015.55
7.4.320.0000.00616.51
7.4.300.0000.00616.48
7.4.290.0080.00016.44
7.4.280.0040.00416.44
7.4.270.0090.00016.49
7.4.260.0030.00316.56
7.4.250.0000.00716.29
7.4.240.0040.00316.45
7.4.230.0030.00316.34
7.4.220.0040.01316.60
7.4.210.0140.01016.52
7.4.200.0000.00716.32
7.4.160.0110.00516.46
7.4.150.0070.01017.40
7.4.140.0160.00717.86
7.4.130.0090.01216.49
7.4.120.0100.01116.52
7.4.110.0170.01016.77
7.4.100.0100.00716.42
7.4.90.0150.00916.38
7.4.80.0100.01319.39
7.4.70.0040.01216.66
7.4.60.0070.01016.59
7.4.50.0060.00616.60
7.4.40.0080.00816.56
7.4.30.0130.00316.61
7.3.330.0030.00313.25
7.3.320.0030.00313.26
7.3.310.0070.00016.29
7.3.300.0060.00016.17
7.3.290.0070.00016.34
7.3.280.0080.01016.29
7.3.270.0090.00917.40
7.3.260.0050.01316.32
7.3.240.0060.01216.29
7.3.230.0140.00516.38
7.3.210.0120.01016.40
7.3.200.0100.00716.53
7.3.190.0130.00716.43
7.3.180.0120.01116.50
7.3.170.0110.01116.43
7.3.160.0070.00816.51
7.2.330.0140.00616.62
7.2.320.0190.00316.61
7.2.310.0130.00316.56
7.2.300.0060.01116.53
7.2.290.0060.01116.57
7.1.40.0670.01732.54
7.1.30.0870.01032.46
7.1.20.1132.34332.70
7.1.10.0672.41714.46
7.1.00.0872.40014.54
7.0.180.0700.00714.25
7.0.170.0670.01014.07
7.0.160.0770.01014.26
7.0.150.0730.00314.50
7.0.140.1400.01014.55
7.0.130.0930.00714.45
7.0.120.0630.00714.54
7.0.110.0570.01314.30
7.0.100.0830.01014.49
7.0.90.1000.01014.28
7.0.80.0600.01014.34
7.0.70.0770.00714.35
7.0.60.0730.01714.20
7.0.50.1030.01014.34
7.0.40.0670.01014.45
7.0.30.0730.01014.38
7.0.20.1030.01014.29
7.0.10.1000.01714.39
7.0.00.0830.01314.15

preferences:
56.2 ms | 401 KiB | 5 Q