3v4l.org

run code in 300+ PHP versions simultaneously
<?php class BlockController { public function registerViewAssets($outputContent = '') { } } class Controller extends BlockController { public function registerViewAssets() { } }

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.110.0040.00418.43
8.3.100.0100.00016.63
8.3.90.0040.00418.43
8.3.80.0000.00917.97
8.3.70.0040.01116.88
8.3.60.0060.00918.56
8.3.50.0070.00918.21
8.3.40.0040.01118.54
8.3.30.0120.00318.71
8.3.20.0080.00019.10
8.3.10.0040.00421.78
8.3.00.0030.00519.33
8.2.230.0080.00820.94
8.2.220.0040.00424.06
8.2.210.0090.00626.77
8.2.200.0050.00518.29
8.2.190.0140.00716.75
8.2.180.0150.00616.63
8.2.170.0110.00318.85
8.2.160.0150.00322.96
8.2.150.0030.00524.18
8.2.140.0040.00424.66
8.2.130.0040.00426.16
8.2.120.0040.00420.35
8.2.110.0050.00520.94
8.2.100.0040.00817.78
8.2.90.0060.00318.03
8.2.80.0000.00820.59
8.2.70.0000.00917.91
8.2.60.0000.00817.80
8.2.50.0090.00018.10
8.2.40.0000.00920.69
8.2.30.0080.00021.18
8.2.20.0040.00417.80
8.2.10.0000.00717.98
8.2.00.0030.00619.17
8.1.290.0000.00918.88
8.1.280.0080.00825.92
8.1.270.0080.00023.98
8.1.260.0000.00826.35
8.1.250.0050.00328.09
8.1.240.0050.00322.02
8.1.230.0110.00420.69
8.1.220.0040.00417.74
8.1.210.0120.00018.77
8.1.200.0000.00817.23
8.1.190.0050.00317.10
8.1.180.0000.00818.10
8.1.170.0050.00318.50
8.1.160.0000.00818.79
8.1.150.0060.00320.59
8.1.140.0070.00017.48
8.1.130.0030.00318.93
8.1.120.0030.00417.37
8.1.110.0000.00817.32
8.1.100.0030.00317.29
8.1.90.0030.00617.39
8.1.80.0070.00017.35
8.1.70.0030.00317.33
8.1.60.0080.00017.50
8.1.50.0000.00717.38
8.1.40.0040.00417.24
8.1.30.0000.00817.36
8.1.20.0000.00717.61
8.1.10.0030.00617.28
8.1.00.0000.00917.34
8.0.300.0050.00320.07
8.0.290.0000.00716.63
8.0.280.0050.00318.36
8.0.270.0040.00417.08
8.0.260.0000.00617.13
8.0.250.0000.00816.82
8.0.240.0040.00416.89
8.0.230.0000.00716.83
8.0.220.0030.00616.71
8.0.210.0030.00316.80
8.0.200.0030.00316.85
8.0.190.0060.00316.82
8.0.180.0020.00516.89
8.0.170.0040.00416.75
8.0.160.0070.00016.80
8.0.150.0000.00716.76
8.0.140.0000.00716.83
8.0.130.0030.00313.30
8.0.120.0040.00416.77
8.0.110.0000.00716.86
8.0.100.0030.00516.88
8.0.90.0030.00316.61
8.0.80.0040.01416.77
8.0.70.0000.01016.79
8.0.60.0040.00416.71
8.0.50.0040.00416.79
8.0.30.0120.00817.02
8.0.20.0060.01317.40
8.0.10.0030.00516.81
8.0.00.0130.00416.59
7.4.330.0000.00615.55
7.4.320.0030.00316.36
7.4.300.0030.00316.31
7.4.290.0040.00416.41
7.4.280.0000.00816.40
7.4.270.0030.00316.37
7.4.260.0000.00716.27
7.4.250.0070.00016.42
7.4.240.0040.00416.41
7.4.230.0030.00316.30
7.4.220.0050.00316.54
7.4.210.0150.00516.49
7.4.200.0000.00716.50
7.4.160.0050.01016.40
7.4.140.0110.00717.86
7.4.130.0170.00016.38
7.4.120.0120.01016.43
7.4.110.0100.01016.33
7.4.100.0210.00616.45
7.4.90.0120.01116.38
7.4.80.0090.01117.91
7.4.70.0040.01616.59
7.4.60.0130.00616.45
7.4.50.0080.01116.46
7.4.40.0090.01316.22
7.4.30.0120.00616.32
7.4.20.0120.01316.33
7.4.10.0150.00916.44
7.4.00.0070.01115.40
7.3.330.0030.00213.24
7.3.320.0030.00313.18
7.3.310.0040.00416.08
7.3.300.0030.00316.15
7.3.290.0030.00316.19
7.3.280.0110.00716.22
7.3.260.0120.00616.21
7.3.240.0080.00916.30
7.3.230.0110.00616.20
7.3.220.0030.01416.23
7.3.210.0120.00516.35
7.3.200.0130.01016.30
7.3.190.0140.00816.31
7.3.180.0110.00916.28
7.3.170.0110.00816.28
7.3.160.0060.01316.18
7.3.150.0150.00316.27
7.3.140.0090.01816.23
7.3.130.0180.00316.27
7.3.120.0100.01016.23
7.3.110.0200.00316.33
7.3.100.0070.01316.19
7.3.90.0110.00716.24
7.3.80.0100.01416.48
7.3.70.0130.01316.20
7.3.60.0100.01316.24
7.3.50.0030.01516.30
7.3.40.0130.01016.29
7.3.30.0120.01216.31
7.3.20.0060.01216.27
7.3.10.0040.01616.28
7.3.00.0030.01516.39
7.2.330.0100.00816.53
7.2.320.0120.00916.39
7.2.310.0110.01116.48
7.2.300.0180.00216.50
7.2.290.0100.01516.23
7.2.280.0060.01316.21
7.2.270.0160.00916.21
7.2.260.0100.01616.27
7.2.250.0100.01016.18
7.2.240.0150.01216.49
7.2.230.0070.01116.58
7.2.220.0120.01216.39
7.2.210.0140.01016.26
7.2.200.0150.01216.35
7.2.190.0030.01616.38
7.2.180.0070.01716.26
7.2.170.0130.01216.42
7.2.160.0150.00616.24
7.2.150.0120.00816.07
7.2.140.0120.00616.46
7.2.130.0190.00916.49
7.2.120.0090.00916.42
7.2.110.0070.01316.36
7.2.100.0080.01116.43
7.2.90.0160.00316.42
7.2.80.0040.01516.21
7.2.70.0090.00916.05
7.2.60.0110.00916.50
7.2.50.0100.00816.55
7.2.40.0850.01117.08
7.2.30.0380.00717.04
7.2.20.0760.01017.00
7.2.10.0690.00817.09
7.2.00.0380.00617.04
7.1.330.0060.01215.27
7.1.320.0060.01715.49
7.1.310.0130.01315.27
7.1.300.0100.01615.33
7.1.290.0360.00015.45
7.1.280.0120.01215.20
7.1.270.0160.00315.36
7.1.260.0060.01115.27
7.1.250.0090.01215.33
7.1.240.0000.01815.32
7.1.230.0100.00615.30
7.1.220.0070.01415.40
7.1.210.0190.00715.25
7.1.200.0270.00715.45
7.1.190.0070.01115.45
7.1.180.0150.00315.41
7.1.170.0040.01315.22
7.1.160.0640.00715.96
7.1.150.0700.00815.92
7.1.140.0520.01015.86
7.1.130.0510.00515.78
7.1.120.0380.00415.84
7.1.110.0360.00715.68
7.1.100.0320.01015.82
7.1.90.0460.00915.60
7.1.80.0470.00815.43
7.1.70.0530.01115.06
7.1.60.0590.00724.09
7.1.50.0540.01024.02
7.1.40.0600.00723.88
7.1.30.0440.00923.84
7.1.20.0610.01024.02
7.1.10.0380.01014.97
7.1.00.0590.01215.00
7.0.330.0200.01015.17
7.0.320.0210.00715.05
7.0.310.0260.00615.08
7.0.300.0220.01315.08
7.0.290.0620.01415.73
7.0.280.0300.00914.99
7.0.270.0380.01015.41
7.0.260.0460.01015.57
7.0.250.0490.00915.15
7.0.240.0630.00815.27
7.0.230.0460.00815.54
7.0.220.0770.00915.30
7.0.210.0500.00914.86
7.0.200.0470.01014.91
7.0.190.0500.00614.94
7.0.180.0410.00914.58
7.0.170.0590.01314.73
7.0.160.0490.00814.82
7.0.150.0590.01014.61
7.0.140.0800.01014.59
7.0.130.0670.00814.77
7.0.120.0690.01014.76
7.0.110.0610.00914.69
7.0.100.0830.00614.61
7.0.90.0120.01414.79
7.0.80.0630.01114.72
7.0.70.0580.01214.70
7.0.60.0180.01314.78
7.0.50.0500.01114.76
7.0.40.0430.00814.88
7.0.30.0180.01314.68
7.0.20.0180.00914.70
7.0.10.0450.00814.80
7.0.00.0210.00914.80
5.6.400.0210.01315.84
5.6.390.0150.01815.87
5.6.380.0280.00415.71
5.6.370.0200.01115.93
5.6.360.0290.00615.98
5.6.350.0280.01015.66
5.6.340.0280.00915.66
5.6.330.0240.00915.61
5.6.320.0220.00915.96
5.6.310.0160.01715.82
5.6.300.0200.03618.00
5.6.290.0170.03818.18
5.6.280.0230.04318.38
5.6.270.0220.03918.35
5.6.260.0250.03218.33
5.6.250.0200.03218.31
5.6.240.0240.03518.37
5.6.230.0160.03218.30
5.6.220.0210.03318.37
5.6.210.0190.04218.35
5.6.200.0210.03518.20
5.6.190.0230.04418.25
5.6.180.0250.03818.27
5.6.170.0230.03918.26
5.6.160.0250.03318.33
5.6.150.0210.04418.22
5.6.140.0300.03418.33
5.6.130.0250.03418.18
5.6.120.0270.03118.28
5.6.110.0220.03718.37
5.6.100.0200.04718.45
5.6.90.0190.03818.12
5.6.80.0170.03917.85
5.6.70.0210.04418.00
5.6.60.0170.03817.93
5.6.50.0180.04218.07
5.6.40.0150.03817.93
5.6.30.0230.02617.92
5.6.20.0170.03618.13
5.6.10.0180.03417.95
5.6.00.0190.03517.97

preferences:
64.98 ms | 403 KiB | 5 Q