3v4l.org

run code in 300+ PHP versions simultaneously
<?php class MyClass { public $Parse = array(); static function kekal($name) { return $name; } public function __construct() { $this->Parse["Start"] = array($this, "kekal"); } } $my = new MyClass(); echo $my->{"Parse"}["Start"]("Hello");
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/djhqG
function name:  (null)
number of ops:  10
compiled vars:  !0 = $my
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
   16     0  E >   NEW                                              $1      'MyClass'
          1        DO_FCALL                                      0          
          2        ASSIGN                                                   !0, $1
   18     3        FETCH_OBJ_R                                      ~4      !0, 'Parse'
          4        FETCH_DIM_R                                      ~5      ~4, 'Start'
          5        INIT_DYNAMIC_CALL                                        ~5
          6        SEND_VAL_EX                                              'Hello'
          7        DO_FCALL                                      0  $6      
          8        ECHO                                                     $6
          9      > RETURN                                                   1

Class MyClass:
Function kekal:
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/djhqG
function name:  kekal
number of ops:  3
compiled vars:  !0 = $name
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    7     0  E >   RECV                                             !0      
    8     1      > RETURN                                                   !0
    9     2*     > RETURN                                                   null

End of function kekal

Function __construct:
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/djhqG
function name:  __construct
number of ops:  7
compiled vars:  none
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
   12     0  E >   FETCH_THIS                                       ~2      
          1        INIT_ARRAY                                       ~3      ~2
          2        ADD_ARRAY_ELEMENT                                ~3      'kekal'
          3        FETCH_OBJ_W                                      $0      'Parse'
          4        ASSIGN_DIM                                               $0, 'Start'
          5        OP_DATA                                                  ~3
   13     6      > RETURN                                                   null

End of function __construct

End of class MyClass.

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
151.03 ms | 1394 KiB | 13 Q