3v4l.org

run code in 300+ PHP versions simultaneously
<?php namespace App\Http\Controllers; use Illuminate\Http\Request; class LkController extends Controller { public function lk(){ $user = Auth::user(); return view('lk.lk-client', ['user' => $user]); } }
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/VCchN
function name:  (null)
number of ops:  2
compiled vars:  none
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    7     0  E >   DECLARE_CLASS                                            'app%5Chttp%5Ccontrollers%5Clkcontroller', 'app%5Chttp%5Ccontrollers%5Ccontroller'
   14     1      > RETURN                                                   1

Class App\Http\Controllers\LkController:
Function lk:
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/VCchN
function name:  lk
number of ops:  10
compiled vars:  !0 = $user
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
   10     0  E >   INIT_STATIC_METHOD_CALL                                  'App%5CHttp%5CControllers%5CAuth', 'user'
          1        DO_FCALL                                      0  $1      
          2        ASSIGN                                                   !0, $1
   12     3        INIT_NS_FCALL_BY_NAME                                    'App%5CHttp%5CControllers%5Cview'
          4        SEND_VAL_EX                                              'lk.lk-client'
          5        INIT_ARRAY                                       ~3      !0, 'user'
          6        SEND_VAL_EX                                              ~3
          7        DO_FCALL                                      0  $4      
          8      > RETURN                                                   $4
   13     9*     > RETURN                                                   null

End of function lk

End of class App\Http\Controllers\LkController.

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
136.22 ms | 997 KiB | 14 Q