3v4l.org

run code in 500+ PHP versions simultaneously
<?php class PromoteConstructorProperty { public function __construct( public string $var ) { } } $bool = class_exists(PromoteConstructorProperty);
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/oEW4q
function name:  (null)
number of ops:  4
compiled vars:  !0 = $bool
line      #* E I O op                               fetch          ext  return  operands
-----------------------------------------------------------------------------------------
   11     0  E >   FETCH_CONSTANT                                       ~1      'PromoteConstructorProperty'
          1        FRAMELESS_ICALL_1                class_exists        ~2      ~1
          2        ASSIGN                                                       !0, ~2
          3      > RETURN                                                       1

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

End of function __construct

End of class PromoteConstructorProperty.

Generated using Vulcan Logic Dumper, using php 8.5.0


preferences:
159.8 ms | 1677 KiB | 13 Q