3v4l.org

run code in 300+ PHP versions simultaneously
<?php class Permission2 { public $key = null; public function __constructor($new_key) { $this->key = $new_key; } } $test = new Permsission2('test'); echo $test->key;
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/ZsI8H
function name:  (null)
number of ops:  7
compiled vars:  !0 = $test
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
   12     0  E >   NEW                                              $1      'Permsission2'
          1        SEND_VAL_EX                                              'test'
          2        DO_FCALL                                      0          
          3        ASSIGN                                                   !0, $1
   13     4        FETCH_OBJ_R                                      ~4      !0, 'key'
          5        ECHO                                                     ~4
          6      > RETURN                                                   1

Class Permission2:
Function __constructor:
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/ZsI8H
function name:  __constructor
number of ops:  4
compiled vars:  !0 = $new_key
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    6     0  E >   RECV                                             !0      
    8     1        ASSIGN_OBJ                                               'key'
          2        OP_DATA                                                  !0
    9     3      > RETURN                                                   null

End of function __constructor

End of class Permission2.

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
158.08 ms | 1393 KiB | 13 Q