3v4l.org

run code in 300+ PHP versions simultaneously
<?php var_export( $feed->channel->item->title ?? null ); echo "\n--\n"; var_export( $feed?->channel?->item?->title ); echo "\n--\n"; $feed = null; var_export( $feed?->channel?->item?->title );
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/7C7ju
function name:  (null)
number of ops:  30
compiled vars:  !0 = $feed
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   INIT_FCALL                                               'var_export'
    4     1        FETCH_OBJ_IS                                     ~1      !0, 'channel'
          2        FETCH_OBJ_IS                                     ~2      ~1, 'item'
          3        FETCH_OBJ_IS                                     ~3      ~2, 'title'
          4        COALESCE                                         ~4      ~3
          5        QM_ASSIGN                                        ~4      null
          6        SEND_VAL                                                 ~4
    3     7        DO_ICALL                                                 
    7     8        ECHO                                                     '%0A--%0A'
    9     9        INIT_FCALL                                               'var_export'
   10    10        JMP_NULL                                         ~8      !0
         11        FETCH_OBJ_R                                      ~6      !0, 'channel'
         12        JMP_NULL                                         ~8      ~6
         13        FETCH_OBJ_R                                      ~7      ~6, 'item'
         14        JMP_NULL                                         ~8      ~7
         15        FETCH_OBJ_R                                      ~8      ~7, 'title'
         16        SEND_VAL                                                 ~8
    9    17        DO_ICALL                                                 
   13    18        ECHO                                                     '%0A--%0A'
   15    19        ASSIGN                                                   !0, null
   16    20        INIT_FCALL                                               'var_export'
   17    21        JMP_NULL                                         ~13     !0
         22        FETCH_OBJ_R                                      ~11     !0, 'channel'
         23        JMP_NULL                                         ~13     ~11
         24        FETCH_OBJ_R                                      ~12     ~11, 'item'
         25        JMP_NULL                                         ~13     ~12
         26        FETCH_OBJ_R                                      ~13     ~12, 'title'
         27        SEND_VAL                                                 ~13
   16    28        DO_ICALL                                                 
   18    29      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
145.16 ms | 1451 KiB | 14 Q