3v4l.org

run code in 500+ PHP versions simultaneously
<?php class Cookie { public function set(string $name, mixed $value): void { //установить куки } public function get($name): mixed { //получить куки } }
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/i9DUD
function name:  (null)
number of ops:  1
compiled vars:  none
line      #* E I O op                               fetch          ext  return  operands
-----------------------------------------------------------------------------------------
   14     0  E > > RETURN                                                       1

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

End of function set

Function get:
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/i9DUD
function name:  get
number of ops:  3
compiled vars:  !0 = $name
line      #* E I O op                               fetch          ext  return  operands
-----------------------------------------------------------------------------------------
   10     0  E >   RECV                                                 !0      
   13     1        VERIFY_RETURN_TYPE                                           
          2      > RETURN                                                       null

End of function get

End of class Cookie.

Generated using Vulcan Logic Dumper, using php 8.5.0


preferences:
156.11 ms | 1574 KiB | 13 Q