3v4l.org

run code in 500+ PHP versions simultaneously
<?php function xxxx(&$val, $def = null) { return $val ?? $def; } $arr = false; var_dump(xxxx($arr['xxx']));
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/gG1lI
function name:  (null)
number of ops:  9
compiled vars:  !0 = $arr
line      #* E I O op                               fetch          ext  return  operands
-----------------------------------------------------------------------------------------
   10     0  E >   ASSIGN                                                       !0, <false>
   12     1        INIT_FCALL                                                   'var_dump'
          2        INIT_FCALL                                                   'xxxx'
          3        FETCH_DIM_W                                          $2      !0, 'xxx'
          4        SEND_REF                                                     $2
          5        DO_FCALL                                          0  $3      
          6        SEND_VAR                                                     $3
          7        DO_ICALL                                                     
          8      > RETURN                                                       1

Function xxxx:
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/gG1lI
function name:  xxxx
number of ops:  6
compiled vars:  !0 = $val, !1 = $def
line      #* E I O op                               fetch          ext  return  operands
-----------------------------------------------------------------------------------------
    4     0  E >   RECV                                                 !0      
          1        RECV_INIT                                            !1      null
    6     2        COALESCE                                             ~2      !0
          3        QM_ASSIGN                                            ~2      !1
          4      > RETURN                                                       ~2
    7     5*     > RETURN                                                       null

End of function xxxx

Generated using Vulcan Logic Dumper, using php 8.5.0


preferences:
152.17 ms | 2772 KiB | 10 Q