3v4l.org

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

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.2.100.2300.01914.26
7.2.90.0960.01614.25
7.2.80.2170.00714.58
7.2.70.1170.01014.75
7.2.60.0280.01914.72
7.2.50.0350.01314.80
7.2.40.2070.01014.99
7.1.220.0230.01113.77
7.1.210.1090.01913.50
7.1.200.2240.01313.50
7.1.190.2500.01013.79
7.1.180.2070.01313.82
7.1.170.2450.01313.70
7.0.310.3130.01313.45
7.0.300.1830.01513.71
5.6.380.0260.01114.30
5.6.370.0200.01314.39
5.6.360.0190.02614.04

preferences:
27.31 ms | 403 KiB | 5 Q