3v4l.org

run code in 300+ PHP versions simultaneously
<?php namespace foo; class Xyz {} function abc () {} ?> <?php namespace bar; class Xyz {} function abc () {} ?> <?php namespace bar; use foo\Xyz; use foo\abc; new Xyz(); // instantiates \foo\Xyz new namespace\Xyz(); // instantiates \bar\Xyz abc(); // invokes \bar\abc regardless of the second use statement \foo\abc(); // it has to be invoked using the fully qualified name ?> ?>

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.230.0100.04112.38
5.4.220.0080.04212.38
5.4.210.0110.04112.38
5.4.200.0110.04412.38
5.4.190.0160.04712.38
5.4.180.0100.04212.37
5.4.170.0100.04412.38
5.4.160.0090.04312.38
5.4.150.0080.04012.38
5.4.140.0130.04112.06
5.4.130.0100.04112.05
5.4.120.0160.05312.00
5.4.110.0120.04012.00
5.4.100.0090.04112.00
5.4.90.0140.06512.00
5.4.80.0090.04012.00
5.4.70.0090.03912.00
5.4.60.0090.03712.00
5.4.50.0080.03812.00
5.4.40.0100.03811.98
5.4.30.0100.04211.98
5.4.20.0100.03911.98
5.4.10.0100.03711.98
5.4.00.0100.03711.47
5.3.280.0110.04212.71
5.3.270.0100.04212.72
5.3.260.0090.04312.72
5.3.250.0090.04112.72
5.3.240.0170.05812.72
5.3.230.0140.04412.71
5.3.220.0120.04512.68
5.3.210.0120.04412.68
5.3.200.0110.04112.68
5.3.190.0130.04012.67
5.3.180.0100.04012.67
5.3.170.0110.03812.67
5.3.160.0110.04012.67
5.3.150.0090.04012.67
5.3.140.0140.04512.66
5.3.130.0110.03912.66
5.3.120.0080.04212.66
5.3.110.0100.04112.66
5.3.100.0100.03912.12
5.3.90.0120.04712.09
5.3.80.0110.04012.08
5.3.70.0080.04212.08
5.3.60.0110.03912.07
5.3.50.0180.05212.01
5.3.40.0090.04312.01
5.3.30.0130.04211.97
5.3.20.0110.04111.75
5.3.10.0110.03811.71
5.3.00.0120.03511.70

preferences:
143.71 ms | 1394 KiB | 7 Q