3v4l.org

run code in 300+ PHP versions simultaneously
<?php class Test { public function doSomething() { $result = $this->notUseThis(123); } private static function notUseThis($data) { return $data; } }
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/sXrpQ
function name:  (null)
number of ops:  1
compiled vars:  none
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
   14     0  E > > RETURN                                                   1

Class Test:
Function dosomething:
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/sXrpQ
function name:  doSomething
number of ops:  5
compiled vars:  !0 = $result
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    7     0  E >   INIT_METHOD_CALL                                         'notUseThis'
          1        SEND_VAL_EX                                              123
          2        DO_FCALL                                      0  $1      
          3        ASSIGN                                                   !0, $1
    8     4      > RETURN                                                   null

End of function dosomething

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

End of function notusethis

End of class Test.

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
162.31 ms | 1393 KiB | 13 Q