3v4l.org

run code in 300+ PHP versions simultaneously
<?php if (\PHP_VERSION_ID < 80400) { #[Attribute(Attribute::TARGET_METHOD | Attribute::TARGET_FUNCTION | Attribute::TARGET_CLASS_CONSTANT)] final class Deprecated { public readonly ?string $message; public readonly ?string $since; public function __construct(?string $message = null, ?string $since = null) { $this->message = $message; $this->since = $since; } } }
Finding entry points
Branch analysis from position: 0
2 jumps found. (Code = 43) Position 1 = 1, Position 2 = 2
Branch analysis from position: 1
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 2
filename:       /in/f9oRo
function name:  (null)
number of ops:  3
compiled vars:  none
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E > > JMPZ                                                     <true>, ->2
    5     1    >   DECLARE_CLASS                                            'deprecated'
   16     2    > > RETURN                                                   1

Class Deprecated:
Function __construct:
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/f9oRo
function name:  __construct
number of ops:  7
compiled vars:  !0 = $message, !1 = $since
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
   10     0  E >   RECV_INIT                                        !0      null
          1        RECV_INIT                                        !1      null
   12     2        ASSIGN_OBJ                                               'message'
          3        OP_DATA                                                  !0
   13     4        ASSIGN_OBJ                                               'since'
          5        OP_DATA                                                  !1
   14     6      > RETURN                                                   null

End of function __construct

End of class Deprecated.

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
303.15 ms | 998 KiB | 14 Q