3v4l.org

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

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

End of function __construct

End of class Controller.

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
150.37 ms | 1393 KiB | 13 Q