3v4l.org

run code in 300+ PHP versions simultaneously
<?php $x = new stdClass; @print(@$x->foo->bar()); echo "end";
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/LWb0h
function name:  (null)
number of ops:  13
compiled vars:  !0 = $x
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   NEW                                              $1      'stdClass'
          1        DO_FCALL                                      0          
          2        ASSIGN                                                   !0, $1
    5     3        BEGIN_SILENCE                                    ~4      
          4        BEGIN_SILENCE                                    ~5      
          5        FETCH_OBJ_R                                      ~6      !0, 'foo'
          6        INIT_METHOD_CALL                                         ~6, 'bar'
          7        DO_FCALL                                      0  $7      
          8        END_SILENCE                                              ~5
          9        ECHO                                                     $7
         10        END_SILENCE                                              ~4
    7    11        ECHO                                                     'end'
         12      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
157.01 ms | 1392 KiB | 13 Q