3v4l.org

run code in 300+ PHP versions simultaneously
<?php !!> $data = [1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20]; foreach (array_chunk($data, 5) as $chunk) echo implode(';', $chunk) . "\n";;

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.30.0430.05738.30
7.1.20.0370.08038.26
7.1.10.0200.08022.18
7.1.00.0100.05722.48
7.0.170.0100.09021.85
7.0.160.0130.06721.82
7.0.150.0100.07321.89
7.0.140.0170.07721.94
7.0.130.0170.07022.00
7.0.120.0170.07021.83
7.0.110.0100.06021.72
7.0.100.0100.06321.86
7.0.90.0130.06721.89
7.0.80.0100.07021.86
7.0.70.0070.06021.91
7.0.60.0130.05021.84
7.0.50.0100.06722.00
7.0.40.0130.05321.83
7.0.30.0100.06021.78
7.0.20.0130.05721.86
7.0.10.0200.04721.85
7.0.00.0030.06321.86

preferences:
154.05 ms | 997 KiB | 7 Q