3v4l.org

run code in 300+ PHP versions simultaneously
<?php \Locale::setDefault('nb-no'); $fmt = new IntlDateFormatter(null, IntlDateFormatter::MEDIUM, IntlDateFormatter::MEDIUM "Europe/Vienna"); echo "First Formatted output is ".$fmt->format(0);

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.06020.11
7.0.10.0100.06020.16
7.0.00.0070.06720.30
5.6.170.0200.04720.47
5.6.160.0000.05020.55
5.6.150.0100.07318.18
5.6.140.0130.07718.25
5.6.130.0100.08018.17
5.6.120.0070.07321.00
5.6.110.0070.08321.17
5.6.100.0070.08320.98
5.6.90.0030.06721.10
5.6.80.0130.07720.43
5.5.310.0270.05320.30
5.5.300.0000.04017.94
5.5.290.0070.05018.05
5.5.280.0130.08020.93
5.5.270.0000.08020.88
5.5.260.0130.07020.79
5.5.250.0100.08720.79
5.5.240.0230.06320.25

preferences:
141.75 ms | 1398 KiB | 7 Q