3v4l.org

run code in 300+ PHP versions simultaneously
<?php class Toto { const TOTO = 1; public function toto() { $toto = self::TOTO; $toto = $this->getToto(); } private function getToto() { return 1; } }
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/23tML
function name:  (null)
number of ops:  1
compiled vars:  none
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
   17     0  E > > RETURN                                                   1

Class Toto:
Function toto:
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/23tML
function name:  toto
number of ops:  5
compiled vars:  !0 = $toto
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    9     0  E >   ASSIGN                                                   !0, 1
   10     1        INIT_METHOD_CALL                                         'getToto'
          2        DO_FCALL                                      0  $2      
          3        ASSIGN                                                   !0, $2
   11     4      > RETURN                                                   null

End of function toto

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

End of function gettoto

End of class Toto.

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
210.53 ms | 1393 KiB | 13 Q