3v4l.org

run code in 300+ PHP versions simultaneously
<?php // Everything you enter here will be executed by our servers. Try it! abstract class Foo { public static function bar(); } class Baz extends Foo { public static function bar() { return 1; } } var_dump(Foo::bar());

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.170.0140.05712.37
5.4.160.0120.04112.37
5.4.150.0120.04112.36
5.4.140.0100.04212.05
5.4.130.0120.04012.03
5.4.120.0130.04011.99
5.4.110.0130.04011.99
5.4.100.0150.04011.99
5.4.90.0130.04211.98
5.4.80.0230.06111.98
5.4.70.0120.03911.98
5.4.60.0130.03811.98
5.4.50.0120.04111.98
5.4.40.0130.03911.97
5.4.30.0120.03911.97
5.4.20.0100.04111.97
5.4.10.0110.04011.97
5.4.00.0120.04011.46
5.3.270.0170.04912.72
5.3.260.0110.04512.72
5.3.250.0130.04312.72
5.3.240.0100.04512.72
5.3.230.0130.04312.71
5.3.220.0160.04312.68
5.3.210.0150.04212.68
5.3.200.0120.04312.68
5.3.190.0140.04112.68
5.3.180.0140.03912.67
5.3.170.0140.04012.67
5.3.160.0140.03912.67
5.3.150.0130.04012.67
5.3.140.0140.04112.66
5.3.130.0180.05812.66
5.3.120.0140.04312.66
5.3.110.0140.04212.66
5.3.100.0130.04112.12
5.3.90.0140.04112.09
5.3.80.0180.04712.08
5.3.70.0160.04312.08
5.3.60.0110.04312.06
5.3.50.0120.04112.01
5.3.40.0140.03912.01
5.3.30.0100.04211.97
5.3.20.0140.03811.75
5.3.10.0150.04611.71
5.3.00.0120.04111.69

preferences:
139.78 ms | 1394 KiB | 7 Q