3v4l.org

run code in 300+ PHP versions simultaneously
<?php ob_start('assert'); echo 'register_shutdown_function(\'exit\', \'hahahahaha\')===ob_end_flush()}'; ob_end_flush();

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.0090.00916.75
8.3.50.0150.00421.94
8.3.40.0070.01018.71
8.3.30.0040.01118.72
8.3.20.0040.00420.16
8.3.10.0040.00423.67
8.3.00.0030.00719.26
8.2.180.0070.00718.16
8.2.170.0180.00322.96
8.2.160.0100.01020.52
8.2.150.0100.00024.18
8.2.140.0000.00724.66
8.2.130.0040.00426.16
8.2.120.0100.00017.50
8.2.110.0070.00420.32
8.2.100.0030.00917.91
8.2.90.0000.00719.05
8.2.80.0050.00317.97
8.2.70.0040.00417.38
8.2.60.0000.00817.80
8.2.50.0000.00918.07
8.2.40.0000.00821.26
8.2.30.0080.00320.49
8.2.20.0030.00517.51
8.2.10.0080.00018.05
8.2.00.0040.00418.09
8.1.280.0090.01225.92
8.1.270.0050.00323.87
8.1.260.0070.00426.35
8.1.250.0040.00428.09
8.1.240.0060.00322.51
8.1.230.0080.00417.78
8.1.220.0040.00417.74
8.1.210.0050.00318.77
8.1.200.0030.00617.23
8.1.190.0070.00417.22
8.1.180.0020.00518.10
8.1.170.0050.00218.88
8.1.160.0020.00521.86
8.1.150.0030.00518.74
8.1.140.0080.00019.36
8.1.130.0030.00317.47
8.1.120.0000.00717.33
8.1.110.0040.00417.25
8.1.100.0050.00217.21
8.1.90.0000.00717.32
8.1.80.0000.00817.33
8.1.70.0000.00717.34
8.1.60.0030.00517.46
8.1.50.0000.00717.41
8.1.40.0080.00017.42
8.1.30.0080.00017.36
8.1.20.0030.00617.50
8.1.10.0080.00017.31
8.1.00.0040.00417.28
8.0.300.0060.00318.77
8.0.290.0040.00416.63
8.0.280.0070.00018.29
8.0.270.0000.00717.20
8.0.260.0070.00017.18
8.0.250.0040.00416.84
8.0.240.0030.00316.87
8.0.230.0030.00316.79
8.0.220.0070.00016.75
8.0.210.0050.00216.79
8.0.200.0000.00616.68
8.0.190.0000.00716.78
8.0.180.0000.00816.88
8.0.170.0080.00016.70
8.0.160.0000.00716.73
8.0.150.0080.00016.68
8.0.140.0030.00516.66
8.0.130.0070.00013.19
8.0.120.0000.00716.76
8.0.110.0000.00716.80
8.0.100.0020.00516.70
8.0.90.0030.00316.56
8.0.80.0070.00816.67
8.0.70.0040.00416.73
8.0.60.0070.00016.79
8.0.50.0040.00416.79
8.0.30.0090.01216.80
8.0.20.0090.01017.40
8.0.10.0050.00316.75
8.0.00.0110.00716.64
7.4.330.0020.00215.08
7.4.320.0030.00316.46
7.4.300.0030.00316.48
7.4.290.0070.00016.35
7.4.280.0030.00516.38
7.4.270.0000.00716.48
7.4.260.0030.00316.30
7.4.250.0000.00716.34
7.4.240.0020.00516.32
7.4.230.0040.00416.28
7.4.220.0090.01216.50
7.4.210.0080.00816.34
7.4.200.0030.00316.57
7.4.160.0060.00916.53
7.4.150.0140.00317.40
7.4.140.0120.01017.86
7.4.130.0110.00816.61
7.4.120.0110.01016.41
7.4.110.0070.01016.38
7.4.100.0140.00916.65
7.4.90.0100.00716.43
7.4.80.0110.00619.39
7.4.70.0060.01116.52
7.4.60.0090.00616.33
7.4.50.0030.00616.23
7.4.40.0070.01016.36
7.4.30.0060.01016.40
7.4.00.0110.00414.54
7.3.330.0050.00012.88
7.3.320.0030.00313.11
7.3.310.0030.00516.06
7.3.300.0030.00316.25
7.3.290.0060.00916.18
7.3.280.0050.01216.23
7.3.270.0100.00717.40
7.3.260.0090.00916.33
7.3.250.0090.01016.25
7.3.240.0100.00816.38
7.3.230.0140.00316.39
7.3.210.0100.00616.22
7.3.200.0060.00916.11
7.3.190.0070.01116.38
7.3.180.0060.00916.45
7.3.170.0090.00916.27
7.3.160.0080.00816.33
7.2.330.0100.01016.66
7.2.320.0060.01316.32
7.2.310.0030.01316.46
7.2.300.0080.00916.29
7.2.290.0100.01316.44
7.2.60.0070.00716.73
7.2.00.0000.01419.00
7.1.200.0060.00615.76
7.1.100.0100.00717.87
7.1.70.0040.00417.14
7.1.60.0150.01119.43
7.1.50.0130.01016.51
7.1.00.0000.08022.36
7.0.200.0070.01115.07
7.0.60.0070.06020.01
7.0.50.0070.05317.96
7.0.40.0000.07020.23
7.0.30.0030.06720.11
7.0.20.0330.05020.03
7.0.10.0070.07320.30
7.0.00.0000.09020.29
5.6.280.0070.04320.90
5.6.210.0100.05720.66
5.6.200.0000.07718.23
5.6.190.0070.07720.61
5.6.180.0470.04720.57
5.6.170.0170.04320.50
5.6.160.0070.08320.71
5.6.150.0030.03718.25
5.6.140.0030.04318.17
5.6.130.0030.04018.14
5.6.120.0130.07720.95
5.6.110.0130.04321.12
5.6.100.0170.06721.00
5.6.90.0070.04020.99
5.6.80.0100.07020.40
5.5.350.0330.05320.46
5.5.340.0000.06317.96
5.5.330.0170.05020.41
5.5.320.0230.03720.34
5.5.310.0230.06720.19
5.5.300.0100.07017.93
5.5.290.0100.07718.05
5.5.280.0000.05320.79
5.5.270.0230.06720.79
5.5.260.0200.07320.95
5.5.250.0100.07720.68
5.5.240.0130.08020.11
5.4.450.0170.05319.17
5.4.440.0200.05719.63
5.4.430.0130.06319.18
5.4.420.0170.05019.38
5.4.410.0230.04719.45
5.4.400.0200.05319.04
5.4.390.0130.05719.34
5.4.380.0130.05719.26
5.4.370.0270.04019.15
5.4.360.0130.06019.26
5.4.350.0100.05719.25
5.4.340.0170.05318.84
5.4.320.0100.06318.96
5.4.310.0270.05019.15
5.4.300.0230.05319.01
5.4.290.0230.06019.25
5.4.280.0370.04019.14
5.4.270.0200.05719.22
5.4.260.0130.05318.84
5.4.250.0130.05719.20
5.4.240.0200.04719.25
5.4.230.0130.05719.25
5.4.220.0100.06019.05
5.4.210.0100.06318.85
5.4.200.0200.05019.14
5.4.190.0100.05718.95
5.4.180.0130.05319.14
5.4.170.0030.06319.34
5.4.160.0170.05019.23
5.4.150.0100.06019.11
5.4.140.0170.05016.71
5.4.130.0100.05316.51
5.4.120.0230.05316.34
5.4.110.0300.04716.64
5.4.100.0170.05016.28
5.4.90.0200.05716.62
5.4.80.0170.05016.56
5.4.70.0230.06016.44
5.4.60.0200.05016.43
5.4.50.0130.05016.16
5.4.40.0100.05716.44
5.4.30.0100.05716.42
5.4.20.0200.04716.44
5.4.10.0170.07016.53
5.4.00.0000.06015.93

preferences:
54.74 ms | 401 KiB | 5 Q