3v4l.org

run code in 300+ PHP versions simultaneously
<?php $formatter = new \IntlDateFormatter('pl_PL', \IntlDateFormatter::FULL, \IntlDateFormatter::FULL); $formatter->setPattern('Y'); echo $formatter->format(new \DateTime());
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/M84PS
function name:  (null)
number of ops:  18
compiled vars:  !0 = $formatter
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   NEW                                              $1      'IntlDateFormatter'
          1        SEND_VAL_EX                                              'pl_PL'
          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
    4     8        INIT_METHOD_CALL                                         !0, 'setPattern'
          9        SEND_VAL_EX                                              'Y'
         10        DO_FCALL                                      0          
    6    11        INIT_METHOD_CALL                                         !0, 'format'
         12        NEW                                              $7      'DateTime'
         13        DO_FCALL                                      0          
         14        SEND_VAR_NO_REF_EX                                       $7
         15        DO_FCALL                                      0  $9      
         16        ECHO                                                     $9
         17      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
150.3 ms | 1384 KiB | 13 Q