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) {}, 'not_an_array_variable');

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.0080.00816.48
8.3.50.0100.01016.61
8.3.40.0110.00418.83
8.3.30.0060.00918.79
8.3.20.0050.00220.24
8.3.10.0050.00321.95
8.3.00.0050.00319.26
8.2.180.0090.00918.42
8.2.170.0030.01222.96
8.2.160.0110.00419.37
8.2.150.0100.00324.18
8.2.140.0080.00024.66
8.2.130.0040.00420.52
8.2.120.0040.00426.35
8.2.110.0050.00520.89
8.2.100.0080.00318.09
8.2.90.0040.00419.29
8.2.80.0040.00418.03
8.2.70.0040.00417.50
8.2.60.0070.00017.80
8.2.50.0040.00718.10
8.2.40.0050.00322.31
8.2.30.0040.00419.32
8.2.20.0040.00417.95
8.2.10.0050.00318.17
8.2.00.0070.00018.23
8.1.280.0120.00625.92
8.1.270.0080.00023.80
8.1.260.0000.00728.09
8.1.250.0000.00928.09
8.1.240.0030.00723.84
8.1.230.0100.00019.00
8.1.220.0030.00517.74
8.1.210.0030.00518.77
8.1.200.0030.00617.35
8.1.190.0080.00017.22
8.1.180.0000.00818.10
8.1.170.0030.00718.52
8.1.160.0050.00318.71
8.1.150.0000.00720.16
8.1.140.0000.00719.53
8.1.130.0040.00419.10
8.1.120.0050.00317.38
8.1.110.0060.00317.40
8.1.100.0030.00517.43
8.1.90.0040.00417.32
8.1.80.0040.00417.45
8.1.70.0000.00717.42
8.1.60.0050.00317.54
8.1.50.0030.00617.40
8.1.40.0000.00817.52
8.1.30.0030.00617.64
8.1.20.0000.00717.64
8.1.10.0050.00317.49
8.1.00.0040.00417.51
8.0.300.0070.00018.77
8.0.290.0000.00716.63
8.0.280.0050.00318.29
8.0.270.0000.00717.21
8.0.260.0080.00319.02
8.0.250.0030.00316.95
8.0.240.0040.00416.97
8.0.230.0060.00316.93
8.0.220.0050.00316.77
8.0.210.0030.00316.94
8.0.200.0030.00316.96
8.0.190.0000.01117.07
8.0.180.0000.00716.88
8.0.170.0090.00016.99
8.0.160.0030.00316.86
8.0.150.0050.00216.88
8.0.140.0070.00016.91
8.0.130.0000.00513.30
8.0.120.0000.00816.93
8.0.110.0040.00416.86
8.0.100.0040.00416.90
8.0.90.0040.00416.84
8.0.80.0000.01517.03
8.0.70.0040.00416.95
8.0.60.0040.00416.98
8.0.50.0000.00816.92
8.0.30.0110.00817.13
8.0.20.0110.00917.40
8.0.10.0070.00016.90
8.0.00.0150.00616.74
7.4.330.0020.00215.55
7.4.320.0000.00616.47
7.4.300.0000.00716.45
7.4.290.0030.00316.48
7.4.280.0050.00216.37
7.4.270.0030.00616.46
7.4.260.0030.00716.43
7.4.250.0070.00016.39
7.4.240.0030.00316.59
7.4.230.0000.00716.34
7.4.220.0090.01616.51
7.4.210.0020.00616.47
7.4.200.0000.00716.29
7.4.160.0110.00516.36
7.4.150.0100.00717.40
7.4.140.0110.01017.86
7.4.130.0100.00916.37
7.4.120.0100.01216.52
7.4.110.0090.01216.32
7.4.100.0070.01516.44
7.4.90.0070.01016.60
7.4.80.0090.00919.39
7.4.70.0120.00416.55
7.4.60.0090.00616.39
7.4.50.0050.00916.63
7.4.40.0130.00316.21
7.4.30.0070.01016.42
7.4.00.0140.00314.61
7.3.330.0000.00513.27
7.3.320.0050.00013.32
7.3.310.0030.00316.17
7.3.300.0030.00316.26
7.3.290.0000.00716.19
7.3.280.0080.00916.31
7.3.270.0060.01017.40
7.3.260.0090.00916.30
7.3.240.0090.01116.51
7.3.230.0030.01316.47
7.3.210.0060.01216.41
7.3.200.0040.01216.52
7.3.190.0140.00316.32
7.3.180.0040.01416.45
7.3.170.0060.01516.29
7.3.160.0090.00616.52
7.2.330.0070.01016.74
7.2.320.0030.01416.80
7.2.310.0100.01016.45
7.2.300.0100.01016.31
7.2.290.0110.00816.30
7.2.80.0080.00816.43
7.2.60.0090.00616.84
7.1.200.0070.00415.71
7.1.70.0040.00416.95
7.1.60.0070.00317.16
7.1.50.0110.01116.92
7.1.40.0600.01332.41
7.1.30.0500.01332.39
7.1.20.0600.02032.61
7.1.10.0330.01014.57
7.1.00.0370.00714.51
7.0.200.0040.01116.49
7.0.180.0470.01314.18
7.0.170.0400.01714.19
7.0.160.0470.00714.29
7.0.150.0400.01014.19
7.0.140.0330.01014.26
7.0.130.0270.01014.61
7.0.120.0270.01014.42
7.0.110.0300.01314.30
7.0.100.0300.01014.23
7.0.90.0370.02014.32
7.0.80.0300.00314.25
7.0.70.0400.01314.29
7.0.60.0230.01314.27
7.0.50.0330.00314.34
7.0.40.0300.02014.60
7.0.30.0300.00714.38
7.0.20.0300.01014.41
7.0.10.0300.01014.51
7.0.00.0370.01314.39

preferences:
55.75 ms | 400 KiB | 5 Q