3v4l.org

run code in 300+ PHP versions simultaneously
<?php class Hello { public function __construct(string $hello, int $k) { $this->hello = $hello; $this->k = $k; } } new Hello(123, 'ss');
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/1ru6C
function name:  (null)
number of ops:  6
compiled vars:  none
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
   12     0  E >   NEW                                              $0      'Hello'
          1        SEND_VAL_EX                                              123
          2        SEND_VAL_EX                                              'ss'
          3        DO_FCALL                                      0          
          4        FREE                                                     $0
          5      > RETURN                                                   1

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

End of function __construct

End of class Hello.

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
172.87 ms | 1393 KiB | 13 Q