3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php foreach (['en_US', 'ru_RU', 'es_ES', 'fa_IR'] as $locale) { $formatter = new IntlDateFormatter( $locale, IntlDateFormatter::LONG, IntlDateFormatter::NONE, 'Europe/Moscow' ); echo $formatter->format(1455111783), PHP_EOL; }

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).
Note: hhvm uses a JIT which only kicks in after a few runs. Since we run scripts only once, hhvm always runs slower.

VersionSystem time (s)User time (s)Memory (MiB)
7.0.30.1260.01017.17
7.0.20.1030.01117.25
7.0.10.0210.01017.27
7.0.00.0990.00617.00
hhvm-3.11.10.0890.18988.99
hhvm-3.10.10.0790.14186.04
5.6.180.0130.00817.75
5.6.170.0120.00917.95
5.6.160.0040.01217.86
5.6.150.0060.01118.00
5.6.140.0060.01017.90
5.6.130.0060.00817.53
5.6.120.0080.01317.52
5.6.110.0050.01317.81
5.6.100.0090.00617.68
5.6.90.0200.00317.96
5.6.80.0180.00717.75
5.6.70.0070.01117.66
5.6.60.0080.01117.74
5.6.50.0130.00317.93
5.6.40.0060.00918.14
5.6.30.0040.01217.48
5.6.20.0070.01118.00
5.6.10.0040.01517.56
5.6.00.0030.01617.64
5.5.320.0000.00811.21
5.5.310.0030.00610.95
5.5.300.0070.00411.14
5.5.290.0000.00811.14
5.5.280.0060.00610.98
5.5.270.0060.00311.18
5.5.260.0000.00711.01
5.5.250.0060.00311.03
5.5.240.0110.00010.91
5.5.230.0040.01210.80
5.5.220.0070.00710.82
5.5.210.0000.01610.93
5.5.200.0110.00510.99
5.5.190.0110.00410.89
5.5.180.0060.00611.07
5.5.170.0100.00317.68
5.5.160.0160.00010.99
5.5.150.0080.00410.95
5.5.140.0130.00310.96
5.5.130.0060.01110.72
5.5.120.0110.00310.95
5.5.110.0110.00410.86
5.5.100.0050.01011.15
5.5.90.0090.00510.89
5.5.80.0120.00011.00
5.5.70.0070.00710.78
5.5.60.0100.00311.01
5.5.50.0050.00911.07
5.5.40.0120.00311.05
5.5.30.0110.00510.99
5.5.20.0390.00310.71
5.5.10.0120.00011.00
5.5.00.0160.00010.73
5.4.450.0080.00310.93
5.4.440.0080.00010.90
5.4.430.0080.00010.82
5.4.420.0030.00510.96
5.4.410.0000.00811.05
5.4.400.0030.00510.80
5.4.390.0030.00610.78
5.4.380.0080.00410.86
5.4.370.0080.00810.93
5.4.360.0040.01111.00
5.4.350.0060.00610.80
5.4.340.0110.00310.65
5.4.330.0090.00010.69
5.4.320.0040.00910.62
5.4.310.0070.01011.03
5.4.300.0100.00310.69
5.4.290.0100.00510.90
5.4.280.0120.00810.65
5.4.270.0000.01410.91
5.4.260.0170.00410.63
5.4.250.0090.00610.91
5.4.240.0100.00710.62
5.4.230.0090.00510.80
5.4.220.0090.00310.72
5.4.210.0000.01210.81
5.4.200.0120.00010.65
5.4.190.0040.01210.98
5.4.180.0090.00311.05
5.4.170.0140.00210.86
5.4.160.0070.00710.62
5.4.150.0120.00010.45
5.4.140.0040.00710.82
5.4.130.0130.00010.82
5.4.120.0110.00010.87
5.4.110.0080.00810.79
5.4.100.0060.00710.91
5.4.90.0120.00411.02
5.4.80.0130.00010.61
5.4.70.0080.00310.95
5.4.60.0060.00810.80
5.4.50.0090.00610.99
5.4.40.0100.00510.86
5.4.30.0050.00910.77
5.4.20.0040.00910.70
5.4.10.0100.00310.50
5.4.00.0170.00310.63
5.3.290.0060.00610.07
5.3.280.0040.0089.91
5.3.270.0100.00310.22
5.3.260.0060.00610.12
5.3.250.0120.00010.00
5.3.240.0030.0109.80
5.3.230.0050.0059.87
5.3.220.0070.00710.07
5.3.210.0060.0099.95
5.3.200.0070.00710.14
5.3.190.0060.00610.06
5.3.180.0120.00010.30
5.3.170.0050.00510.06
5.3.160.0130.00310.34
5.3.150.0150.00310.06
5.3.140.0140.00010.17
5.3.130.0080.00310.06
5.3.120.0100.00510.00
5.3.110.0230.00010.21
5.3.100.0090.00310.24
5.3.90.0060.01310.23
5.3.80.0060.00610.16
5.3.70.0100.00610.17
5.3.60.0050.00510.24
5.3.50.0070.0089.98
5.3.40.0080.0089.88
5.3.30.0080.00310.24
5.3.20.0080.0029.96
5.3.10.0120.0009.90
5.3.00.0030.0099.93
5.2.170.0090.0039.75
5.2.160.0100.0039.75
5.2.150.0060.0069.75
5.2.140.0040.0079.75
5.2.130.0030.0079.75
5.2.120.0060.0039.75
5.2.110.0080.0059.75
5.2.100.0120.0009.75
5.2.90.0110.0009.75
5.2.80.0090.0019.75
5.2.70.0100.0009.75
5.2.60.0100.0009.75
5.2.50.0050.0059.75
5.2.40.0050.0059.75
5.2.30.0080.0049.75
5.2.20.0070.0059.75
5.2.10.0070.0039.75
5.2.00.0100.0009.75
5.1.60.0070.0049.75
5.1.50.0070.0009.75
5.1.40.0040.0049.75
5.1.30.0100.0009.75
5.1.20.0040.0079.75
5.1.10.0050.0059.75
5.1.00.0000.0089.75
5.0.50.0060.0029.75
5.0.40.0060.0009.75
5.0.30.0110.0009.75
5.0.20.0000.0069.75
5.0.10.0090.0009.75
5.0.00.0060.0039.75
4.4.90.0080.0009.75
4.4.80.0040.0049.75
4.4.70.0060.0009.75
4.4.60.0080.0009.75
4.4.50.0060.0009.75
4.4.40.0060.0009.75
4.4.30.0050.0009.75
4.4.20.0000.0069.75
4.4.10.0050.0009.75
4.4.00.0070.0009.75
4.3.110.0040.0039.75
4.3.100.0020.0029.75
4.3.90.0030.0039.75
4.3.80.0030.0039.75
4.3.70.0030.0039.75
4.3.60.0000.0069.75
4.3.50.0050.0009.75
4.3.40.0020.0049.75
4.3.30.0000.0049.75
4.3.20.0000.0049.75
4.3.10.0000.0049.75
4.3.00.0000.0059.75