3v4l.org

run code in 300+ PHP versions simultaneously
<?php class StackOverflow { public function __get($value) { return $this->get($value); } private function get($value) { return $this->{$value}; } } $so = new StackOverflow; $so->breakme;
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/lYsTW
function name:  (null)
number of ops:  6
compiled vars:  !0 = $so
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
   16     0  E >   NEW                                              $1      'StackOverflow'
          1        DO_FCALL                                      0          
          2        ASSIGN                                                   !0, $1
   17     3        FETCH_OBJ_R                                      ~4      !0, 'breakme'
          4        FREE                                                     ~4
          5      > RETURN                                                   1

Class StackOverflow:
Function __get:
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/lYsTW
function name:  __get
number of ops:  6
compiled vars:  !0 = $value
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    5     0  E >   RECV                                             !0      
    7     1        INIT_METHOD_CALL                                         'get'
          2        SEND_VAR_EX                                              !0
          3        DO_FCALL                                      0  $1      
          4      > RETURN                                                   $1
    8     5*     > RETURN                                                   null

End of function __get

Function get:
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/lYsTW
function name:  get
number of ops:  4
compiled vars:  !0 = $value
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
   10     0  E >   RECV                                             !0      
   12     1        FETCH_OBJ_R                                      ~1      !0
          2      > RETURN                                                   ~1
   13     3*     > RETURN                                                   null

End of function get

End of class StackOverflow.

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
143.59 ms | 1393 KiB | 13 Q