3v4l.org

run code in 500+ PHP versions simultaneously
<?php namespace Foo { $a = 'test'; } namespace Bar { echo $a; }

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.5.80.0060.00116.63
8.5.70.0040.00316.85
8.5.60.0090.00816.71
8.5.50.0090.00716.51
8.5.30.0070.00918.05
8.5.20.0110.00520.11
8.5.10.0110.00716.51
8.5.00.0110.01019.78
8.4.230.0090.00119.49
8.4.220.0030.00619.43
8.4.210.0150.00719.46
8.4.180.0150.00720.64
8.4.170.0120.00823.92
8.4.160.0090.01323.69
8.4.150.0070.00516.83
8.4.140.0070.01417.52
8.4.130.0110.00817.73
8.4.120.0100.01024.15
8.4.110.0130.00622.49
8.4.100.0120.00917.52
8.4.90.0100.00717.79
8.4.80.0370.00518.76
8.4.70.0420.00917.69
8.4.60.0400.01117.45
8.4.50.0430.00517.44
8.4.40.0430.01017.42
8.4.30.0430.00917.05
8.4.20.0430.00917.39
8.4.10.0460.00717.50
8.3.320.0090.01118.27
8.3.310.0130.00618.36
8.3.300.0130.00718.25
8.3.290.0110.01320.61
8.3.280.0130.00818.20
8.3.270.0110.00816.54
8.3.260.0130.00616.43
8.3.250.0060.00219.00
8.3.240.0110.00817.00
8.3.230.0090.01016.36
8.3.220.0290.01218.93
8.3.210.0390.00816.84
8.3.200.0420.01016.84
8.3.190.0390.01016.84
8.3.180.0340.00416.84
8.3.170.0340.00816.84
8.3.160.0430.01116.84
8.3.150.0330.00316.84
8.3.140.0170.00516.84
8.3.130.0170.00316.84
8.3.120.0220.00416.84
8.3.110.0260.00416.84
8.3.100.0410.00716.84
8.3.90.0430.00716.84
8.3.80.0410.00916.84
8.3.70.0410.00616.84
8.3.60.0400.00816.84
8.3.50.0340.01416.84
8.3.40.0260.00617.33
8.3.30.0170.00217.34
8.3.20.0130.00517.40
8.3.10.0310.00717.21
8.3.00.0130.01117.28
8.2.320.0100.00917.93
8.2.310.0090.00917.89
8.2.300.0100.00918.73
8.2.290.0070.01020.17
8.2.280.0280.00816.84
8.2.270.0200.00416.84
8.2.260.0140.00516.84
8.2.250.0150.00516.84
8.2.240.0200.00616.84
8.2.230.0220.00316.84
8.2.220.0130.00616.84
8.2.210.0150.00416.84
8.2.200.0210.00216.84
8.2.190.0260.00916.84
8.2.180.0330.00816.84
8.2.170.0440.00417.68
8.2.160.0230.00317.61
8.2.150.0240.00417.64
8.2.140.0300.00317.29
8.2.130.0220.00617.68
8.2.120.0350.00817.33
8.2.110.0380.00717.73
8.2.100.0390.00517.56
8.2.90.0320.00917.70
8.2.80.0360.00517.32
8.2.70.0350.01017.35
8.2.60.0390.00617.34
8.2.50.0370.00617.44
8.2.40.0330.00817.65
8.2.30.0320.00917.45
8.2.20.0430.00617.54
8.2.10.0440.00917.34
8.2.00.0310.00717.52
8.1.340.0110.01021.62

preferences:
61.51 ms | 875 KiB | 5 Q