3v4l.org

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

Generated using Vulcan Logic Dumper, using php 8.5.0


preferences:
171.51 ms | 1998 KiB | 14 Q