3v4l.org

run code in 300+ PHP versions simultaneously
<?php $this->Articles ->find() ->matching('ArticlesTags.Tags', function($q) { return $q->where(['Tags.slug' => $tag]); });
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/DY7MI
function name:  (null)
number of ops:  10
compiled vars:  none
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   FETCH_THIS                                       $0      
          1        FETCH_OBJ_R                                      ~1      $0, 'Articles'
    4     2        INIT_METHOD_CALL                                         ~1, 'find'
          3        DO_FCALL                                      0  $2      
    5     4        INIT_METHOD_CALL                                         $2, 'matching'
          5        SEND_VAL_EX                                              'ArticlesTags.Tags'
          6        DECLARE_LAMBDA_FUNCTION                                  '%00%7Bclosure%7D%2Fin%2FDY7MI%3A5%240'
    7     7        SEND_VAL_EX                                              ~3
          8        DO_FCALL                                      0          
          9      > RETURN                                                   1

Function %00%7Bclosure%7D%2Fin%2FDY7MI%3A5%240:
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/DY7MI
function name:  {closure}
number of ops:  7
compiled vars:  !0 = $q, !1 = $tag
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    5     0  E >   RECV                                             !0      
    6     1        INIT_METHOD_CALL                                         !0, 'where'
          2        INIT_ARRAY                                       ~2      !1, 'Tags.slug'
          3        SEND_VAL_EX                                              ~2
          4        DO_FCALL                                      0  $3      
          5      > RETURN                                                   $3
    7     6*     > RETURN                                                   null

End of function %00%7Bclosure%7D%2Fin%2FDY7MI%3A5%240

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
146.84 ms | 1393 KiB | 13 Q