3v4l.org

run code in 300+ PHP versions simultaneously
<?php class theParent { function derp() { echo 'Everything went better than expected...'; } } class ParentChild extends theParent { function derp() { die('DONT DO THIS'); } } class Child extends ParentChild { function derp() { // dont parent::derp(); parent::parent::derp(); } }

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.0140.00018.30
8.3.50.0100.00521.08
8.3.40.0170.00318.54
8.3.30.0090.00618.72
8.3.20.0090.00018.54
8.3.10.0040.00420.96
8.3.00.0050.00321.54
8.2.180.0120.00316.38
8.2.170.0110.00722.96
8.2.160.0110.00320.35
8.2.150.0050.00324.18
8.2.140.0040.00424.66
8.2.130.0040.00426.16
8.2.120.0040.00421.06
8.2.110.0100.00022.13
8.2.100.0030.00618.72
8.1.280.0130.00325.92
8.1.270.0000.00723.99
8.1.260.0070.00726.35
8.1.250.0040.00428.09
8.1.240.0050.00518.45
8.1.230.0060.00318.45
5.4.70.0080.03812.02
5.4.60.0090.03712.02
5.4.50.0110.03712.02
5.4.40.0090.03912.01
5.4.30.0110.03812.00
5.4.20.0080.03912.00
5.4.10.0160.04512.00
5.4.00.0070.04211.50
5.3.170.0180.06212.67
5.3.160.0130.04412.67
5.3.150.0110.05212.67
5.3.140.0080.04512.66
5.3.130.0090.04712.66
5.3.120.0120.04512.66
5.3.110.0120.04512.66
5.3.100.0130.04712.13
5.3.90.0090.04612.10
5.3.80.0150.05812.09
5.3.70.0110.04112.09
5.3.60.0100.04312.08
5.3.50.0100.03912.03
5.3.40.0140.04712.03
5.3.30.0080.04411.99
5.3.20.0100.04011.78
5.3.10.0080.03911.73
5.3.00.0100.03811.72

preferences:
40.79 ms | 400 KiB | 5 Q