3v4l.org

run code in 300+ PHP versions simultaneously
<?php namespace TomPHP\Transform { define('ARGUMENT', uniqid()); } namespace Foo { use TomPHP\Transform as T; var_dump( T\ARGUMENT ); }

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.0.110.0000.00716.82
8.0.100.0040.00417.00
8.0.90.0040.00416.99
8.0.80.0030.01616.85
8.0.70.0000.00816.98
8.0.60.0030.00616.88
8.0.50.0050.00217.01
8.0.30.0120.00617.07
8.0.20.0100.00917.40
8.0.10.0040.00416.80
8.0.00.0140.00616.81
7.4.240.0030.00316.52
7.4.230.0000.00716.45
7.4.220.0130.01016.46
7.4.210.0090.00716.49
7.4.200.0020.00516.24
7.4.160.0120.00316.39
7.4.150.0120.00617.40
7.4.140.0090.00917.86
7.4.130.0130.00616.41
7.4.120.0110.00616.37
7.4.110.0080.00816.48
7.4.100.0060.01116.48
7.4.90.0160.00816.33
7.4.80.0160.00619.39
7.4.70.0110.00616.70
7.4.60.0100.00616.63
7.4.50.0070.00716.46
7.4.40.0070.01416.57
7.4.30.0120.00616.52
7.4.00.0060.00614.86
7.3.300.0030.00316.14
7.3.290.0030.00316.24
7.3.280.0120.00616.25
7.3.270.0120.01217.40
7.3.260.0070.01016.42
7.3.250.0140.00616.41
7.3.240.0090.00716.27
7.3.230.0080.00916.39
7.3.210.0000.01716.28
7.3.200.0190.00619.39
7.3.190.0140.00716.39
7.3.180.0070.01016.17
7.3.170.0030.01216.25
7.3.160.0130.00816.30
7.3.10.0190.00016.55
7.3.00.0040.01316.34
7.2.330.0090.00916.46
7.2.320.0070.01016.70
7.2.310.0110.00616.77
7.2.300.0120.00916.52
7.2.290.0130.00316.48
7.2.130.0030.01516.87
7.2.120.0100.00716.67
7.2.110.0030.00617.00
7.2.100.0030.00716.84
7.2.90.0030.00616.71
7.2.80.0070.00716.94
7.2.70.0060.00916.87
7.2.60.0080.00616.95
7.2.50.0100.00316.95
7.2.40.0100.00316.88
7.2.30.0070.01016.77
7.2.20.0120.00316.80
7.2.10.0060.01016.88
7.2.00.0050.00817.91
7.1.250.0070.00715.55
7.1.200.0090.00315.85
7.1.100.0070.00718.11
7.1.70.0070.00417.20
7.1.60.0170.01019.40
7.1.50.0030.00716.70
7.1.00.0070.07322.48
7.0.200.0080.00016.67
7.0.60.0170.08021.88
7.0.50.0070.03717.86
7.0.40.0130.08319.98
7.0.30.0230.05720.00
7.0.20.0270.08020.00
7.0.10.0030.06720.28
7.0.00.0070.05320.12
5.6.280.0070.04021.02
5.6.210.0130.07320.48
5.6.200.0070.08718.16
5.6.190.0230.07320.63
5.6.180.0370.07320.63
5.6.170.0130.04320.52
5.6.160.0100.03320.50
5.6.150.0100.08018.18
5.6.140.0030.04018.18
5.6.130.0030.05018.07
5.6.120.0070.04320.98
5.6.110.0170.07020.98
5.6.100.0130.07021.13
5.6.90.0230.06720.96
5.6.80.0070.07720.43
5.5.350.0130.04020.40
5.5.340.0130.07017.91
5.5.330.0030.04320.36
5.5.320.0570.07020.13
5.5.310.0430.06720.12
5.5.300.0070.03718.02
5.5.290.0130.07317.94
5.5.280.0030.04720.76
5.5.270.0100.08320.92
5.5.260.0170.07320.83
5.5.250.0070.07720.57
5.5.240.0270.06020.23

preferences:
28.67 ms | 401 KiB | 5 Q