3v4l.org

run code in 300+ PHP versions simultaneously
<?php class Qwe { protected $asd; protected $qwe; function asd() { // echo "asd called\n"; $this->asd; return; } public function qwe() { // echo "qwe called\n"; return $this->qwe; } public function xzvc() {} } function shouldNotBeThere() { return "21"; } (new Qwe())->asd(); echo "hello";
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/9Ka7Q
function name:  (null)
number of ops:  6
compiled vars:  none
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
   32     0  E >   NEW                                              $0      'Qwe'
          1        DO_FCALL                                      0          
          2        INIT_METHOD_CALL                                         $0, 'asd'
          3        DO_FCALL                                      0          
   34     4        ECHO                                                     'hello'
          5      > RETURN                                                   1

Function shouldnotbethere:
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/9Ka7Q
function name:  shouldNotBeThere
number of ops:  2
compiled vars:  none
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
   29     0  E > > RETURN                                                   '21'
   30     1*     > RETURN                                                   null

End of function shouldnotbethere

Class Qwe:
Function asd:
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/9Ka7Q
function name:  asd
number of ops:  4
compiled vars:  none
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
   13     0  E >   FETCH_OBJ_R                                      ~0      'asd'
          1        FREE                                                     ~0
   14     2      > RETURN                                                   null
   15     3*     > RETURN                                                   null

End of function asd

Function qwe:
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/9Ka7Q
function name:  qwe
number of ops:  3
compiled vars:  none
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
   20     0  E >   FETCH_OBJ_R                                      ~0      'qwe'
          1      > RETURN                                                   ~0
   21     2*     > RETURN                                                   null

End of function qwe

Function xzvc:
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/9Ka7Q
function name:  xzvc
number of ops:  1
compiled vars:  none
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
   23     0  E > > RETURN                                                   null

End of function xzvc

End of class Qwe.

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
141.03 ms | 1395 KiB | 13 Q