3v4l.org

run code in 300+ PHP versions simultaneously
<?php foreach (['es_ES', 'es_AR'] as $locale) { $fmt = new IntlDateFormatter( $locale, IntlDateFormatter::MEDIUM, IntlDateFormatter::MEDIUM, 'America/Los_Angeles', IntlDateFormatter::GREGORIAN ); var_dump($fmt->format((new DateTime('2020-09-15'))->format('U'))); }
Finding entry points
Branch analysis from position: 0
2 jumps found. (Code = 77) Position 1 = 1, Position 2 = 26
Branch analysis from position: 1
2 jumps found. (Code = 78) Position 1 = 2, Position 2 = 26
Branch analysis from position: 2
1 jumps found. (Code = 42) Position 1 = 1
Branch analysis from position: 1
Branch analysis from position: 26
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 26
filename:       /in/ELTgM
function name:  (null)
number of ops:  28
compiled vars:  !0 = $locale, !1 = $fmt
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E > > FE_RESET_R                                       $2      <array>, ->26
          1    > > FE_FETCH_R                                               $2, !0, ->26
    4     2    >   NEW                                              $3      'IntlDateFormatter'
    5     3        SEND_VAR_EX                                              !0
    6     4        FETCH_CLASS_CONSTANT                             ~4      'IntlDateFormatter', 'MEDIUM'
          5        SEND_VAL_EX                                              ~4
    7     6        FETCH_CLASS_CONSTANT                             ~5      'IntlDateFormatter', 'MEDIUM'
          7        SEND_VAL_EX                                              ~5
    8     8        SEND_VAL_EX                                              'America%2FLos_Angeles'
    9     9        FETCH_CLASS_CONSTANT                             ~6      'IntlDateFormatter', 'GREGORIAN'
         10        SEND_VAL_EX                                              ~6
    4    11        DO_FCALL                                      0          
         12        ASSIGN                                                   !1, $3
   12    13        INIT_FCALL                                               'var_dump'
         14        INIT_METHOD_CALL                                         !1, 'format'
         15        NEW                                              $9      'DateTime'
         16        SEND_VAL_EX                                              '2020-09-15'
         17        DO_FCALL                                      0          
         18        INIT_METHOD_CALL                                         $9, 'format'
         19        SEND_VAL_EX                                              'U'
         20        DO_FCALL                                      0  $11     
         21        SEND_VAR_NO_REF_EX                                       $11
         22        DO_FCALL                                      0  $12     
         23        SEND_VAR                                                 $12
         24        DO_ICALL                                                 
    3    25      > JMP                                                      ->1
         26    >   FE_FREE                                                  $2
   13    27      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
142.84 ms | 1433 KiB | 14 Q