3v4l.org

run code in 300+ PHP versions simultaneously
<?php Route::namespace('User')->name('user.')->group( function () { Route::prefix('profile')->name('profile.')->group( function () { Route::get('/', 'ProfileController@resume')->name('index')->middleware('auth'); Route::get('/edit', "ProfileController@edit")->name('edit')->middleware('auth'); Route::post('/update', "ProfileController@update")->name('update'); }); });
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/VmsCh
function name:  (null)
number of ops:  11
compiled vars:  none
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   INIT_STATIC_METHOD_CALL                                  'Route', 'namespace'
          1        SEND_VAL_EX                                              'User'
          2        DO_FCALL                                      0  $0      
          3        INIT_METHOD_CALL                                         $0, 'name'
          4        SEND_VAL_EX                                              'user.'
          5        DO_FCALL                                      0  $1      
          6        INIT_METHOD_CALL                                         $1, 'group'
          7        DECLARE_LAMBDA_FUNCTION                                  '%00%7Bclosure%7D%2Fin%2FVmsCh%3A3%240'
    9     8        SEND_VAL_EX                                              ~2
          9        DO_FCALL                                      0          
         10      > RETURN                                                   1

Function %00%7Bclosure%7D%2Fin%2FVmsCh%3A3%240:
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/VmsCh
function name:  {closure}
number of ops:  11
compiled vars:  none
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    4     0  E >   INIT_STATIC_METHOD_CALL                                  'Route', 'prefix'
          1        SEND_VAL_EX                                              'profile'
          2        DO_FCALL                                      0  $0      
          3        INIT_METHOD_CALL                                         $0, 'name'
          4        SEND_VAL_EX                                              'profile.'
          5        DO_FCALL                                      0  $1      
          6        INIT_METHOD_CALL                                         $1, 'group'
          7        DECLARE_LAMBDA_FUNCTION                                  '%00%7Bclosure%7D%2Fin%2FVmsCh%3A4%241'
    8     8        SEND_VAL_EX                                              ~2
          9        DO_FCALL                                      0          
    9    10      > RETURN                                                   null

End of function %00%7Bclosure%7D%2Fin%2FVmsCh%3A3%240

Function %00%7Bclosure%7D%2Fin%2FVmsCh%3A4%241:
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/VmsCh
function name:  {closure}
number of ops:  28
compiled vars:  none
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    5     0  E >   INIT_STATIC_METHOD_CALL                                  'Route', 'get'
          1        SEND_VAL_EX                                              '%2F'
          2        SEND_VAL_EX                                              'ProfileController%40resume'
          3        DO_FCALL                                      0  $0      
          4        INIT_METHOD_CALL                                         $0, 'name'
          5        SEND_VAL_EX                                              'index'
          6        DO_FCALL                                      0  $1      
          7        INIT_METHOD_CALL                                         $1, 'middleware'
          8        SEND_VAL_EX                                              'auth'
          9        DO_FCALL                                      0          
    6    10        INIT_STATIC_METHOD_CALL                                  'Route', 'get'
         11        SEND_VAL_EX                                              '%2Fedit'
         12        SEND_VAL_EX                                              'ProfileController%40edit'
         13        DO_FCALL                                      0  $3      
         14        INIT_METHOD_CALL                                         $3, 'name'
         15        SEND_VAL_EX                                              'edit'
         16        DO_FCALL                                      0  $4      
         17        INIT_METHOD_CALL                                         $4, 'middleware'
         18        SEND_VAL_EX                                              'auth'
         19        DO_FCALL                                      0          
    7    20        INIT_STATIC_METHOD_CALL                                  'Route', 'post'
         21        SEND_VAL_EX                                              '%2Fupdate'
         22        SEND_VAL_EX                                              'ProfileController%40update'
         23        DO_FCALL                                      0  $6      
         24        INIT_METHOD_CALL                                         $6, 'name'
         25        SEND_VAL_EX                                              'update'
         26        DO_FCALL                                      0          
    8    27      > RETURN                                                   null

End of function %00%7Bclosure%7D%2Fin%2FVmsCh%3A4%241

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
171.85 ms | 1390 KiB | 13 Q