3v4l.org

run code in 300+ PHP versions simultaneously
<?php namespace MyNamespace; register_shutdown_function("myHandeler"); // this throws an error because it can't find function function myHandeler() { // Some Code. } namespace MyNamespace; register_shutdown_function("MyNamespace\myHandeler"); // this throws no error. function myHandeler() { // Some Code. }

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.0120.04112.38
5.4.190.0150.04312.38
5.4.180.0140.03912.38
5.4.170.0130.03812.39
5.4.160.0140.03912.39
5.4.150.0100.04512.39
5.4.140.0110.04812.07
5.4.130.0110.04712.06
5.4.120.0140.04512.01
5.4.110.0230.06612.01
5.4.100.0130.04512.01
5.4.90.0120.04912.01
5.4.80.0150.04712.01
5.4.70.0130.03912.01
5.4.60.0130.03812.01
5.4.50.0150.04012.01
5.4.40.0150.03611.99
5.4.30.0100.04211.99
5.4.20.0110.04311.99
5.4.10.0120.04511.99
5.4.00.0130.03911.48
5.3.270.0150.04112.72
5.3.260.0110.04612.72
5.3.250.0150.06012.72
5.3.240.0130.04712.72
5.3.230.0180.04312.71
5.3.220.0120.04112.68
5.3.210.0130.04312.68
5.3.200.0190.04912.68
5.3.190.0120.04912.68
5.3.180.0090.04212.67
5.3.170.0120.04012.67
5.3.160.0110.04112.67
5.3.150.0130.03812.67
5.3.140.0120.04212.66
5.3.130.0130.04512.66
5.3.120.0110.04412.66
5.3.110.0120.04112.66
5.3.100.0120.04212.12
5.3.90.0160.04312.10
5.3.80.0100.04112.08
5.3.70.0180.06912.09
5.3.60.0100.04912.07
5.3.50.0120.04212.01
5.3.40.0120.04312.01
5.3.30.0110.03811.98
5.3.20.0130.03811.76
5.3.10.0150.03611.72
5.3.00.0120.03811.71

preferences:
133.33 ms | 1398 KiB | 7 Q