3v4l.org

run code in 300+ PHP versions simultaneously
<?php namespace Foo { class A { public function hello() { echo __NAMESPACE__; } } } namespace Bar { class B extends \Foo\A { } } $b = new \Bar\B; $b->hello();

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.200.0140.03912.39
5.4.190.0100.04712.38
5.4.180.0100.04912.39
5.4.170.0090.04212.40
5.4.160.0110.04212.39
5.4.150.0090.04212.39
5.4.140.0140.03812.07
5.4.130.0100.04212.06
5.4.120.0110.03912.02
5.4.110.0120.03812.02
5.4.100.0090.04212.02
5.4.90.0080.04312.01
5.4.80.0140.03812.02
5.4.70.0110.03912.01
5.4.60.0130.03512.01
5.4.50.0110.03912.01
5.4.40.0100.04212.00
5.4.30.0120.04211.99
5.4.20.0110.04012.00
5.4.10.0170.03512.00
5.4.00.0110.04011.49
5.3.270.0320.03512.72
5.3.260.0140.04512.72
5.3.250.0150.04112.72
5.3.240.0150.04012.72
5.3.230.0110.04912.71
5.3.220.0150.03912.68
5.3.210.0130.04512.68
5.3.200.0140.04112.68
5.3.190.0120.04312.68
5.3.180.0130.04112.67
5.3.170.0150.03812.67
5.3.160.0130.04212.68
5.3.150.0110.04212.67
5.3.140.0160.04212.66
5.3.130.0130.04312.66
5.3.120.0100.04912.66
5.3.110.0130.04712.65
5.3.100.0100.04412.12
5.3.90.0110.04512.10
5.3.80.0140.03812.09
5.3.70.0090.04312.09
5.3.60.0110.04112.07
5.3.50.0130.03812.02
5.3.40.0090.04212.02
5.3.30.0100.03911.99
5.3.20.0110.03911.76
5.3.10.0140.03811.73
5.3.00.0120.03811.71

preferences:
140.57 ms | 1398 KiB | 7 Q