3v4l.org

run code in 300+ PHP versions simultaneously
<?php class Foo { public static $val = 'Foo'; public static function huh() { echo self::$val; } } class Bar extends Foo { protected static $val = 'Bar'; } Foo::huh(); Bar::huh();

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.4.90.0030.03716.46
5.4.80.0030.07316.49
5.4.70.0130.07016.47
5.4.60.0000.06316.43
5.4.50.0100.05716.38
5.4.40.0000.04016.32
5.4.30.0100.06016.38
5.4.20.0100.04316.35
5.4.10.0130.05316.36
5.4.00.0070.06015.73
5.3.190.0070.07714.59
5.3.180.0100.06014.52
5.3.170.0070.07314.55
5.3.160.0100.07314.52
5.3.150.0030.07714.57
5.3.140.0100.06714.59
5.3.130.0070.08014.58
5.3.120.0030.07714.50
5.3.110.0070.06714.59
5.3.100.0030.05014.10
5.3.90.0100.07014.06
5.3.80.0130.07014.00
5.3.70.0130.06014.04
5.3.60.0030.07314.02
5.3.50.0130.03713.96
5.3.40.0030.04313.94
5.3.30.0030.03713.92
5.3.20.0070.03313.59
5.3.10.0070.07713.67
5.3.00.0030.04013.63

preferences:
138.48 ms | 1394 KiB | 7 Q