3v4l.org

run code in 300+ PHP versions simultaneously
<?php //Tinker away! use App\Models\CategoryTask; $org_category_task_count = CategoryTask::where('organisation_id', 4) ->whereNull('deleted_at') ->get() ->countBy('checklist_category_id'); return $org_category_task_count;
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/IaIpD
function name:  (null)
number of ops:  15
compiled vars:  !0 = $org_category_task_count
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    5     0  E >   INIT_STATIC_METHOD_CALL                                  'App%5CModels%5CCategoryTask', 'where'
          1        SEND_VAL_EX                                              'organisation_id'
          2        SEND_VAL_EX                                              4
          3        DO_FCALL                                      0  $1      
    6     4        INIT_METHOD_CALL                                         $1, 'whereNull'
          5        SEND_VAL_EX                                              'deleted_at'
          6        DO_FCALL                                      0  $2      
    7     7        INIT_METHOD_CALL                                         $2, 'get'
          8        DO_FCALL                                      0  $3      
    8     9        INIT_METHOD_CALL                                         $3, 'countBy'
         10        SEND_VAL_EX                                              'checklist_category_id'
         11        DO_FCALL                                      0  $4      
    5    12        ASSIGN                                                   !0, $4
   10    13      > RETURN                                                   !0
   11    14*     > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
235.54 ms | 1001 KiB | 13 Q