3v4l.org

run code in 300+ PHP versions simultaneously
<?php namespace Illuminate\Contracts\Http; interface Kernel { public function handle(\Symfony\Component\HttpFoundation\Request $request); } namespace Illuminate\Foundation\Http; class Kernel implements \Illuminate\Contracts\Http\Kernel { // This will not work because Illuminate's request is *more specific* // than the parent type (Symfony's request) public function handle(\Illuminate\Http\Request $request) {} } // -------------------------------------------------- namespace Symfony\Component\HttpFoundation; class Request { /* ... */ } namespace Illuminate\Http; class Request extends \Symfony\Component\HttpFoundation\Request { /* ... */ }
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/3qkji
function name:  (null)
number of ops:  2
compiled vars:  none
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
   10     0  E >   DECLARE_CLASS                                            'illuminate%5Cfoundation%5Chttp%5Ckernel'
   26     1      > RETURN                                                   1

Class Illuminate\Contracts\Http\Kernel:
Function handle:
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/3qkji
function name:  handle
number of ops:  2
compiled vars:  !0 = $request
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    6     0  E >   RECV                                             !0      
          1      > RETURN                                                   null

End of function handle

End of class Illuminate\Contracts\Http\Kernel.

Class Illuminate\Foundation\Http\Kernel:
Function handle:
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/3qkji
function name:  handle
number of ops:  2
compiled vars:  !0 = $request
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
   14     0  E >   RECV                                             !0      
   15     1      > RETURN                                                   null

End of function handle

End of class Illuminate\Foundation\Http\Kernel.

Class Symfony\Component\HttpFoundation\Request: [no user functions]
Class Illuminate\Http\Request: [no user functions]

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
243.75 ms | 941 KiB | 13 Q