3v4l.org

run code in 300+ PHP versions simultaneously
<?php class CookieService { public function set() { } public function get(Cookie $cookie): mixed { return $cookie->get("value"); } }
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/qE5QO
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 CookieService:
Function set:
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/qE5QO
function name:  set
number of ops:  1
compiled vars:  none
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    8     0  E > > 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/qE5QO
function name:  get
number of ops:  7
compiled vars:  !0 = $cookie
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
   10     0  E >   RECV                                             !0      
   12     1        INIT_METHOD_CALL                                         !0, 'get'
          2        SEND_VAL_EX                                              'value'
          3        DO_FCALL                                      0  $1      
          4      > RETURN                                                   $1
   13     5*       VERIFY_RETURN_TYPE                                       
          6*     > RETURN                                                   null

End of function get

End of class CookieService.

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
138.51 ms | 994 KiB | 13 Q