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 { public static $val = 'Bar'; public static function huh() { return parent::huh() } } 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.2930.03016.59
5.4.80.2630.03316.49
5.4.70.2970.04316.58
5.4.60.2700.03316.17
5.4.50.2600.03316.43
5.4.40.2630.03316.18
5.4.30.3130.03716.51
5.4.20.3000.04716.38
5.4.10.2700.04016.54
5.4.00.2600.03315.76
5.3.190.2500.04014.64
5.3.180.2770.03714.54
5.3.170.3000.04014.53
5.3.160.2800.03714.62
5.3.150.3000.04014.48
5.3.140.2430.04014.57
5.3.130.2700.04314.60
5.3.120.2770.03314.54
5.3.110.2730.04314.49
5.3.100.2970.04014.10
5.3.90.2400.04013.93
5.3.80.2500.03314.13
5.3.70.2500.04014.11
5.3.60.2400.03314.02
5.3.50.2500.04013.88
5.3.40.2530.03714.08
5.3.30.2030.04313.96
5.3.20.2530.03313.67
5.3.10.2570.03013.66
5.3.00.1170.03013.70

preferences:
138.17 ms | 1398 KiB | 7 Q