3v4l.org

run code in 300+ PHP versions simultaneously
<?php echo "datetime: " . date('Y-m-d H:i:s'); . "\n"; echo "datetime with offset: " . date('Y-m-d H:i:s', 32400);

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.20.0300.04020.34
7.0.10.0130.06320.21
7.0.00.0130.08020.24
5.6.170.0330.06320.44
5.6.160.0030.08320.48
5.6.150.0070.08018.18
5.6.140.0100.07718.29
5.6.130.0030.08318.14
5.6.120.0100.06721.03
5.6.110.0170.06320.98
5.6.100.0030.05321.10
5.6.90.0070.06020.95
5.6.80.0070.08320.41
5.5.310.0230.05320.24
5.5.300.0070.08018.08
5.5.290.0030.05317.95
5.5.280.0030.07720.89
5.5.270.0030.04320.86
5.5.260.0200.07020.95
5.5.250.0170.07020.43
5.5.240.0370.06720.28

preferences:
137.33 ms | 1394 KiB | 7 Q