3v4l.org

run code in 300+ PHP versions simultaneously
<?php $start_time = microtime(TRUE); .. $end_time = microtime(TRUE); echo $end_time - $start_time;

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.0.00.0100.08320.11
5.6.160.0070.06020.44
5.6.150.0100.08018.19
5.6.140.0030.07018.23
5.6.130.0130.07318.15
5.6.120.0130.07720.96
5.6.110.0200.07320.98
5.6.100.0000.04321.12
5.6.90.0100.08020.96
5.6.80.0100.07320.50
5.5.300.0100.07717.98
5.5.290.0030.07317.96
5.5.280.0100.06320.96
5.5.270.0100.08020.75
5.5.260.0200.08020.84
5.5.250.0130.07020.58
5.5.240.0330.07020.11

preferences:
135.57 ms | 1394 KiB | 7 Q