3v4l.org

run code in 300+ PHP versions simultaneously
<?php namespace Text { function strlen($x) { return 'My namespace is just the word Text'; } } namespace AcmeComponents\SplineReticulator\Utilities\Text\Text { function strlen($x) { return 'My namespace has Text\Text at the end'; } } namespace AcmeComponents\SplineReticulator\Utilities\Text { echo Text\strlen("Hello World"); }

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)
8.4.120.0130.00820.57
8.4.110.0130.00820.52
8.4.100.0060.00317.44
8.4.90.0130.00420.54
8.4.80.0020.00619.02
8.4.70.0050.00320.74
8.4.60.0130.00720.36
8.4.50.0120.00418.68
8.4.40.0100.01017.55
8.4.30.0040.00420.58
8.4.20.0160.00421.44
8.4.10.0190.00019.16
8.3.250.0120.00618.72
8.3.240.0120.00616.25
8.3.230.0050.00316.59
8.3.220.0110.01018.82
8.3.210.0030.00516.51
8.3.200.0070.00316.47
8.3.190.0110.00816.95
8.3.180.0110.00718.95
8.3.170.0070.01117.06
8.3.160.0070.01118.33
8.3.150.0150.00416.48
8.3.140.0000.00816.44
8.3.130.0030.00618.36
8.3.120.0080.01220.60
8.3.110.0100.01020.94
8.3.100.0300.00837.54
8.3.90.0220.00037.54
8.3.80.0210.00337.54
8.3.70.0170.00937.54
8.3.60.0220.00037.54
8.3.50.0230.00037.54
8.3.40.0210.00337.54
8.3.30.0150.00437.54
8.3.20.0210.00737.54
8.3.10.0350.00437.54
8.3.00.0320.00737.54
8.2.290.0150.00418.60
8.2.280.0130.00620.11
8.2.270.0060.01218.20
8.2.260.0070.00716.68
8.2.250.0000.00816.31
8.2.240.0090.00017.09
8.2.230.0130.00322.58
8.2.220.0300.00837.54
8.2.210.0210.01537.54
8.2.200.0200.01437.54
8.2.190.0300.01337.54
8.2.180.0360.00837.54
8.2.170.0440.00437.54
8.2.160.0350.00837.54
8.2.150.0350.00637.54
8.2.140.0330.00837.54
8.2.130.0290.01637.54
8.2.120.0340.01037.54
8.2.110.0370.00837.54
8.2.100.0390.00637.54
8.2.90.0300.01337.54
8.2.80.0440.00037.54
8.2.70.0370.00637.54
8.2.60.0360.00837.54
8.2.50.0320.01037.54
8.2.40.0260.01137.54
8.2.30.0370.00037.54
8.2.20.0300.00737.54
8.2.10.0130.01337.54
8.2.00.0180.00037.54
8.1.330.0130.00621.70
8.1.320.0060.00616.03
8.1.310.0110.00716.58
8.1.300.0060.00318.38
8.1.290.0320.00337.54
8.1.280.0280.00337.54
8.1.270.0170.00337.54
8.1.260.0400.00337.54
8.1.250.0390.00037.54
8.1.240.0160.01037.54
8.1.230.0160.01037.54
8.1.220.0170.00737.54
8.1.210.0160.00337.54
8.1.200.0290.00037.54
8.1.190.0230.00037.54
8.1.180.0290.00337.54
8.1.170.0060.01337.54
8.1.160.0140.00437.54
8.1.150.0260.00637.54
8.1.140.0210.00637.54
8.1.130.0250.01437.54
8.1.120.0390.00037.54
8.1.110.0280.00937.54
8.1.100.0280.00537.54
8.1.90.0330.00537.54
8.1.80.0350.00337.54
8.1.70.0230.01637.54
8.1.60.0340.00837.54
8.1.50.0330.00837.54
8.1.40.0250.01837.54
8.1.30.0420.00037.54
8.1.20.0320.01137.54
8.1.10.0290.01337.54
8.1.00.0400.00837.54

preferences:
40.94 ms | 403 KiB | 5 Q