3v4l.org

run code in 300+ PHP versions simultaneously
<?php class Foo { public static function x() { return 'x'; } } class Bar extends Foo { public function x() { return 'y'; } } var_dump(Foo::x()); var_dump((new Bar)->x());

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.290.0230.07112.51
5.4.280.0150.10712.40
5.4.270.0120.06212.41
5.4.260.0170.08012.40
5.4.250.0210.16812.40
5.4.240.0120.06212.41
5.4.230.0220.11112.39
5.4.220.0060.04112.40
5.4.210.0080.04812.39
5.4.200.0070.04812.40
5.4.190.0090.05312.40
5.4.180.0150.07112.39
5.4.170.0130.05112.40
5.4.160.0190.05912.40
5.4.150.0170.05112.40
5.4.140.0140.07912.08
5.4.130.0120.05412.07
5.4.120.0120.07112.03
5.4.110.0100.05612.02
5.4.100.0080.04912.02
5.4.90.0080.04912.02
5.4.80.0160.06512.02
5.4.70.0120.05312.02
5.4.60.0090.04912.02
5.4.50.0110.04012.02
5.4.40.0060.05012.01
5.4.30.0100.05712.00
5.4.20.0100.04812.00
5.4.10.0140.07312.00
5.4.00.0070.05311.50
5.3.280.0060.04712.71
5.3.270.0110.06212.73
5.3.260.0130.05012.72
5.3.250.0150.05912.72
5.3.240.0130.06112.72
5.3.230.0090.04512.71
5.3.220.0120.06612.68
5.3.210.0200.07912.68
5.3.200.0190.08512.68
5.3.190.0090.05112.68
5.3.180.0130.09712.67
5.3.170.0190.11212.67
5.3.160.0310.07812.67
5.3.150.0180.06612.68
5.3.140.0300.10412.66
5.3.130.0090.05512.66
5.3.120.0090.04312.66
5.3.110.0070.04212.66
5.3.100.0060.04212.13
5.3.90.0080.04012.11
5.3.80.0100.03912.09
5.3.70.0100.03912.10
5.3.60.0110.05012.08
5.3.50.0070.04212.03
5.3.40.0070.04112.03
5.3.30.0140.08311.99
5.3.20.0100.03511.76
5.3.10.0070.06311.73
5.3.00.0120.06311.73

preferences:
143.99 ms | 1394 KiB | 7 Q