3v4l.org

run code in 300+ PHP versions simultaneously
<?php setlocale(LC_TIME, 'hu_HU', 'hu_HU.ISO8859-2', 'hu_HU.UTF-8'); echo $formatedDate = strftime('%G. %B %e.', time()); $fmt = datefmt_create("hu_HU", IntlDateFormatter::FULL, IntlDateFormatter::NONE, 'Europe/Berlin', IntlDateFormatter::GREGORIAN); echo datefmt_format($fmt , time());
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/a6LEQ
function name:  (null)
number of ops:  33
compiled vars:  !0 = $formatedDate, !1 = $fmt
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   INIT_FCALL                                               'setlocale'
          1        SEND_VAL                                                 2
          2        SEND_VAL                                                 'hu_HU'
          3        SEND_VAL                                                 'hu_HU.ISO8859-2'
          4        SEND_VAL                                                 'hu_HU.UTF-8'
          5        DO_ICALL                                                 
    4     6        INIT_FCALL                                               'strftime'
          7        SEND_VAL                                                 '%25G.+%25B+%25e.'
          8        INIT_FCALL                                               'time'
          9        DO_ICALL                                         $3      
         10        SEND_VAR                                                 $3
         11        DO_ICALL                                         $4      
         12        ASSIGN                                           ~5      !0, $4
         13        ECHO                                                     ~5
    6    14        INIT_FCALL_BY_NAME                                       'datefmt_create'
         15        SEND_VAL_EX                                              'hu_HU'
         16        FETCH_CLASS_CONSTANT                             ~6      'IntlDateFormatter', 'FULL'
         17        SEND_VAL_EX                                              ~6
         18        FETCH_CLASS_CONSTANT                             ~7      'IntlDateFormatter', 'NONE'
         19        SEND_VAL_EX                                              ~7
         20        SEND_VAL_EX                                              'Europe%2FBerlin'
         21        FETCH_CLASS_CONSTANT                             ~8      'IntlDateFormatter', 'GREGORIAN'
         22        SEND_VAL_EX                                              ~8
         23        DO_FCALL                                      0  $9      
         24        ASSIGN                                                   !1, $9
    7    25        INIT_FCALL_BY_NAME                                       'datefmt_format'
         26        SEND_VAR_EX                                              !1
         27        INIT_FCALL                                               'time'
         28        DO_ICALL                                         $11     
         29        SEND_VAR_NO_REF_EX                                       $11
         30        DO_FCALL                                      0  $12     
         31        ECHO                                                     $12
         32      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
138.73 ms | 1401 KiB | 22 Q