3v4l.org

run code in 300+ PHP versions simultaneously
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
Finding entry points
Branch analysis from position: 0
2 jumps found. (Code = 43) Position 1 = 7, Position 2 = 9
Branch analysis from position: 7
1 jumps found. (Code = 42) Position 1 = 10
Branch analysis from position: 10
2 jumps found. (Code = 43) Position 1 = 17, Position 2 = 19
Branch analysis from position: 17
1 jumps found. (Code = 42) Position 1 = 20
Branch analysis from position: 20
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 19
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 9
2 jumps found. (Code = 43) Position 1 = 17, Position 2 = 19
Branch analysis from position: 17
Branch analysis from position: 19
filename:       /in/ZfCBH
function name:  (null)
number of ops:  22
compiled vars:  none
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    4     0  E >   INIT_STATIC_METHOD_CALL                                  'Term', 'create'
          1        SEND_VAL_EX                                              'oni'
          2        DO_FCALL                                      0  $0      
          3        INIT_METHOD_CALL                                         $0, 'in'
          4        SEND_VAL_EX                                              <array>
          5        DO_FCALL                                      0  $1      
          6      > JMPZ                                                     $1, ->9
    5     7    >   ECHO                                                     '%22oni%22+is+available+in+the+given+ingredients%0A'
    4     8      > JMP                                                      ->10
    7     9    >   ECHO                                                     '%22oni%22+is+NOT+available+in+the+given+ingredients%0A'
   10    10    >   INIT_STATIC_METHOD_CALL                                  'Term', 'create'
         11        SEND_VAL_EX                                              'oni'
         12        DO_FCALL                                      0  $2      
         13        INIT_METHOD_CALL                                         $2, 'in'
         14        SEND_VAL_EX                                              'pepperoni'
         15        DO_FCALL                                      0  $3      
         16      > JMPZ                                                     $3, ->19
   11    17    >   ECHO                                                     '%22oni%22+is+available+in+the+given+ingredient%0A'
   10    18      > JMP                                                      ->20
   13    19    >   ECHO                                                     '%22oni%22+is+NOT+available+in+the+given+ingredient%0A'
   18    20    >   DECLARE_CLASS                                            'term'
   48    21      > RETURN                                                   1

Class Term:
Function __construct:
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/ZfCBH
function name:  __construct
number of ops:  4
compiled vars:  !0 = $value
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
   22     0  E >   RECV                                             !0      
   24     1        ASSIGN_OBJ                                               'value'
          2        OP_DATA                                                  !0
   25     3      > RETURN                                                   null

End of function __construct

Function create:
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/ZfCBH
function name:  create
number of ops:  6
compiled vars:  !0 = $value
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
   27     0  E >   RECV                                             !0      
   29     1        NEW                          self                $1      
          2        SEND_VAR_EX                                              !0
          3        DO_FCALL                                      0          
          4      > RETURN                                                   $1
   30     5*     > RETURN                                                   null

End of function create

Function in:
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/ZfCBH
function name:  in
number of ops:  9
compiled vars:  !0 = $search
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
   32     0  E >   RECV                                             !0      
   34     1        INIT_FCALL                                               'array_reduce'
          2        CAST                                          7  ~1      !0
          3        SEND_VAL                                                 ~1
          4        DECLARE_LAMBDA_FUNCTION                          ~2      [0]
   36     5        SEND_VAL                                                 ~2
   34     6        DO_ICALL                                         $3      
   36     7      > RETURN                                                   $3
   37     8*     > RETURN                                                   null


Dynamic Functions:
Dynamic Function 0
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/ZfCBH
function name:  {closure}
number of ops:  13
compiled vars:  !0 = $carry, !1 = $item
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
   34     0  E >   RECV                                             !0      
          1        RECV                                             !1      
   35     2        JMP_SET                                          ~2      !0, ->11
          3        INIT_FCALL                                               'mb_substr_count'
          4        SEND_VAR                                                 !1
          5        FETCH_THIS                                       $3      
          6        FETCH_OBJ_R                                      ~4      $3, 'value'
          7        SEND_VAL                                                 ~4
          8        DO_ICALL                                         $5      
          9        BOOL                                             ~6      $5
         10        QM_ASSIGN                                        ~2      ~6
         11      > RETURN                                                   ~2
   36    12*     > RETURN                                                   null

End of Dynamic Function 0

End of function in

Function notin:
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/ZfCBH
function name:  notIn
number of ops:  7
compiled vars:  !0 = $search, !1 = $array
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
   39     0  E >   RECV                                             !0      
   41     1        INIT_METHOD_CALL                                         'in'
          2        SEND_VAR_EX                                              !1
          3        DO_FCALL                                      0  $2      
          4        BOOL_NOT                                         ~3      $2
          5      > RETURN                                                   ~3
   42     6*     > RETURN                                                   null

End of function notin

Function __tostring:
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/ZfCBH
function name:  __toString
number of ops:  5
compiled vars:  none
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
   46     0  E >   FETCH_OBJ_R                                      ~0      'value'
          1        VERIFY_RETURN_TYPE                                       ~0
          2      > RETURN                                                   ~0
   47     3*       VERIFY_RETURN_TYPE                                       
          4*     > RETURN                                                   null

End of function __tostring

End of class Term.

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
258.46 ms | 979 KiB | 15 Q