3v4l.org

run code in 500+ PHP versions simultaneously
<?php $list = timezone_identifiers_list(); $localized = array_map(function($tz) { $fmt = new IntlDateFormatter( "ru_RU" ,IntlDateFormatter::FULL, IntlDateFormatter::FULL, $tz, IntlDateFormatter::GREGORIAN, "MM/dd/yyyy e"); return $fmt->format(0); }, $list); var_dump($localized);
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/WK1rV
function name:  (null)
number of ops:  13
compiled vars:  !0 = $list, !1 = $localized
line      #* E I O op                               fetch          ext  return  operands
-----------------------------------------------------------------------------------------
    3     0  E >   INIT_FCALL                                                   'timezone_identifiers_list'
          1        DO_ICALL                                             $2      
          2        ASSIGN                                                       !0, $2
    6     3        INIT_FCALL                                                   'array_map'
          4        DECLARE_LAMBDA_FUNCTION                              ~4      [0]
   12     5        SEND_VAL                                                     ~4
          6        SEND_VAR                                                     !0
    6     7        DO_ICALL                                             $5      
          8        ASSIGN                                                       !1, $5
   14     9        INIT_FCALL                                                   'var_dump'
         10        SEND_VAR                                                     !1
         11        DO_ICALL                                                     
         12      > RETURN                                                       1


Dynamic Functions:
Dynamic Function 0
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/WK1rV
function name:  {closure:/in/WK1rV:6}
number of ops:  18
compiled vars:  !0 = $tz, !1 = $fmt
line      #* E I O op                               fetch          ext  return  operands
-----------------------------------------------------------------------------------------
    6     0  E >   RECV                                                 !0      
    7     1        NEW                                                  $2      'IntlDateFormatter'
          2        SEND_VAL_EX                                                  'ru_RU'
          3        FETCH_CLASS_CONSTANT                                 ~3      'IntlDateFormatter', 'FULL'
          4        SEND_VAL_EX                                                  ~3
          5        FETCH_CLASS_CONSTANT                                 ~4      'IntlDateFormatter', 'FULL'
          6        SEND_VAL_EX                                                  ~4
          7        SEND_VAR_EX                                                  !0
    8     8        FETCH_CLASS_CONSTANT                                 ~5      'IntlDateFormatter', 'GREGORIAN'
          9        SEND_VAL_EX                                                  ~5
         10        SEND_VAL_EX                                                  'MM%2Fdd%2Fyyyy+e'
    7    11        DO_FCALL                                          0          
         12        ASSIGN                                                       !1, $2
   10    13        INIT_METHOD_CALL                                             !1, 'format'
         14        SEND_VAL_EX                                                  0
         15        DO_FCALL                                          0  $8      
         16      > RETURN                                                       $8
   12    17*     > RETURN                                                       null

End of Dynamic Function 0

Generated using Vulcan Logic Dumper, using php 8.5.0


preferences:
185.9 ms | 4714 KiB | 16 Q