3v4l.org

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

Class PromoteConstructorProperty:
Function __construct:
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/4cMW4
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:
157.36 ms | 1722 KiB | 13 Q