3v4l.org

run code in 300+ PHP versions simultaneously
<?php Locale::setDefault('no_NO'); $fmt = new IntlDateFormatter( Locale::getDefault(), IntlDateFormatter::FULL, IntlDateFormatter::FULL, 'America/Los_Angeles', IntlDateFormatter::GREGORIAN ); echo 'Formatted output is ' . $fmt->format(0); Locale::setDefault('en_GB') $fmt = new IntlDateFormatter( Locale::getDefault(), IntlDateFormatter::FULL, IntlDateFormatter::FULL, 'America/Los_Angeles', IntlDateFormatter::GREGORIAN ); echo '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)
5.6.140.0100.05018.15
5.6.130.0170.07018.14
5.6.120.0100.07721.08
5.6.110.0200.06720.88
5.6.100.0170.08021.00
5.6.90.0070.08320.97
5.6.80.0100.05320.50
5.5.300.0030.08017.97
5.5.290.0100.07017.98
5.5.280.0170.07320.76
5.5.270.0070.08320.84
5.5.260.0030.08720.97
5.5.250.0030.08320.61
5.5.240.0100.04020.26
5.4.450.0330.09719.58
5.4.440.0570.07719.59
5.4.430.0200.06019.71
5.4.420.0530.07719.48
5.4.410.0430.05719.34
5.4.400.0230.08018.87
5.4.390.0170.07319.25
5.4.380.0400.08019.29
5.4.370.0630.04719.15
5.4.360.0730.05319.26
5.4.350.0630.05318.98
5.4.340.0700.07019.29
5.4.320.0730.08019.15
5.4.310.0600.05718.87
5.4.300.0900.05019.32
5.4.290.0630.06019.33
5.4.280.0430.06719.01
5.4.270.0730.05319.27
5.4.260.0600.05019.15
5.4.250.0670.05319.25
5.4.240.0600.05319.28
5.4.230.0830.04019.27
5.4.220.0630.06019.30
5.4.210.0600.05019.20
5.4.200.0730.06018.99
5.4.190.0570.06718.97
5.4.180.0570.05318.97
5.4.170.0800.05019.00
5.4.160.0730.06319.11
5.4.150.0670.07019.27
5.4.140.0730.07716.59
5.4.130.0600.07016.33
5.4.120.0630.06016.36
5.4.110.0830.04316.53
5.4.100.0600.05316.43
5.4.90.0830.05316.59
5.4.80.0670.05316.43
5.4.70.0570.07316.50
5.4.60.0600.06716.57
5.4.50.0670.07016.25
5.4.40.0630.06016.16
5.4.30.0470.06016.16
5.4.20.0830.06316.24
5.4.10.0500.07716.42
5.4.00.0670.06316.17

preferences:
153.28 ms | 1394 KiB | 7 Q