3v4l.org

run code in 300+ PHP versions simultaneously
<?php class test{ protected $invokables; protected $some; public function __construct($some = null, $invokables = null){ $this->some = $some; $this->invokables = $invokables; } } $t = new test(); var_dump($t);
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/obobA
function name:  (null)
number of ops:  7
compiled vars:  !0 = $t
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
   15     0  E >   NEW                                              $1      'test'
          1        DO_FCALL                                      0          
          2        ASSIGN                                                   !0, $1
   16     3        INIT_FCALL                                               'var_dump'
          4        SEND_VAR                                                 !0
          5        DO_ICALL                                                 
          6      > RETURN                                                   1

Class test:
Function __construct:
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/obobA
function name:  __construct
number of ops:  7
compiled vars:  !0 = $some, !1 = $invokables
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    7     0  E >   RECV_INIT                                        !0      null
          1        RECV_INIT                                        !1      null
    8     2        ASSIGN_OBJ                                               'some'
          3        OP_DATA                                                  !0
    9     4        ASSIGN_OBJ                                               'invokables'
          5        OP_DATA                                                  !1
   10     6      > RETURN                                                   null

End of function __construct

End of class test.

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
150.91 ms | 1394 KiB | 15 Q