3v4l.org

run code in 300+ PHP versions simultaneously
<?php $value = '2711.1966'; if ($date = date_parse($value)) { echo $date['month']; echo $date['day']; echo $date['year']; } ?>
Finding entry points
Branch analysis from position: 0
2 jumps found. (Code = 43) Position 1 = 6, Position 2 = 12
Branch analysis from position: 6
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 12
filename:       /in/0Wlvg
function name:  (null)
number of ops:  13
compiled vars:  !0 = $value, !1 = $date
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   ASSIGN                                                   !0, '2711.1966'
    4     1        INIT_FCALL                                               'date_parse'
          2        SEND_VAR                                                 !0
          3        DO_ICALL                                         $3      
          4        ASSIGN                                           ~4      !1, $3
          5      > JMPZ                                                     ~4, ->12
    5     6    >   FETCH_DIM_R                                      ~5      !1, 'month'
          7        ECHO                                                     ~5
    6     8        FETCH_DIM_R                                      ~6      !1, 'day'
          9        ECHO                                                     ~6
    7    10        FETCH_DIM_R                                      ~7      !1, 'year'
         11        ECHO                                                     ~7
   11    12    > > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
161.44 ms | 1394 KiB | 15 Q