3v4l.org

run code in 300+ PHP versions simultaneously
<?php class ParentClass{ public function overriding(){ var_dump(__METHOD__, true); } } class ChildClass extends ParentClass { public function overriding(){ var_dump(__METHOD__, false); } } $child = new ChildClass(); $child->overriding();

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.0040.01116.63
8.3.50.0120.00616.63
8.3.40.0140.00018.73
8.3.30.0030.01018.52
8.3.20.0070.00020.04
8.3.10.0070.00023.66
8.3.00.0050.00319.67
8.2.180.0030.01418.54
8.2.170.0090.00622.96
8.2.160.0110.00418.91
8.2.150.0030.00624.18
8.2.140.0040.00424.66
8.2.130.0050.00319.27
8.2.120.0000.00826.35
8.2.110.0090.00022.25
8.2.100.0130.00017.78
8.2.90.0030.00519.08
8.2.80.0040.00417.97
8.2.70.0050.00317.63
8.2.60.0040.00417.93
8.2.50.0040.00418.10
8.2.40.0030.00520.60
8.2.30.0050.00319.22
8.2.20.0000.00817.91
8.2.10.0050.00218.05
8.2.00.0040.00417.96
8.1.280.0110.00425.92
8.1.270.0080.00021.95
8.1.260.0070.00026.35
8.1.250.0040.00428.09
8.1.240.0090.00023.97
8.1.230.0120.00022.13
8.1.220.0040.00417.74
8.1.210.0030.00618.77
8.1.200.0060.00317.23
8.1.190.0040.00416.98
8.1.180.0000.00718.10
8.1.170.0040.00418.51
8.1.160.0070.00018.98
8.1.150.0080.00020.65
8.1.140.0040.00419.38
8.1.130.0030.00318.71
8.1.120.0070.00017.34
8.1.110.0000.00817.33
8.1.100.0040.00417.28
8.1.90.0000.00817.40
8.1.80.0000.00717.36
8.1.70.0080.00017.42
8.1.60.0000.00917.55
8.1.50.0040.00417.55
8.1.40.0000.01017.36
8.1.30.0050.00317.66
8.1.20.0000.00817.70
8.1.10.0020.00517.51
8.1.00.0050.00217.38
8.0.300.0060.00318.77
8.0.290.0020.00516.63
8.0.280.0070.00018.29
8.0.270.0000.00717.18
8.0.260.0000.00716.76
8.0.250.0030.00316.89
8.0.240.0060.00316.76
8.0.230.0000.00716.93
8.0.220.0030.00316.76
8.0.210.0040.00316.68
8.0.200.0030.00316.76
8.0.190.0040.00416.81
8.0.180.0000.00716.82
8.0.170.0060.00316.83
8.0.160.0050.00216.88
8.0.150.0030.00316.76
8.0.140.0040.00416.74
8.0.130.0000.00613.18
8.0.120.0050.00316.78
8.0.110.0000.00716.69
8.0.100.0040.00416.80
8.0.90.0000.00716.88
8.0.80.0100.01016.74
8.0.70.0040.00416.85
8.0.60.0040.00416.67
8.0.50.0020.00516.86
8.0.30.0120.00617.06
8.0.20.0130.02317.40
8.0.10.0040.00416.93
8.0.00.0120.00916.65
7.4.330.0030.00315.55
7.4.320.0060.00016.51
7.4.300.0000.00716.63
7.4.290.0050.00516.60
7.4.280.0050.00316.53
7.4.270.0030.00316.44
7.4.260.0060.00316.57
7.4.250.0070.00016.52
7.4.240.0040.00416.59
7.4.230.0000.00716.68
7.4.220.0100.00716.45
7.4.210.0120.00316.53
7.4.200.0000.00716.59
7.4.160.0120.00416.35
7.4.150.0180.00717.40
7.4.140.0120.00517.86
7.4.130.0090.01216.46
7.4.120.0140.00716.45
7.4.110.0030.01316.42
7.4.100.0070.01316.47
7.4.90.0120.00616.60
7.4.80.0080.00819.39
7.4.70.0040.01316.40
7.4.60.0100.00716.55
7.4.50.0080.00816.22
7.4.40.0070.01416.37
7.4.30.0100.00716.51
7.4.00.0130.00014.65
7.3.330.0000.00513.10
7.3.320.0000.00513.22
7.3.310.0030.00316.19
7.3.300.0070.00016.29
7.3.290.0050.01216.22
7.3.280.0080.01016.24
7.3.270.0090.01317.40
7.3.260.0100.00716.32
7.3.250.0070.01316.23
7.3.240.0090.00916.16
7.3.230.0150.00416.16
7.3.210.0090.00816.44
7.3.200.0030.01216.41
7.3.190.0060.00916.15
7.3.180.0030.01316.09
7.3.170.0040.01316.36
7.3.160.0070.01316.40
7.2.330.0040.01316.44
7.2.320.0180.00616.54
7.2.310.0030.01416.57
7.2.300.0140.00716.63
7.2.290.0200.00316.18
7.2.60.0060.00616.64
7.2.00.0000.01719.07
7.1.200.0070.00315.68
7.1.100.0040.01117.82
7.1.70.0110.00516.94
7.1.60.0220.01334.96
7.1.50.0220.01334.67
7.1.40.0260.01334.31
7.1.30.0260.01534.33
7.1.20.0250.01534.54
7.1.10.0040.01616.37
7.1.00.0120.00316.70
7.0.200.0090.00816.64
7.0.190.0110.01216.71
7.0.180.0090.01116.18
7.0.170.0130.00616.18
7.0.160.0060.01316.03
7.0.150.0050.01116.39
7.0.140.0060.01116.27
7.0.130.0040.01416.23
7.0.120.0060.01216.35
7.0.110.0030.01516.27
7.0.100.0000.01816.09
7.0.90.0060.00916.16
7.0.80.0050.01416.33
7.0.70.0080.01216.16
7.0.60.0050.01815.97
7.0.50.0070.01016.30
7.0.40.0090.00816.52
7.0.30.0110.00616.36
7.0.20.0070.01416.25
7.0.10.0070.01016.23
7.0.00.0050.01216.33

preferences:
45.15 ms | 401 KiB | 5 Q