3v4l.org

run code in 300+ PHP versions simultaneously
<?php $formatter = \IntlDateFormatter::create( 'en_US', IntlDateFormatter::NONE, 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";}')));
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/L4poL
function name:  (null)
number of ops:  19
compiled vars:  !0 = $formatter
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   INIT_STATIC_METHOD_CALL                                  'IntlDateFormatter', 'create'
    4     1        SEND_VAL_EX                                              'en_US'
    5     2        FETCH_CLASS_CONSTANT                             ~1      'IntlDateFormatter', 'NONE'
          3        SEND_VAL_EX                                              ~1
    6     4        FETCH_CLASS_CONSTANT                             ~2      'IntlDateFormatter', 'SHORT'
          5        SEND_VAL_EX                                              ~2
    7     6        SEND_VAL_EX                                              'Asia%2FSakhalin'
          7        DO_FCALL                                      0  $3      
    3     8        ASSIGN                                                   !0, $3
    9     9        INIT_FCALL                                               'var_dump'
         10        INIT_METHOD_CALL                                         !0, 'format'
         11        INIT_FCALL                                               'unserialize'
         12        SEND_VAL                                                 'O%3A8%3A%22DateTime%22%3A3%3A%7Bs%3A4%3A%22date%22%3Bs%3A26%3A%222017-07-03+00%3A00%3A00.000000%22%3Bs%3A13%3A%22timezone_type%22%3Bi%3A3%3Bs%3A8%3A%22timezone%22%3Bs%3A13%3A%22Asia%2FSakhalin%22%3B%7D'
         13        DO_ICALL                                         $5      
         14        SEND_VAR_NO_REF_EX                                       $5
         15        DO_FCALL                                      0  $6      
         16        SEND_VAR                                                 $6
         17        DO_ICALL                                                 
         18      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
171.93 ms | 1399 KiB | 17 Q