3v4l.org

run code in 300+ PHP versions simultaneously
<?php class parentx { //public function bagr() { } } class childx extends parentx { public function bagr() { if (!method_exists(get_parent_class($this), __FUNCTION__)) { throw new \LogicException; } // muj kód } } $x = new childx(); $x->bagr();

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.0150.00418.43
8.3.50.0140.00716.29
8.3.40.0120.00318.53
8.3.30.0090.00618.85
8.3.20.0040.00419.16
8.3.10.0030.00523.53
8.3.00.0030.00621.84
8.2.180.0000.01516.75
8.2.170.0120.00322.96
8.2.160.0040.01120.41
8.2.150.0180.00024.18
8.2.140.0040.00424.66
8.2.130.0120.00326.16
8.2.120.0040.00419.83
8.2.110.0080.00322.16
8.2.100.0090.00318.03
8.2.90.0000.00919.23
8.2.80.0000.00817.97
8.2.70.0040.00417.61
8.2.60.0000.00818.03
8.2.50.0030.00618.07
8.2.40.0030.00618.28
8.2.30.0080.00317.97
8.2.20.0000.00717.96
8.2.10.0040.00418.11
8.2.00.0000.00719.39
8.1.280.0090.00625.92
8.1.270.0050.00320.71
8.1.260.0030.00626.35
8.1.250.0040.00428.09
8.1.240.0040.00419.11
8.1.230.0060.00617.76
8.1.220.0060.00317.74
8.1.210.0000.00818.77
8.1.200.0000.00817.35
8.1.190.0050.00317.23
8.1.180.0080.00018.10
8.1.170.0060.00318.53
8.1.160.0000.00818.94
8.1.150.0040.00418.85
8.1.140.0000.00722.00
8.1.130.0000.00820.14
8.1.120.0070.00017.50
8.1.110.0000.00717.50
8.1.100.0040.00417.45
8.1.90.0060.00317.48
8.1.80.0080.00317.50
8.1.70.0050.00217.30
8.1.60.0030.00517.58
8.1.50.0000.00717.52
8.1.40.0040.00417.59
8.1.30.0000.00817.59
8.1.20.0000.00817.58
8.1.10.0070.00017.45
8.1.00.0040.00417.52
8.0.300.0050.00218.77
8.0.290.0000.01016.75
8.0.280.0030.00318.37
8.0.270.0000.00817.26
8.0.260.0030.00318.35
8.0.250.0000.00717.03
8.0.240.0030.00317.05
8.0.230.0030.00317.02
8.0.220.0030.00316.93
8.0.210.0000.00817.03
8.0.200.0000.00817.07
8.0.190.0030.00617.03
8.0.180.0000.00817.03
8.0.170.0000.00817.02
8.0.160.0000.00716.93
8.0.150.0000.00816.83
8.0.140.0000.00716.93
8.0.130.0030.00313.31
8.0.120.0030.00616.86
8.0.110.0160.00016.95
8.0.100.0000.00716.78
8.0.90.0000.00816.80
8.0.80.0020.01616.87
8.0.70.0050.00216.89
8.0.60.0000.00816.80
8.0.50.0040.00416.80
8.0.30.0110.00717.13
8.0.20.0050.01517.40
8.0.10.0000.00716.96
8.0.00.0070.01116.67
7.4.330.0000.00516.68
7.4.320.0030.00316.61
7.4.300.0000.00716.59
7.4.290.0030.00316.57
7.4.280.0040.00416.61
7.4.270.0040.00416.59
7.4.260.0030.00316.59
7.4.250.0070.00016.38
7.4.240.0070.00016.46
7.4.230.0050.00316.43
7.4.220.0040.00416.50
7.4.210.0050.01316.62
7.4.200.0030.00316.30
7.4.160.0110.00616.46
7.4.140.0130.00817.86
7.4.130.0110.00816.62
7.4.120.0090.00916.50
7.4.110.0090.00616.69
7.4.100.0100.01216.61
7.4.90.0070.01016.49
7.4.80.0130.00319.39
7.4.70.0090.00816.59
7.4.60.0040.01116.43
7.4.50.0110.00716.38
7.4.40.0060.00916.50
7.4.00.0030.01014.93
7.3.330.0000.00513.44
7.3.320.0000.00513.32
7.3.310.0030.00316.27
7.3.300.0050.00216.21
7.3.290.0000.00716.28
7.3.280.0120.00316.40
7.3.260.0100.00716.37
7.3.240.0080.01216.42
7.3.230.0070.01016.56
7.3.210.0120.01116.40
7.3.200.0060.01016.37
7.3.190.0120.00816.29
7.3.180.0100.00716.45
7.3.170.0030.01316.34
7.3.160.0040.01316.57
7.2.330.0140.00416.68
7.2.320.0070.01816.69
7.2.310.0150.00416.57
7.2.300.0100.01016.76
7.2.290.0120.00416.79
7.2.120.0760.01014.63
7.2.110.1100.00714.48
7.2.100.0890.01014.76
7.2.90.0980.00714.86
7.2.80.0810.00615.01
7.2.70.0760.01015.29
7.2.60.0930.00614.77
7.2.50.0610.01015.14
7.2.40.1000.00615.18
7.2.30.0900.00714.82
7.2.20.1000.00715.07
7.2.10.0840.00714.87
7.2.00.0770.00715.09
7.1.240.0920.01413.83
7.1.230.0800.00313.92
7.1.220.0830.01313.89
7.1.210.0950.01013.75
7.1.200.0930.01013.86
7.1.190.0960.01313.73
7.1.180.0610.00613.66
7.1.170.0960.01013.89
7.1.160.1080.01013.67
7.1.150.1140.00713.91
7.1.140.1150.00313.68
7.1.130.0950.01313.82
7.1.120.0400.01013.86
7.1.110.1050.00713.85
7.1.100.0750.00014.00
7.1.90.0510.01013.98
7.1.80.1120.01313.65
7.1.70.0910.00313.62
7.1.60.1200.00713.78
7.1.50.0930.00713.85
7.1.40.1030.00713.71
7.1.30.1210.00713.86
7.1.20.0790.00313.91
7.1.10.1050.00013.69
7.1.00.1390.00613.49
5.6.380.0000.01614.38

preferences:
55.58 ms | 401 KiB | 5 Q