3v4l.org

run code in 300+ PHP versions simultaneously
<?php $dt = new DateTime; $f = new IntlDateFormatter('nl_NL', IntlDateFormatter::SHORT, IntlDateFormatter::SHORT); $f->setPattern('MMMM yyyy'); echo $f->format($dt);
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/HfrPZ
function name:  (null)
number of ops:  19
compiled vars:  !0 = $dt, !1 = $f
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   NEW                                              $2      'DateTime'
          1        DO_FCALL                                      0          
          2        ASSIGN                                                   !0, $2
    5     3        NEW                                              $5      'IntlDateFormatter'
          4        SEND_VAL_EX                                              'nl_NL'
          5        FETCH_CLASS_CONSTANT                             ~6      'IntlDateFormatter', 'SHORT'
          6        SEND_VAL_EX                                              ~6
          7        FETCH_CLASS_CONSTANT                             ~7      'IntlDateFormatter', 'SHORT'
          8        SEND_VAL_EX                                              ~7
          9        DO_FCALL                                      0          
         10        ASSIGN                                                   !1, $5
    6    11        INIT_METHOD_CALL                                         !1, 'setPattern'
         12        SEND_VAL_EX                                              'MMMM+yyyy'
         13        DO_FCALL                                      0          
    8    14        INIT_METHOD_CALL                                         !1, 'format'
         15        SEND_VAR_EX                                              !0
         16        DO_FCALL                                      0  $11     
         17        ECHO                                                     $11
         18      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
165.23 ms | 1393 KiB | 13 Q