3v4l.org

run code in 300+ PHP versions simultaneously
<?php $_data = [ "foo" => "bar", "baz" => "crazy" ]; function __get( $key ) { return $_data[ $key ]; } var_dump( $this->foo );
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/PDQf6
function name:  (null)
number of ops:  7
compiled vars:  !0 = $_data
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   ASSIGN                                                   !0, <array>
    9     1        INIT_FCALL                                               'var_dump'
          2        FETCH_THIS                                       $2      
          3        FETCH_OBJ_R                                      ~3      $2, 'foo'
          4        SEND_VAL                                                 ~3
          5        DO_ICALL                                                 
          6      > RETURN                                                   1

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

End of function __get

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
154.49 ms | 1394 KiB | 15 Q