3v4l.org

run code in 300+ PHP versions simultaneously
<?php $formats = [ IntlDateFormatter::FULL, IntlDateFormatter::LONG, IntlDateFormatter::MEDIUM, IntlDateFormatter::SHORT, ]; foreach ($formats as $format) { $formatter = new IntlDateFormatter( 'en_US', $format, IntlDateFormatter::NONE, 'Europe/Moscow' ); echo $formatter->format(1455111783), PHP_EOL; }
Finding entry points
Branch analysis from position: 0
2 jumps found. (Code = 77) Position 1 = 10, Position 2 = 25
Branch analysis from position: 10
2 jumps found. (Code = 78) Position 1 = 11, Position 2 = 25
Branch analysis from position: 11
1 jumps found. (Code = 42) Position 1 = 10
Branch analysis from position: 10
Branch analysis from position: 25
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 25
filename:       /in/MMDPS
function name:  (null)
number of ops:  27
compiled vars:  !0 = $formats, !1 = $format, !2 = $formatter
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    4     0  E >   FETCH_CLASS_CONSTANT                             ~3      'IntlDateFormatter', 'FULL'
          1        INIT_ARRAY                                       ~4      ~3
    5     2        FETCH_CLASS_CONSTANT                             ~5      'IntlDateFormatter', 'LONG'
          3        ADD_ARRAY_ELEMENT                                ~4      ~5
    6     4        FETCH_CLASS_CONSTANT                             ~6      'IntlDateFormatter', 'MEDIUM'
          5        ADD_ARRAY_ELEMENT                                ~4      ~6
    7     6        FETCH_CLASS_CONSTANT                             ~7      'IntlDateFormatter', 'SHORT'
          7        ADD_ARRAY_ELEMENT                                ~4      ~7
    3     8        ASSIGN                                                   !0, ~4
    9     9      > FE_RESET_R                                       $9      !0, ->25
         10    > > FE_FETCH_R                                               $9, !1, ->25
   10    11    >   NEW                                              $10     'IntlDateFormatter'
   11    12        SEND_VAL_EX                                              'en_US'
         13        SEND_VAR_EX                                              !1
   13    14        FETCH_CLASS_CONSTANT                             ~11     'IntlDateFormatter', 'NONE'
         15        SEND_VAL_EX                                              ~11
   14    16        SEND_VAL_EX                                              'Europe%2FMoscow'
         17        DO_FCALL                                      0          
   10    18        ASSIGN                                                   !2, $10
   16    19        INIT_METHOD_CALL                                         !2, 'format'
         20        SEND_VAL_EX                                              1455111783
         21        DO_FCALL                                      0  $14     
         22        ECHO                                                     $14
         23        ECHO                                                     '%0A'
    9    24      > JMP                                                      ->10
         25    >   FE_FREE                                                  $9
   17    26      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
175.37 ms | 1395 KiB | 13 Q