3v4l.org

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

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
155.06 ms | 1384 KiB | 13 Q