3v4l.org

run code in 300+ PHP versions simultaneously
<?php set_error_handler(create_function('', 'errors::php_error();')); function __autoload($class_name) { die('autoload called'); } eval(' class a extends ArrayObject { function exchangeArray() {} } ');

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.5.00.0170.00519.73
8.4.150.0010.00114.05
8.4.140.0120.00917.49
8.4.130.0140.00517.66
8.4.120.0130.00623.96
8.4.110.0080.01119.00
8.4.100.0140.00717.75
8.4.90.0070.00320.30
8.4.80.0040.00418.86
8.4.70.0050.01118.75
8.4.60.0050.00420.54
8.4.50.0090.01220.73
8.4.40.0090.00017.40
8.4.30.0100.01017.71
8.4.20.0060.00317.83
8.4.10.0060.00317.73
8.3.280.0110.00918.39
8.3.270.0140.00516.34
8.3.260.0110.00916.71
8.3.250.0070.00218.84
8.3.240.0110.00816.58
8.3.230.0100.00916.58
8.3.220.0100.00518.96
8.3.210.0100.01016.45
8.3.200.0060.00316.59
8.3.190.0100.00817.21
8.3.180.0090.01018.92
8.3.170.0060.01318.91
8.3.160.0040.00416.52
8.3.150.0130.00616.86
8.3.140.0040.00416.57
8.3.130.0030.00618.57
8.3.120.0130.00318.92
8.3.110.0090.00020.94
8.3.100.0110.00416.55
8.3.90.0130.00726.77
8.3.80.0040.00418.31
8.3.70.0110.00716.50
8.3.60.0140.00716.75
8.3.50.0040.01522.03
8.3.40.0090.00918.53
8.3.30.0150.00018.73
8.3.20.0040.00420.25
8.3.10.0000.00820.36
8.3.00.0030.00620.56
8.2.290.0080.01116.40
8.2.280.0110.00818.14
8.2.270.0150.00416.49
8.2.260.0030.00516.94
8.2.250.0100.01018.28
8.2.240.0060.00316.91
8.2.230.0060.00322.58
8.2.220.0060.00324.06
8.2.210.0130.00626.77
8.2.200.0030.00616.63
8.2.190.0150.00018.23
8.2.180.0070.01118.06
8.2.170.0170.00322.96
8.2.160.0130.00020.35
8.2.150.0040.00424.18
8.2.140.0040.00424.66
8.2.130.0080.00019.11
8.2.120.0030.00526.35
8.2.110.0040.00419.31
8.2.100.0080.00417.66
8.2.90.0100.00017.54
8.2.80.0060.00318.03
8.2.70.0040.00417.63
8.2.60.0000.00917.38
8.2.50.0000.00817.55
8.2.40.0060.00320.65
8.2.30.0030.00319.27
8.2.20.0080.00017.61
8.2.10.0080.00017.97
8.2.00.0040.00417.98
8.1.330.0080.00715.80
8.1.320.0100.00918.23
8.1.310.0040.00418.30
8.1.300.0030.00616.02
8.1.290.0080.00330.84
8.1.280.0070.01125.92
8.1.270.0000.00723.99
8.1.260.0030.00528.09
8.1.250.0030.00528.09
8.1.240.0120.00020.59
8.1.230.0110.00020.93
8.1.220.0090.00017.74
8.1.210.0000.00818.77
8.1.200.0050.00317.10
8.1.190.0050.00316.88
8.1.180.0040.00418.10
8.1.170.0040.00418.58
8.1.160.0040.00420.86
8.1.150.0000.00818.75
8.1.140.0040.00419.42
8.1.130.0000.00717.56
8.1.120.0080.00017.15
8.1.110.0050.00317.35
8.1.100.0040.00417.26
8.1.90.0040.00417.28
8.1.80.0040.00417.32
8.1.70.0030.00317.30
8.1.60.0000.00817.50
8.1.50.0030.00617.37
8.1.40.0030.00517.29
8.1.30.0000.00817.38
8.1.20.0000.00717.54
8.1.10.0020.00517.39
8.1.00.0040.00417.30
8.0.300.0050.00319.77
8.0.290.0000.00816.63
8.0.280.0080.00018.41
8.0.270.0070.00017.02
8.0.260.0000.00717.18
8.0.250.0030.00316.95
8.0.240.0040.00416.88
8.0.230.0000.00716.75
8.0.220.0040.00416.81
8.0.210.0000.00816.83
8.0.200.0030.00316.77
8.0.190.0000.00816.75
8.0.180.0000.00716.89
8.0.170.0050.00316.84
8.0.160.0040.00416.73
8.0.150.0030.00316.77
8.0.140.0000.00716.61
8.0.130.0050.00013.28
8.0.120.0040.00416.80
8.0.110.0000.00716.71
8.0.100.0070.00016.69
8.0.90.0000.00716.86
8.0.80.0150.00316.82
8.0.70.0040.00416.76
8.0.60.0000.00716.81
8.0.50.0050.00216.80
8.0.30.0080.01016.98
8.0.20.0100.00917.40
8.0.10.0020.00517.00
8.0.00.0100.01116.68
7.4.330.0020.00216.94
7.4.320.0000.00716.43
7.4.300.0030.00616.48
7.4.290.0040.00416.51
7.4.280.0000.00716.49
7.4.270.0000.00616.54
7.4.260.0040.00416.51
7.4.250.0000.00716.46
7.4.240.0000.00716.43
7.4.230.0070.00016.48
7.4.220.0090.01516.66
7.4.210.0060.01316.62
7.4.200.0070.00016.39
7.4.160.0090.00616.61
7.4.150.0070.01017.40
7.4.140.0120.01117.86
7.4.130.0090.00916.45
7.4.120.0110.00816.56
7.4.110.0080.00816.59
7.4.100.0060.01216.61
7.4.90.0060.01116.39
7.4.80.0100.00619.39
7.4.70.0110.00516.45
7.4.60.0070.01016.27
7.4.50.0100.00716.59
7.4.40.0090.00916.72
7.4.30.0100.01016.52
7.4.00.0110.00714.91
7.3.330.0050.00013.21
7.3.320.0000.00513.23
7.3.310.0030.00316.20
7.3.300.0030.00316.24
7.3.290.0000.00816.25
7.3.280.0120.00516.24
7.3.270.0100.00717.40
7.3.260.0140.00316.31
7.3.250.0070.01216.36
7.3.240.0100.01316.23
7.3.230.0030.01316.39
7.3.210.0080.00816.28
7.3.200.0130.00619.39
7.3.190.0060.01216.20
7.3.180.0090.00916.24
7.3.170.0060.01016.36
7.3.160.0150.00016.42
7.2.330.0110.00816.54
7.2.320.0100.00916.74
7.2.310.0120.00616.28
7.2.300.0110.01016.55
7.2.290.0060.00916.35
7.2.60.0000.01216.54
7.1.200.0060.00615.69
7.1.100.0000.01217.69
7.1.70.0040.00416.97
7.1.60.0100.00719.19
7.1.50.0130.01016.70
7.1.00.0070.07322.30
7.0.200.0030.00616.56
7.0.60.0030.03321.83
7.0.50.0030.08717.70
7.0.40.0130.08020.30
7.0.30.0200.05720.21
7.0.20.0200.07320.12
7.0.10.0100.08020.34
7.0.00.0100.07720.30
5.6.280.0100.08321.05
5.6.210.0100.05720.69
5.6.200.0070.08018.14
5.6.190.0070.09320.52
5.6.180.0330.07020.55
5.6.170.0230.05720.48
5.6.160.0030.05320.56
5.6.150.0070.06318.19
5.6.140.0070.03718.25
5.6.130.0070.08018.29
5.6.120.0000.05320.95
5.6.110.0130.07020.99
5.6.100.0130.05321.05
5.6.90.0070.07720.98
5.6.80.0070.05020.51
5.5.350.0100.07320.40
5.5.340.0030.08317.98
5.5.330.0100.08020.43
5.5.320.0200.04320.29
5.5.310.0370.03720.30
5.5.300.0030.09018.03
5.5.290.0030.07717.98
5.5.280.0100.08020.98
5.5.270.0070.05020.86
5.5.260.0100.06320.77
5.5.250.0130.07320.69
5.5.240.0200.07320.04

preferences:
35.06 ms | 403 KiB | 5 Q