3v4l.org

run code in 500+ PHP versions simultaneously
<?php var_export(($object ?? null)?->doThing('foo'));
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/FZKts
function name:  (null)
number of ops:  10
compiled vars:  !0 = $object
line      #* E I O op                               fetch          ext  return  operands
-----------------------------------------------------------------------------------------
    3     0  E >   INIT_FCALL                                                   'var_export'
          1        COALESCE                                             ~1      !0
          2        QM_ASSIGN                                            ~1      null
          3        JMP_NULL                                             $2      ~1
          4        INIT_METHOD_CALL                                             ~1, 'doThing'
          5        SEND_VAL_EX                                                  'foo'
          6        DO_FCALL                                          0  $2      
          7        SEND_VAR                                                     $2
          8        DO_ICALL                                                     
          9      > RETURN                                                       1

Generated using Vulcan Logic Dumper, using php 8.5.0


preferences:
152.17 ms | 1476 KiB | 14 Q