3v4l.org

run code in 300+ PHP versions simultaneously
<?php class A { public static function me() { echo static::$b; } } class B extends A { private static $b = "hello"; } B::me()

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)
5.6.150.0070.08718.24
5.6.140.0100.08318.21
5.6.130.0000.05718.18
5.6.120.0000.09321.01
5.6.110.0000.04721.11
5.6.100.0000.07721.11
5.6.90.0170.07320.98
5.6.80.0170.07720.39
5.5.300.0100.07718.07
5.5.290.0100.07717.93
5.5.280.0030.07020.63
5.5.270.0070.07020.87
5.5.260.0100.08020.80
5.5.250.0100.07720.55
5.5.240.0200.08320.37

preferences:
143.54 ms | 1394 KiB | 7 Q