3v4l.org

run code in 300+ PHP versions simultaneously
<?php class Test { // public function test() { echo 'instance test'; } public static function test() { echo 'static test'; } } class Test2 extends Test { public function runTest() { parent::test(); } } (new Test2)->runTest();

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.80.0040.00416.75
8.3.70.0150.00016.58
8.3.60.0160.00916.45
8.3.50.0120.00616.72
8.3.40.0150.00619.70
8.3.30.0210.00018.97
8.3.20.0140.00721.60
8.3.10.0070.01421.82
8.3.00.0140.00718.83
8.2.200.0040.00418.42
8.2.190.0000.01616.58
8.2.180.0170.00318.28
8.2.170.0140.00718.72
8.2.160.0060.01520.14
8.2.150.0140.00718.95
8.2.140.0120.00920.58
8.2.130.0110.00720.34
8.2.120.0170.00019.27
8.2.110.0150.00619.25
8.2.100.0100.00719.16
8.2.90.0180.00318.71
8.2.80.0110.01119.02
8.2.70.0160.00618.70
8.2.60.0100.01018.72
8.2.50.0070.01418.97
8.2.40.0160.00618.82
8.2.30.0140.00718.53
8.2.20.0110.01118.71
8.2.10.0130.00918.44
8.2.00.0100.01018.63
8.1.290.0060.00330.84
8.1.280.0070.00725.92
8.1.270.0090.01322.11
8.1.260.0060.01622.13
8.1.250.0140.00322.01
8.1.240.0080.00818.25
8.1.230.0090.01318.34
8.1.220.0060.01318.82
8.1.210.0100.01418.30
8.1.200.0090.00618.72
8.1.190.0140.00718.55
8.1.180.0070.01417.97
8.1.170.0140.00318.73
8.1.160.0140.00418.50
8.1.150.0090.00618.60
8.1.140.0080.00618.60
8.1.130.0130.00318.73
8.1.120.0030.01218.21
8.1.110.0070.00718.27
8.1.100.0000.01519.73
8.1.90.0150.00018.43
8.1.80.0070.00719.56
8.1.70.0120.00618.63
8.1.60.0040.01218.70
8.1.50.0030.01218.64
8.1.40.0070.01418.66
8.1.30.0100.01018.92
8.1.20.0100.01019.97
8.1.10.0120.00618.69
8.1.00.0070.01018.57

preferences:
27.02 ms | 401 KiB | 5 Q