3v4l.org

run code in 300+ PHP versions simultaneously
<?php namespace Test; class Test { public function __construct(string $s, int $i) {} } $a = new Test('', '0');
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/COh9V
function name:  (null)
number of ops:  6
compiled vars:  !0 = $a
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    9     0  E >   NEW                                              $1      'Test%5CTest'
          1        SEND_VAL_EX                                              ''
          2        SEND_VAL_EX                                              '0'
          3        DO_FCALL                                      0          
          4        ASSIGN                                                   !0, $1
          5      > RETURN                                                   1

Class Test\Test:
Function __construct:
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/COh9V
function name:  __construct
number of ops:  3
compiled vars:  !0 = $s, !1 = $i
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    6     0  E >   RECV                                             !0      
          1        RECV                                             !1      
          2      > RETURN                                                   null

End of function __construct

End of class Test\Test.

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
161.15 ms | 1384 KiB | 13 Q