3v4l.org

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

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
165.24 ms | 1398 KiB | 13 Q