3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php \Locale::setDefault('nb-no'); $fmt = new IntlDateFormatter(null, IntlDateFormatter::FULL, IntlDateFormatter::MEDIUM, "Europe/Vienna"); echo "First Formatted output is ".$fmt->format(1);
based on PNk5f
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/CRsNJ
function name:  (null)
number of ops:  16
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                                                 'nb-no'
         2        DO_FCALL                                      0          
   4     3        NEW                                              $2      :0
         4        SEND_VAL_EX                                              null
   5     5        SEND_VAL_EX                                              0
         6        SEND_VAL_EX                                              2
   6     7        SEND_VAL_EX                                              'Europe%2FVienna'
         8        DO_FCALL                                      0          
         9        ASSIGN                                                   !0, $2
   7    10        INIT_METHOD_CALL                                         !0, 'format'
        11        SEND_VAL_EX                                              1
        12        DO_FCALL                                      0  $5      
        13        CONCAT                                           ~6      'First+Formatted+output+is+', $5
        14        ECHO                                                     ~6
        15      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 7.3.0