3v4l.org

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

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
154.73 ms | 1384 KiB | 13 Q