3v4l.org

run code in 300+ PHP versions simultaneously
<?php class MyClass { public $Parse = array(); protected function kekal($name) { return $name; } public function __construct() { $this->Parse["Start"] = '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/U6Y9B
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/U6Y9B
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/U6Y9B
function name:  __construct
number of ops:  4
compiled vars:  none
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
   12     0  E >   FETCH_OBJ_W                                      $0      'Parse'
          1        ASSIGN_DIM                                               $0, 'Start'
          2        OP_DATA                                                  'kekal'
   13     3      > RETURN                                                   null

End of function __construct

End of class MyClass.

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
173.55 ms | 1394 KiB | 13 Q