3v4l.org

run code in 300+ PHP versions simultaneously
<?php //function array_key_match() { // //} class Stuff { public function __construct() { } public function doThing() { $this::__construct(); } } $x = new Stuff(); $x->doThing();
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/Tot8E
function name:  (null)
number of ops:  6
compiled vars:  !0 = $x
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
   17     0  E >   NEW                                              $1      'Stuff'
          1        DO_FCALL                                      0          
          2        ASSIGN                                                   !0, $1
   19     3        INIT_METHOD_CALL                                         !0, 'doThing'
          4        DO_FCALL                                      0          
          5      > RETURN                                                   1

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

End of function __construct

Function dothing:
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/Tot8E
function name:  doThing
number of ops:  5
compiled vars:  none
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
   13     0  E >   FETCH_THIS                                       ~0      
          1        FETCH_CLASS                                   0  $1      ~0
          2        INIT_STATIC_METHOD_CALL                                  $1
          3        DO_FCALL                                      0          
   14     4      > RETURN                                                   null

End of function dothing

End of class Stuff.

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
140.86 ms | 1398 KiB | 13 Q