3v4l.org

run code in 300+ PHP versions simultaneously
<?php $formatter = \IntlDateFormatter::create( 'en_US', null, IntlDateFormatter::SHORT, 'Asia/Sakhalin' ); var_dump($formatter->format(unserialize('O:8:"DateTime":3:{s:4:"date";s:26:"2017-07-03 00:00:00.000000";s:13:"timezone_type";i:3;s:8:"timezone";s:13:"Asia/Sakhalin";}')));
Output for 8.2.0 - 8.2.18, 8.3.0 - 8.3.7
Deprecated: IntlDateFormatter::create(): Passing null to parameter #2 ($dateType) of type int is deprecated in /in/2fq56 on line 3 string(32) "Monday, July 3, 2017 at 12:00 AM"
Output for 8.1.0 - 8.1.28
Deprecated: IntlDateFormatter::create(): Passing null to parameter #2 ($dateType) of type int is deprecated in /in/2fq56 on line 7 string(32) "Monday, July 3, 2017 at 12:00 AM"
Output for 7.0.5 - 7.0.20, 7.1.0 - 7.1.33, 7.2.0 - 7.2.33, 7.3.0 - 7.3.31, 7.4.0 - 7.4.25, 7.4.27 - 7.4.32, 8.0.0 - 8.0.12, 8.0.14 - 8.0.30
string(32) "Monday, July 3, 2017 at 12:00 AM"
Output for 8.0.13
Fatal error: Uncaught Error: Class "IntlDateFormatter" not found in /in/2fq56:3 Stack trace: #0 {main} thrown in /in/2fq56 on line 3
Process exited with code 255.
Output for 7.3.32 - 7.3.33, 7.4.26, 7.4.33
Fatal error: Uncaught Error: Class 'IntlDateFormatter' not found in /in/2fq56:3 Stack trace: #0 {main} thrown in /in/2fq56 on line 3
Process exited with code 255.
Output for 7.0.0 - 7.0.4
string(31) "Monday, July 3, 2017 at 1:00 AM"

preferences:
150.26 ms | 401 KiB | 219 Q