3v4l.org

run code in 300+ PHP versions simultaneously
<?php for ($i = 0; $i < 100; $i++) { echo uniqid('', true) . PHP_EOL; }

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.3.110.0250.00916.39
7.3.00.0030.00716.73
7.2.130.0030.00917.00
7.2.120.0030.00916.88
7.2.110.0060.00617.02
7.2.100.0030.01216.92
7.2.90.0070.00716.95
7.2.80.0000.01316.82
7.2.70.0150.00016.76
7.2.60.0030.00916.95
7.2.50.0070.00717.02
7.2.40.0070.00717.05
7.2.30.0000.01416.78
7.2.20.0060.00917.01
7.2.10.0040.00716.71
7.2.00.0040.00918.08
7.1.250.0080.00415.84
7.1.240.0040.01115.63
7.1.230.0070.00415.80
7.1.220.0060.00615.80
7.1.210.0000.01115.91
7.1.200.0030.00915.68
7.1.190.0060.00915.58
7.1.180.0000.01115.71
7.1.170.0030.01015.68
7.1.160.0100.00715.57
7.1.150.0070.00715.75
7.1.140.0110.00415.87
7.1.130.0050.00515.68
7.1.120.0100.00715.53
7.1.110.0070.00715.89
7.1.100.0040.01115.91
7.1.90.0080.00415.87
7.1.80.0000.01515.68
7.1.70.0020.01016.56
7.1.60.0070.00617.83
7.1.50.0080.00816.31
7.1.40.0110.00415.68
7.1.30.0000.00915.70
7.1.20.0030.01115.70
7.1.10.0030.00515.70
7.1.00.0090.03819.05
7.0.330.0110.00415.47
7.0.320.0040.00815.14
7.0.310.0090.00315.55
7.0.300.0000.00815.38
7.0.290.0090.00615.02
7.0.280.0000.00915.41
7.0.270.0000.01415.48
7.0.260.0040.00715.36
7.0.250.0030.01015.43
7.0.240.0080.00415.24
7.0.230.0030.01315.39
7.0.220.0030.01115.58
7.0.210.0070.00715.46
7.0.200.0160.00915.06
7.0.190.0080.00315.48
7.0.180.0000.01115.45
7.0.170.0040.00815.45
7.0.160.0030.00715.52
7.0.150.0070.00315.30
7.0.140.0040.01115.64
7.0.130.0000.00815.47
7.0.120.0060.00315.14
7.0.110.0060.00315.34
7.0.100.0040.00815.20
7.0.90.0420.00517.61
7.0.80.0580.00317.82
7.0.70.0400.00417.58
7.0.60.0460.00317.74
7.0.50.0450.00217.80
7.0.40.0420.00516.95
7.0.30.0430.00316.76
7.0.20.0440.00116.81
7.0.10.0430.00316.79
7.0.00.0500.00216.89
5.6.380.0100.00314.07
5.6.370.0000.01314.45
5.6.360.0000.01414.14
5.6.350.0000.01314.09
5.6.340.0070.00714.25
5.6.330.0070.00414.23
5.6.320.0000.01314.31
5.6.310.0070.00414.30
5.6.300.0030.01014.19
5.6.290.0040.01114.27
5.6.280.0070.00713.84
5.6.270.0060.00614.02
5.6.260.0060.00314.24
5.6.250.0000.01013.96
5.6.240.0380.00317.53
5.6.230.0500.00317.45
5.6.220.0350.00317.36
5.6.210.0380.00217.48
5.6.200.0370.00517.79
5.6.190.0390.00217.86
5.6.180.0440.00417.86
5.6.170.0330.00417.55
5.6.160.0370.00117.61
5.6.150.0470.00217.67
5.6.140.0370.00517.59
5.6.130.0390.00217.67
5.6.120.0350.00617.64
5.6.110.0380.00317.54
5.6.100.0370.00317.73
5.6.90.0400.00317.75
5.6.80.0330.00517.31
5.6.70.0400.00417.40
5.6.60.0370.00217.38
5.6.50.0400.00217.23
5.6.40.0360.00317.23
5.6.30.0340.00217.54
5.6.20.0360.00217.33
5.6.10.0360.00117.29
5.6.00.0380.00317.40

preferences:
23.44 ms | 403 KiB | 5 Q