3v4l.org

run code in 300+ PHP versions simultaneously
<?php header_register_callback(function () { echo 'header'; register_shutdown_function(function () { echo 'shutdown'; }); });

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.0110.00718.30
8.3.50.0150.00521.92
8.3.40.0120.00618.66
8.3.30.0040.01118.53
8.3.20.0060.00318.55
8.3.10.0050.00221.91
8.3.00.0040.00420.86
8.2.180.0000.01516.50
8.2.170.0140.00322.96
8.2.160.0030.01019.22
8.2.150.0080.00024.18
8.2.140.0040.00424.66
8.2.130.0000.00820.81
8.2.120.0080.00026.35
8.2.110.0030.00719.39
8.2.100.0110.00017.72
8.2.90.0040.00419.17
8.2.80.0030.00517.97
8.2.70.0060.00317.38
8.2.60.0040.00417.92
8.2.50.0060.00318.10
8.2.40.0040.00422.16
8.2.30.0000.00720.68
8.2.20.0080.00017.73
8.2.10.0000.00718.11
8.2.00.0040.00418.12
8.1.280.0100.00325.92
8.1.270.0080.00023.84
8.1.260.0030.00528.09
8.1.250.0040.00428.09
8.1.240.0060.00322.75
8.1.230.0080.00317.71
8.1.220.0000.00917.74
8.1.210.0040.00418.77
8.1.200.0040.00817.35
8.1.190.0040.00417.10
8.1.180.0080.00018.10
8.1.170.0040.00418.64
8.1.160.0030.00318.95
8.1.150.0030.00318.76
8.1.140.0000.00719.48
8.1.130.0000.00717.68
8.1.120.0040.00417.42
8.1.110.0030.00617.40
8.1.100.0040.00417.39
8.1.90.0030.00617.29
8.1.80.0000.00717.30
8.1.70.0030.00317.27
8.1.60.0050.00217.50
8.1.50.0030.00517.35
8.1.40.0000.00917.36
8.1.30.0060.00317.55
8.1.20.0040.00417.54
8.1.10.0000.00717.23
8.1.00.0000.00717.35
8.0.300.0040.00418.77
8.0.290.0000.01016.63
8.0.280.0030.00518.34
8.0.270.0000.00716.66
8.0.260.0000.00717.18
8.0.250.0030.00316.81
8.0.240.0000.00716.69
8.0.230.0040.00416.70
8.0.220.0000.00716.75
8.0.210.0000.00716.78
8.0.200.0030.00316.88
8.0.190.0040.00416.83
8.0.180.0030.00516.86
8.0.170.0040.00416.75
8.0.160.0000.00816.87
8.0.150.0050.00316.76
8.0.140.0000.00716.77
8.0.130.0000.00613.18
8.0.120.0000.00816.77
8.0.110.0070.00016.70
8.0.100.0030.00516.87
8.0.90.0030.00316.63
8.0.80.0060.01016.77
8.0.70.0000.00716.78
8.0.60.0000.00716.83
8.0.50.0070.00016.64
8.0.30.0110.00717.07
8.0.20.0120.00717.40
8.0.10.0040.00416.91
8.0.00.0100.00916.72
7.4.330.0030.00315.08
7.4.320.0000.00616.34
7.4.300.0030.00316.42
7.4.290.0000.00816.41
7.4.280.0070.00016.53
7.4.270.0040.00416.43
7.4.260.0030.00716.31
7.4.250.0000.00716.38
7.4.240.0030.00316.38
7.4.230.0000.00716.59
7.4.220.0200.00016.46
7.4.210.0100.00316.54
7.4.200.0030.00316.41
7.4.160.0110.00416.51
7.4.150.0150.00317.40
7.4.140.0120.00817.86
7.4.130.0130.01416.40
7.4.120.0100.00716.47
7.4.110.0130.00916.30
7.4.100.0090.01216.50
7.4.90.0120.00616.27
7.4.80.0140.00319.39
7.4.70.0060.01016.27
7.4.60.0070.01016.59
7.4.50.0060.00816.37
7.4.40.0160.00016.33
7.4.30.0070.01016.34
7.4.00.0060.01215.05
7.3.330.0000.00513.05
7.3.320.0030.00313.25
7.3.310.0000.00716.08
7.3.300.0030.00316.27
7.3.290.0080.00816.23
7.3.280.0060.01316.22
7.3.270.0090.00917.40
7.3.260.0120.00416.64
7.3.250.0110.00616.20
7.3.240.0100.00816.27
7.3.230.0030.01416.39
7.3.210.0070.01016.53
7.3.200.0090.00916.59
7.3.190.0090.00616.61
7.3.180.0080.00816.49
7.3.170.0030.01916.46
7.3.160.0030.01216.30
7.2.330.0090.00916.35
7.2.320.0170.00016.72
7.2.310.0060.01216.55
7.2.300.0000.01616.29
7.2.290.0040.01116.68
7.2.60.0140.00016.56
7.2.00.0090.01219.09
7.1.200.0040.01115.33
7.1.100.0100.01018.00
7.1.70.0040.00417.00
7.1.60.0030.01720.41
7.1.50.0090.01216.88
7.1.00.0000.07722.36
7.0.200.0220.00314.69
7.0.60.0330.04319.78
7.0.50.0030.04017.93
7.0.40.0230.05720.06
7.0.30.0200.06020.22
7.0.20.0070.07020.29
7.0.10.0330.06320.30
7.0.00.0170.07020.07
5.6.280.0100.06321.08
5.6.210.0000.06720.73
5.6.200.0130.08018.29
5.6.190.0130.08020.60
5.6.180.0270.05320.61
5.6.170.0130.06320.43
5.6.160.0270.05320.58
5.6.150.0100.06720.39
5.6.140.0200.07320.21
5.6.130.0130.07020.38
5.6.120.0230.04720.27
5.6.110.0170.05320.40
5.6.100.0270.05320.30
5.6.90.0700.05020.26
5.6.80.0400.06019.80
5.6.70.0130.05319.57
5.6.60.0570.05719.76
5.6.50.0630.05019.98
5.6.40.0500.06019.67
5.6.30.0570.06719.72
5.6.20.0630.05019.62
5.6.10.0530.06319.75
5.6.00.0630.05019.71
5.5.350.0270.07020.45
5.5.340.0000.04717.98
5.5.330.0270.04720.27
5.5.320.0200.05320.36
5.5.310.0170.05720.40
5.5.300.0130.06320.18
5.5.290.0400.06020.19
5.5.280.0170.05720.19
5.5.270.0170.05020.38
5.5.260.0600.05719.98
5.5.250.0770.04020.00
5.5.240.0330.08019.54
5.5.230.0230.06319.48
5.5.220.0630.05319.48
5.5.210.0600.05719.59
5.5.200.0600.05319.46
5.5.190.0630.05319.57
5.5.180.0630.05319.54
5.5.160.0630.05019.54
5.5.150.0600.05319.53
5.5.140.0600.05019.57
5.5.130.0530.05719.54
5.5.120.0730.04719.56
5.5.110.0730.04319.33
5.5.100.0600.05319.44
5.5.90.0500.06319.42
5.5.80.0470.05719.46
5.5.70.0630.06719.36
5.5.60.0430.05719.39
5.5.50.0530.04719.34
5.5.40.0430.05719.40
5.5.30.0600.05319.32
5.5.20.0530.06019.46
5.5.10.0500.07019.37
5.5.00.0830.05319.45

preferences:
57.97 ms | 401 KiB | 5 Q