3v4l.org

run code in 300+ PHP versions simultaneously
<?php class Xyz { function doStuff() { var_dump($this); } } class Mno { function doOriginalStuff() { Xyz::doStuff(); } } $mno = new Mno(); $mno->doOriginalStuff();

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.0110.00521.98
8.4.110.0140.00518.96
8.4.100.0130.00717.85
8.4.90.0060.00517.90
8.4.80.0050.00419.76
8.4.70.0140.01018.03
8.4.60.0240.01418.02
8.4.50.0230.00618.01
8.4.40.0290.00917.90
8.4.30.0210.00917.68
8.4.20.0210.00917.83
8.4.10.0260.01217.76
8.3.250.0120.00718.73
8.3.240.0120.00816.38
8.3.230.0120.00716.93
8.3.220.0040.00316.61
8.3.210.0230.00817.34
8.3.200.0170.00617.23
8.3.190.0150.00517.27
8.3.180.0160.00517.13
8.3.170.0190.00417.22
8.3.160.0130.00317.29
8.3.150.0170.00717.27
8.3.140.0240.00517.36
8.3.130.0200.00717.21
8.3.120.0210.00617.23
8.3.110.0220.00717.32
8.3.100.0220.00717.21
8.3.90.0230.00617.19
8.3.80.0240.00817.18
8.3.70.0220.00917.20
8.3.60.0180.00917.35
8.3.50.0220.00817.45
8.3.40.0230.00717.69
8.3.30.0210.00517.70
8.3.20.0200.00617.72
8.3.10.0180.00717.82
8.3.00.0120.00517.71
8.2.290.0100.00818.95
8.2.280.0170.00717.39
8.2.270.0210.00617.29
8.2.260.0170.00817.29
8.2.250.0170.00717.34
8.2.240.0190.00517.20
8.2.230.0190.00517.37
8.2.220.0180.00717.24
8.2.210.0180.00717.25
8.2.200.0160.00617.23
8.2.190.0170.00717.37
8.2.180.0160.00817.25
8.2.170.0200.00617.76
8.2.160.0240.00517.83
8.2.150.0210.00917.79
8.2.140.0180.00517.69
8.2.130.0140.00617.78
8.2.120.0170.00417.74
8.2.110.0240.00917.80
8.2.100.0200.00917.79
8.2.90.0220.00717.84
8.2.80.0270.00617.84
8.2.70.0230.00617.79
8.2.60.0210.00717.65
8.2.50.0230.00817.76
8.2.40.0240.00717.88
8.2.30.0210.00717.77
8.2.20.0260.01017.70
8.2.10.0270.00717.77
8.2.00.0230.00817.76
5.6.400.0260.00718.10

preferences:
27.49 ms | 403 KiB | 5 Q