3v4l.org

run code in 300+ PHP versions simultaneously
<?php class A { public static function who() { echo __CLASS__; } public static function test() { self::who(); } } class B extends A { public static function who() { echo __CLASS__; } } B::test()

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)
7.1.70.0080.00817.05
7.1.60.0710.01933.15
7.1.50.0720.01734.81
7.1.40.1600.01332.20
7.1.30.0290.00534.36
7.1.20.0130.02234.61
7.1.10.0030.01416.11
7.1.00.0130.00316.68
7.0.200.0730.01316.64
7.0.190.0090.00616.68
7.0.180.0100.00716.00
7.0.170.0030.01415.98
7.0.160.0080.00915.97
7.0.150.0000.01615.96
7.0.140.0070.01016.18
7.0.130.0040.01216.38
7.0.120.0040.01216.27
7.0.110.0090.00616.21
7.0.100.0030.01316.30
7.0.90.0060.01016.23
7.0.80.0050.01216.43
7.0.70.0030.01316.09
7.0.60.0030.01415.75
7.0.50.0050.01216.29
7.0.40.0030.01616.41
7.0.30.0110.00716.30
7.0.20.0030.01516.52
7.0.10.0070.00916.21
7.0.00.0060.00916.05

preferences:
138.76 ms | 1386 KiB | 7 Q