3v4l.org

run code in 300+ PHP versions simultaneously
<?php \Locale::setDefault('nb-no'); $fmt = new IntlDateFormatter(null, IntlDateFormatter::MEDIUM, IntlDateFormatter::NONE); echo "First Formatted output is ".$fmt->format(1);
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/OTqAr
function name:  (null)
number of ops:  17
compiled vars:  !0 = $fmt
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   INIT_STATIC_METHOD_CALL                                  'Locale', 'setDefault'
          1        SEND_VAL_EX                                              'nb-no'
          2        DO_FCALL                                      0          
    4     3        NEW                                              $2      'IntlDateFormatter'
          4        SEND_VAL_EX                                              null
    5     5        FETCH_CLASS_CONSTANT                             ~3      'IntlDateFormatter', 'MEDIUM'
          6        SEND_VAL_EX                                              ~3
          7        FETCH_CLASS_CONSTANT                             ~4      'IntlDateFormatter', 'NONE'
          8        SEND_VAL_EX                                              ~4
          9        DO_FCALL                                      0          
    4    10        ASSIGN                                                   !0, $2
    6    11        INIT_METHOD_CALL                                         !0, 'format'
         12        SEND_VAL_EX                                              1
         13        DO_FCALL                                      0  $7      
         14        CONCAT                                           ~8      'First+Formatted+output+is+', $7
         15        ECHO                                                     ~8
         16      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
161.58 ms | 1393 KiB | 13 Q