3v4l.org

run code in 500+ PHP versions simultaneously
<?php // The IntlDateFormatter::FULL arguments are optional in PHP 8.1. $fmt = new IntlDateFormatter('de_DE', IntlDateFormatter::FULL, IntlDateFormatter::FULL); $fmt->setPattern('MMM'); var_dump($fmt->format(new DateTime));
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/1pNDi
function name:  (null)
number of ops:  20
compiled vars:  !0 = $fmt
line      #* E I O op                               fetch          ext  return  operands
-----------------------------------------------------------------------------------------
    4     0  E >   NEW                                                  $1      'IntlDateFormatter'
          1        SEND_VAL_EX                                                  'de_DE'
          2        FETCH_CLASS_CONSTANT                                 ~2      'IntlDateFormatter', 'FULL'
          3        SEND_VAL_EX                                                  ~2
          4        FETCH_CLASS_CONSTANT                                 ~3      'IntlDateFormatter', 'FULL'
          5        SEND_VAL_EX                                                  ~3
          6        DO_FCALL                                          0          
          7        ASSIGN                                                       !0, $1
    5     8        INIT_METHOD_CALL                                             !0, 'setPattern'
          9        SEND_VAL_EX                                                  'MMM'
         10        DO_FCALL                                          0          
    6    11        INIT_FCALL                                                   'var_dump'
         12        INIT_METHOD_CALL                                             !0, 'format'
         13        NEW                                                  $7      'DateTime'
         14        DO_FCALL                                          0          
         15        SEND_VAR_NO_REF_EX                                           $7
         16        DO_FCALL                                          0  $9      
         17        SEND_VAR                                                     $9
         18        DO_ICALL                                                     
         19      > RETURN                                                       1

Generated using Vulcan Logic Dumper, using php 8.5.0


preferences:
226.88 ms | 1995 KiB | 14 Q