3v4l.org

run code in 300+ PHP versions simultaneously
<?php $f1 = new IntlDateFormatter(\Locale::getDefault(), 1, \IntlDateFormatter::NONE); var_dump($f1); $f2 = new IntlDateFormatter(\Locale::getDefault(), 1, \IntlDateFormatter::NONE, \DateTimeZone::UTC); var_dump($f2); $f3 = new IntlDateFormatter(\Locale::getDefault(), 1, \IntlDateFormatter::NONE, \DateTimeZone::EUROPE); var_dump($f3);
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/hC1MO
function name:  (null)
number of ops:  39
compiled vars:  !0 = $f1, !1 = $f2, !2 = $f3
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   NEW                                              $3      'IntlDateFormatter'
          1        INIT_STATIC_METHOD_CALL                                  'Locale', 'getDefault'
          2        DO_FCALL                                      0  $4      
          3        SEND_VAR_NO_REF_EX                                       $4
          4        SEND_VAL_EX                                              1
          5        FETCH_CLASS_CONSTANT                             ~5      'IntlDateFormatter', 'NONE'
          6        SEND_VAL_EX                                              ~5
          7        DO_FCALL                                      0          
          8        ASSIGN                                                   !0, $3
    4     9        INIT_FCALL                                               'var_dump'
         10        SEND_VAR                                                 !0
         11        DO_ICALL                                                 
    6    12        NEW                                              $9      'IntlDateFormatter'
         13        INIT_STATIC_METHOD_CALL                                  'Locale', 'getDefault'
         14        DO_FCALL                                      0  $10     
         15        SEND_VAR_NO_REF_EX                                       $10
         16        SEND_VAL_EX                                              1
         17        FETCH_CLASS_CONSTANT                             ~11     'IntlDateFormatter', 'NONE'
         18        SEND_VAL_EX                                              ~11
         19        SEND_VAL_EX                                              1024
         20        DO_FCALL                                      0          
         21        ASSIGN                                                   !1, $9
    7    22        INIT_FCALL                                               'var_dump'
         23        SEND_VAR                                                 !1
         24        DO_ICALL                                                 
    9    25        NEW                                              $15     'IntlDateFormatter'
         26        INIT_STATIC_METHOD_CALL                                  'Locale', 'getDefault'
         27        DO_FCALL                                      0  $16     
         28        SEND_VAR_NO_REF_EX                                       $16
         29        SEND_VAL_EX                                              1
         30        FETCH_CLASS_CONSTANT                             ~17     'IntlDateFormatter', 'NONE'
         31        SEND_VAL_EX                                              ~17
         32        SEND_VAL_EX                                              128
         33        DO_FCALL                                      0          
         34        ASSIGN                                                   !2, $15
   10    35        INIT_FCALL                                               'var_dump'
         36        SEND_VAR                                                 !2
         37        DO_ICALL                                                 
         38      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
148.42 ms | 1006 KiB | 14 Q