3v4l.org

run code in 300+ PHP versions simultaneously
<?php for ($i=0;$i<10000;$i++) { printf("%016x\n", mt_rand(1, PHP_INT_MAX-1)); }

Abusive script

This script was stopped while abusing our resources

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)
7.1.80.0030.00917.75
7.1.70.0060.00616.99
7.1.60.0200.00934.98
7.1.50.0110.01934.86
7.1.40.0190.01234.56
7.1.30.0160.01334.57
7.1.20.0100.01734.54
7.1.10.0000.01916.53
7.1.00.0110.00716.25
7.0.200.0060.00616.81
7.0.190.0090.00916.41
7.0.180.0070.01316.30
7.0.170.0060.00616.17
7.0.160.0100.00316.03
7.0.150.0090.00916.20
7.0.140.0130.00316.14
5.6.300.0060.05520.92
5.6.290.0030.06320.78

preferences:
26.11 ms | 403 KiB | 5 Q