3v4l.org

run code in 300+ PHP versions simultaneously
<?php $this->logger->warning( $text, array_merge( $mixin, [ 'key' => $key, 'state' => $state, 'module' => 'cache' ], null !== $time ? [ 'time' => (int) $time // milliseconds ] : [], $itemStack ? ['keyStack' => $this->getItemStackKeys($itemStack)] : [] ) );
Finding entry points
Branch analysis from position: 0
2 jumps found. (Code = 43) Position 1 = 12, Position 2 = 16
Branch analysis from position: 12
1 jumps found. (Code = 42) Position 1 = 17
Branch analysis from position: 17
2 jumps found. (Code = 43) Position 1 = 19, Position 2 = 26
Branch analysis from position: 19
1 jumps found. (Code = 42) Position 1 = 27
Branch analysis from position: 27
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 26
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 16
2 jumps found. (Code = 43) Position 1 = 19, Position 2 = 26
Branch analysis from position: 19
Branch analysis from position: 26
filename:       /in/1CWlB
function name:  (null)
number of ops:  32
compiled vars:  !0 = $text, !1 = $mixin, !2 = $key, !3 = $state, !4 = $time, !5 = $itemStack
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   FETCH_THIS                                       $6      
          1        FETCH_OBJ_R                                      ~7      $6, 'logger'
          2        INIT_METHOD_CALL                                         ~7, 'warning'
    4     3        SEND_VAR_EX                                              !0
    5     4        INIT_FCALL                                               'array_merge'
    6     5        SEND_VAR                                                 !1
    8     6        INIT_ARRAY                                       ~8      !2, 'key'
    9     7        ADD_ARRAY_ELEMENT                                ~8      !3, 'state'
   10     8        ADD_ARRAY_ELEMENT                                ~8      'cache', 'module'
          9        SEND_VAL                                                 ~8
   12    10        TYPE_CHECK                                  1020          !4
         11      > JMPZ                                                     ~9, ->16
   13    12    >   CAST                                          4  ~10     !4
         13        INIT_ARRAY                                       ~11     ~10, 'time'
         14        QM_ASSIGN                                        ~12     ~11
         15      > JMP                                                      ->17
   14    16    >   QM_ASSIGN                                        ~12     <array>
         17    >   SEND_VAL                                                 ~12
   15    18      > JMPZ                                                     !5, ->26
         19    >   FETCH_THIS                                       $13     
         20        INIT_METHOD_CALL                                         $13, 'getItemStackKeys'
         21        SEND_VAR_EX                                              !5
         22        DO_FCALL                                      0  $14     
         23        INIT_ARRAY                                       ~15     $14, 'keyStack'
         24        QM_ASSIGN                                        ~16     ~15
         25      > JMP                                                      ->27
         26    >   QM_ASSIGN                                        ~16     <array>
         27    >   SEND_VAL                                                 ~16
         28        DO_ICALL                                         $17     
         29        SEND_VAR_NO_REF_EX                                       $17
         30        DO_FCALL                                      0          
   17    31      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
197.59 ms | 1396 KiB | 15 Q