3v4l.org

run code in 300+ PHP versions simultaneously
<?php print int(date_parse_from_format('Y-M-D','2015-09-21')['month']); ?>
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/EU9BP
function name:  (null)
number of ops:  12
compiled vars:  none
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   INIT_FCALL_BY_NAME                                       'int'
          1        CHECK_FUNC_ARG                                           
          2        INIT_FCALL                                               'date_parse_from_format'
          3        SEND_VAL                                                 'Y-M-D'
          4        SEND_VAL                                                 '2015-09-21'
          5        DO_ICALL                                         $0      
          6        SEPARATE                                         $0      $0
          7        FETCH_DIM_FUNC_ARG                               $1      $0, 'month'
          8        SEND_FUNC_ARG                                            $1
          9        DO_FCALL                                      0  $2      
         10        ECHO                                                     $2
    5    11      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
168.03 ms | 1394 KiB | 15 Q