3v4l.org

run code in 300+ PHP versions simultaneously
<?php function autoLoadClass($name) { echo 'spl_autoload_register: ', $name, '<br>'; } spl_autoload_register('autoLoadClass'); class_exists('Foo', false); class_exists('Bar', false); class_exists('Foo\\Bar', false);

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.130.0070.00718.25
8.3.120.0030.00620.62
8.3.110.0060.00316.53
8.3.100.0090.00016.39
8.3.90.0030.00526.77
8.3.80.0030.00618.18
8.3.70.0160.00616.63
8.3.60.0030.01016.50
8.3.50.0100.00721.08
8.3.40.0070.00718.70
8.3.30.0100.01318.59
8.3.20.0040.00420.39
8.3.10.0000.00723.48
8.3.00.0060.00317.68
8.2.250.0140.00418.11
8.2.240.0090.00916.87
8.2.230.0050.00320.94
8.2.220.0200.00024.06
8.2.210.0040.00426.77
8.2.200.0090.00016.38
8.2.190.0090.00918.29
8.2.180.0130.01018.41
8.2.170.0100.00722.96
8.2.160.0070.00722.96
8.2.150.0070.00025.66
8.2.140.0100.00724.66
8.2.130.0070.00026.16
8.2.120.0000.00821.03
8.2.110.0040.00722.11
8.2.100.0070.00417.72
8.2.90.0040.00420.60
8.2.80.0000.00917.97
8.2.70.0030.00617.91
8.2.60.0090.00017.91
8.2.50.0060.00318.10
8.2.40.0000.01020.61
8.2.30.0030.00618.05
8.2.20.0070.00418.19
8.2.10.0040.00418.05
8.2.00.0000.00717.86
8.1.300.0090.00018.53
8.1.290.0080.00330.84
8.1.280.0090.00925.92
8.1.270.0040.00421.98
8.1.260.0040.00426.35
8.1.250.0040.00428.09
8.1.240.0090.00022.54
8.1.230.0070.00420.97
8.1.220.0000.00817.74
8.1.210.0050.00318.81
8.1.200.0060.00317.23
8.1.190.0060.00317.23
8.1.180.0080.00018.10
8.1.170.0050.00318.51
8.1.160.0040.00418.82
8.1.150.0000.00818.77
8.1.140.0090.00021.41
8.1.130.0000.00717.48
8.1.120.0030.00317.40
8.1.110.0000.00717.28
8.1.100.0040.00417.32
8.1.90.0000.00717.33
8.1.80.0000.00817.36
8.1.70.0030.00317.30
8.1.60.0060.00317.50
8.1.50.0040.00417.43
8.1.40.0070.00017.29
8.1.30.0030.00517.57
8.1.20.0060.00317.51
8.1.10.0060.00317.35
8.1.00.0000.01017.25
8.0.300.0040.00419.77
8.0.290.0040.00416.58
8.0.280.0040.00418.33
8.0.270.0080.00116.78
8.0.260.0070.00017.02
8.0.250.0000.00816.86
8.0.240.0040.00416.84
8.0.230.0070.00016.75
8.0.220.0000.00816.75
8.0.210.0000.00716.73
8.0.200.0030.00316.73
8.0.190.0000.01016.79
8.0.180.0070.00016.79
8.0.170.0000.00716.75
8.0.160.0040.00416.76
8.0.150.0030.00316.76
8.0.140.0000.00716.61
8.0.130.0000.00513.21
8.0.120.0040.00416.75
8.0.110.0000.00716.64
8.0.100.0000.00716.72
8.0.90.0000.00716.80
8.0.80.0000.01516.76
8.0.70.0040.00416.71
8.0.60.0000.00916.63
8.0.50.0040.00416.73
8.0.30.0100.00917.03
8.0.20.0120.01217.40
8.0.10.0060.00717.54
8.0.00.0070.00917.29
7.4.330.0060.00215.98
7.4.320.0070.00016.31
7.4.300.0070.00016.36
7.4.290.0000.00716.34
7.4.280.0000.00816.38
7.4.270.0000.00816.36
7.4.260.0000.00716.50
7.4.250.0040.00416.24
7.4.240.0040.00416.41
7.4.230.0000.00716.29
7.4.220.0040.01816.59
7.4.210.0050.01416.41
7.4.200.0040.00416.58
7.4.160.0120.00416.27
7.4.150.0090.01517.40
7.4.140.0130.00717.34
7.4.130.0130.00816.48
7.4.120.0110.00816.33
7.4.110.0070.01516.25
7.4.100.0140.00516.33
7.4.90.0070.01316.36
7.4.80.0100.00917.38
7.4.70.0130.00716.35
7.4.60.0110.00716.34
7.4.50.0090.00816.33
7.4.40.0130.01016.11
7.4.30.0140.00716.32
7.4.20.0090.01216.29
7.4.10.0090.01116.48
7.4.00.0110.00715.86
7.3.330.0050.00012.91
7.3.320.0030.00313.13
7.3.310.0030.00316.22
7.3.300.0080.00016.04
7.3.290.0070.00916.20
7.3.280.0080.01216.19
7.3.270.0120.00617.40
7.3.260.0090.01116.37
7.3.250.0130.00816.24
7.3.240.0120.01016.12
7.3.230.0110.00716.27
7.3.220.0110.00716.22
7.3.210.0090.00816.15
7.3.200.0070.01316.24
7.3.190.0130.00816.27
7.3.180.0070.00916.26
7.3.170.0150.00716.06
7.3.160.0100.00916.07
7.3.150.0100.01016.14
7.3.140.0090.01316.31
7.3.130.0080.01316.30
7.3.120.0140.00916.23
7.3.110.0100.00716.34
7.3.100.0100.01116.24
7.3.90.0080.01016.45
7.3.80.0080.01316.18
7.3.70.0140.00616.16
7.3.60.0090.00715.69
7.3.50.0070.01015.75
7.3.40.0160.00415.61
7.3.30.0090.00915.68
7.3.20.0200.01015.89
7.3.10.0200.00815.87
7.3.00.0200.01115.97
7.2.340.0180.00816.23
7.2.330.0150.00916.20
7.2.320.0150.01016.48
7.2.310.0110.01116.39
7.2.300.0120.01216.24
7.2.290.0110.01316.47
7.2.280.0190.00616.30
7.2.270.0090.01516.25
7.2.260.0220.00516.45
7.2.250.0120.01516.35
7.2.240.0150.01116.09
7.2.230.0180.00916.38
7.2.220.0170.01016.25
7.2.210.0170.00916.32
7.2.200.0140.01016.46
7.2.190.0170.00615.69
7.2.180.0110.01115.74
7.2.170.0160.00815.78
7.2.160.0130.00915.72
7.2.150.0280.00816.03
7.2.140.0460.00816.04
7.2.130.0180.01116.00
7.2.120.0250.00816.04
7.2.110.0300.01016.14
7.2.100.0250.01416.05
7.2.90.0230.01016.09
7.2.80.0200.01016.12
7.2.70.0230.00716.06
7.2.60.0190.00816.16
7.2.50.0210.01016.18
7.2.40.0250.01016.05
7.2.30.0230.01115.98
7.2.20.0210.01016.12
7.2.10.0190.01016.74
7.2.00.0210.00516.70
7.1.330.0340.00815.48
7.1.320.0440.00915.55
7.1.310.0240.00715.35
7.1.300.0170.00715.52
7.1.290.0220.00715.46
7.1.280.0210.00315.43
7.1.270.0170.01115.49
7.1.260.0160.01015.53
7.1.250.0250.00715.07
7.1.240.0320.00715.00
7.1.230.0330.00615.09
7.1.220.0270.01214.96
7.1.210.0350.00514.99
7.1.200.0200.01015.12
7.1.190.0270.00715.00
7.1.180.0240.00914.95
7.1.170.0260.00914.98
7.1.160.0250.00714.89
7.1.150.0260.00615.09
7.1.140.0430.00615.03
7.1.130.0260.00615.64
7.1.120.0270.00815.79
7.1.110.0250.00715.65
7.1.100.0220.00715.63
7.1.90.0220.00815.51
7.1.80.0260.00815.61
7.1.70.0180.01015.76
7.1.60.0290.00818.73
7.1.50.0240.00718.61
7.1.40.0200.00918.44
7.1.30.0210.01018.39
7.1.20.0230.01018.55
7.1.10.0230.00615.59
7.1.00.0250.00915.54
7.0.330.0500.00714.69
7.0.320.0340.00714.69
7.0.310.0260.00714.43
7.0.300.0250.01014.54
7.0.290.0600.00714.53
7.0.280.0260.00714.67
7.0.270.0230.01015.29
7.0.260.0240.00815.43
7.0.250.0290.01015.22
7.0.240.0220.01415.22
7.0.230.0260.00715.33
7.0.220.0250.00815.17
7.0.210.0260.00615.01
7.0.200.0180.01015.29
7.0.190.0210.01015.26
7.0.180.0200.00915.08
7.0.170.0200.00615.15
7.0.160.0190.00915.13
7.0.150.0180.01115.23
7.0.140.0190.01015.19
7.0.130.0170.00915.33
7.0.120.0230.00715.27
7.0.110.0230.00815.19
7.0.100.0190.01015.14
7.0.90.0240.00815.23
7.0.80.0210.00715.17
7.0.70.0170.01015.14
7.0.60.0200.00915.04
7.0.50.0190.00915.21
7.0.40.0210.00814.95
7.0.30.0190.01115.06
7.0.20.0200.00615.04
7.0.10.0220.00814.94
7.0.00.0180.00914.99
5.6.400.0170.00815.21
5.6.390.0160.01015.35
5.6.380.0130.01114.94
5.6.370.0210.00614.93
5.6.360.0220.00814.97
5.6.350.0160.01014.86
5.6.340.0210.00715.01
5.6.330.0190.01114.94
5.6.320.0150.01014.97
5.6.310.0200.00515.00
5.6.300.0130.02516.82
5.6.290.0150.02416.84
5.6.280.0150.02316.96
5.6.270.0130.03316.95
5.6.260.0150.03116.88
5.6.250.0130.02616.89
5.6.240.0210.02616.89
5.6.230.0140.03016.96
5.6.220.0230.02016.95
5.6.210.0140.02816.84
5.6.200.0160.02316.90
5.6.190.0160.02816.98
5.6.180.0160.02916.90
5.6.170.0190.01716.97
5.6.160.0150.02616.88
5.6.150.0140.03416.82
5.6.140.0160.02216.93
5.6.130.0110.03116.88
5.6.120.0170.02316.85
5.6.110.0190.02016.98
5.6.100.0160.02016.85
5.6.90.0120.02816.82
5.6.80.0130.02916.62
5.6.70.0100.02516.65
5.6.60.0120.03016.63
5.6.50.0170.02116.64
5.6.40.0160.02216.70
5.6.30.0210.02016.63
5.6.20.0140.03016.60
5.6.10.0130.02216.57
5.6.00.0150.02616.64
5.5.380.0140.02315.23
5.5.370.0160.02415.21
5.5.360.0140.02515.22
5.5.350.0120.02515.24
5.5.340.0140.02615.42
5.5.330.0130.02515.37
5.5.320.0150.02515.47
5.5.310.0150.02215.33
5.5.300.0120.02415.35
5.5.290.0140.02115.39
5.5.280.0120.02615.41
5.5.270.0130.02515.30
5.5.260.0150.02415.43
5.5.250.0190.02315.33
5.5.240.0140.02015.12
5.5.230.0130.02315.15
5.5.220.0150.02015.21
5.5.210.0150.02215.10
5.5.200.0130.03015.16
5.5.190.0190.02515.16
5.5.180.0130.02315.17
5.5.170.0160.01014.07
5.5.160.0170.02715.06
5.5.150.0140.02015.10
5.5.140.0140.02015.11
5.5.130.0120.02515.04
5.5.120.0160.02815.18
5.5.110.0130.02215.09
5.5.100.0150.02415.10
5.5.90.0130.02415.03
5.5.80.0170.02215.11
5.5.70.0120.02515.07
5.5.60.0110.02715.06
5.5.50.0120.02215.11
5.5.40.0110.02615.12
5.5.30.0120.02514.91
5.5.20.0090.02415.12
5.5.10.0110.02115.13
5.5.00.0130.02715.07
5.4.450.0140.02114.48
5.4.440.0140.01714.52
5.4.430.0140.01914.54
5.4.420.0120.02714.54
5.4.410.0110.02114.41
5.4.400.0090.02114.38
5.4.390.0120.01814.35
5.4.380.0150.02214.34
5.4.370.0130.01814.34
5.4.360.0130.01814.31
5.4.350.0110.02514.32
5.4.340.0110.02514.35
5.4.330.0150.00512.18
5.4.320.0120.02414.38
5.4.310.0090.02814.38
5.4.300.0120.02614.42
5.4.290.0110.03014.40
5.4.280.0110.02414.33
5.4.270.0120.01814.36
5.4.260.0120.02114.41
5.4.250.0160.02114.39
5.4.240.0160.01914.37
5.4.230.0160.02014.39
5.4.220.0160.02414.31
5.4.210.0130.02014.45
5.4.200.0120.02014.46
5.4.190.0150.02114.42
5.4.180.0090.02114.36
5.4.170.0110.02014.32
5.4.160.0110.01914.34
5.4.150.0110.02714.34
5.4.140.0090.02013.54
5.4.130.0110.02413.49
5.4.120.0140.02213.58
5.4.110.0100.02413.58
5.4.100.0100.01913.60
5.4.90.0130.02213.52
5.4.80.0110.01713.57
5.4.70.0110.01913.58
5.4.60.0100.02413.57
5.4.50.0130.02213.54
5.4.40.0120.02013.55
5.4.30.0090.01913.48
5.4.20.0100.01813.59
5.4.10.0110.01913.55
5.4.00.0100.02413.40

preferences:
29.3 ms | 403 KiB | 5 Q