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->format(1455111783), PHP_EOL; }
Finding entry points
Branch analysis from position: 0
2 jumps found. (Code = 77) Position 1 = 1, Position 2 = 17
Branch analysis from position: 1
2 jumps found. (Code = 78) Position 1 = 2, Position 2 = 17
Branch analysis from position: 2
1 jumps found. (Code = 42) Position 1 = 1
Branch analysis from position: 1
Branch analysis from position: 17
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 17
filename:       /in/Q1bYG
function name:  (null)
number of ops:  19
compiled vars:  !0 = $locale, !1 = $formatter
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E > > FE_RESET_R                                       $2      <array>, ->17
          1    > > FE_FETCH_R                                               $2, !0, ->17
    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'
    4     9        DO_FCALL                                      0          
         10        ASSIGN                                                   !1, $3
   10    11        INIT_METHOD_CALL                                         !1, 'format'
         12        SEND_VAL_EX                                              1455111783
         13        DO_FCALL                                      0  $8      
         14        ECHO                                                     $8
         15        ECHO                                                     '%0A'
    3    16      > JMP                                                      ->1
         17    >   FE_FREE                                                  $2
   11    18      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
137.92 ms | 1433 KiB | 13 Q