3v4l.org

run code in 300+ PHP versions simultaneously
<?php class AdminModel { // Change to proxy function in Joomla 7.0 to batchTag protected function batchTagTempTill70($value, $pks, $contexts, $removeTags = false) { // actuall batchTag code } // In 7.0 add $removeTags parameter and move code from Temp function to this function protected function batchTag($value, $pks, $contexts) { return $this->batchTagTempTill70($value, $pks, $contexts); } } class ModelBasedOn4or5or6code extends AdminModel { // Proxy function can be removed with Joomla 7.0 compatibility only protected function batchTag($value, $pks, $contexts, $removeTags = false) { return $this->batchTagTempTill70($value, $pks, $contexts, $removeTags); } }

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.4.120.0100.00624.16
8.4.110.0100.01018.93
8.4.100.0040.00417.60
8.4.90.0100.00617.84
8.4.80.0130.00717.59
8.4.70.0170.00417.59
8.4.60.0100.00817.49
8.4.50.0120.00717.66
8.4.40.0130.00617.55
8.4.30.0140.00718.61
8.4.20.0080.01219.69
8.4.10.0030.00619.23
8.3.250.0100.00918.70
8.3.240.0060.00316.28
8.3.230.0080.01116.67
8.3.220.0090.00217.09
8.3.210.0050.00416.45
8.3.200.0070.01016.50
8.3.190.0110.00716.59
8.3.180.0100.00818.34
8.3.170.0030.01418.97
8.3.160.0150.00317.15
8.3.150.0120.00617.10
8.3.140.0150.00316.45
8.3.130.0090.00016.60
8.3.120.0030.00620.87
8.3.110.0040.00720.94
8.3.100.0030.00524.06
8.3.90.0000.00826.77
8.3.80.0030.00618.30
8.3.70.0070.00716.50
8.3.60.0030.01216.60
8.3.50.0140.00716.32
8.3.40.0140.00719.83
8.3.30.0150.00618.71
8.3.20.0140.00421.82
8.3.10.0120.00621.90
8.3.00.0180.00318.66
8.2.290.0140.00420.45
8.2.280.0030.00518.30
8.2.270.0070.01116.86
8.2.260.0050.01416.40
8.2.250.0060.00318.24
8.2.240.0000.00817.13
8.2.230.0030.00622.58
8.2.220.0100.00037.54
8.2.210.0080.00026.77
8.2.200.0030.00618.29
8.2.190.0090.00616.63
8.2.180.0100.00716.50
8.2.170.0140.00718.71
8.2.160.0030.01219.97
8.2.150.0110.00418.66
8.2.140.0100.01020.39
8.2.130.0120.00320.31
8.2.120.0070.00719.10
8.2.110.0090.00619.28
8.2.100.0040.01819.14
8.2.90.0030.01418.69
8.2.80.0090.00619.32
8.2.70.0110.00718.70
8.2.60.0140.00318.90
8.2.50.0180.00018.88
8.2.40.0070.01118.39
8.2.30.0030.01518.53
8.2.20.0130.00318.70
8.2.10.0000.01818.39
8.2.00.0100.01018.54
8.1.330.0120.00718.42
8.1.320.0130.00616.01
8.1.310.0040.00416.35
8.1.300.0090.00017.64
8.1.290.0030.00630.84
8.1.280.0130.00725.92
8.1.270.0140.00422.19
8.1.260.0170.00021.83
8.1.250.0100.00322.21
8.1.240.0040.01118.49
8.1.230.0070.01118.25
8.1.220.0130.00318.68
8.1.210.0100.00618.11
8.1.200.0150.00018.63
8.1.190.0110.00318.45
8.1.180.0110.00718.24
8.1.170.0070.01018.70
8.1.160.0140.00318.48
8.1.150.0140.00418.63
8.1.140.0110.00318.73
8.1.130.0070.01018.74
8.1.120.0150.00318.55
8.1.110.0120.00618.29
8.1.100.0160.00319.74
8.1.90.0120.00618.38
8.1.80.0110.00419.68
8.1.70.0110.00418.66
8.1.60.0040.01118.59
8.1.50.0110.00418.50
8.1.40.0090.00618.63
8.1.30.0100.00319.11
8.1.20.0070.00719.75
8.1.10.0070.00718.49
8.1.00.0120.00318.31

preferences:
27.24 ms | 403 KiB | 5 Q