3v4l.org

run code in 300+ PHP versions simultaneously
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
Finding entry points
Branch analysis from position: 0
2 jumps found. (Code = 77) Position 1 = 7, Position 2 = 24
Branch analysis from position: 7
2 jumps found. (Code = 78) Position 1 = 8, Position 2 = 24
Branch analysis from position: 8
2 jumps found. (Code = 43) Position 1 = 16, Position 2 = 20
Branch analysis from position: 16
1 jumps found. (Code = 42) Position 1 = 23
Branch analysis from position: 23
1 jumps found. (Code = 42) Position 1 = 7
Branch analysis from position: 7
Branch analysis from position: 20
1 jumps found. (Code = 42) Position 1 = 7
Branch analysis from position: 7
Branch analysis from position: 24
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 24
filename:       /in/mB8AJ
function name:  (null)
number of ops:  32
compiled vars:  !0 = $array, !1 = $result, !2 = $row, !3 = $compositeKey
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   INIT_FCALL                                               'json_decode'
          1        SEND_VAL                                                 '%5B%7B%0A++++%22manufacturer%22%3A+%22KInd%22%2C%0A++++%22brand%22%3A+%22ABC%22%2C%0A++++%22used%22%3A+%22true%22%0A%7D%2C%0A%7B%0A++++%22manufacturer%22%3A+%22KInd%22%2C%0A++++%22brand%22%3A+%22ABC%22%2C%0A++++%22used%22%3A+%22true%22%0A%7D%2C%0A%7B%0A++++%22manufacturer%22%3A+%22KInd%22%2C%0A++++%22brand%22%3A+%22ABC%22%2C%0A++++%22used%22%3A+%22false%22%0A%7D%5D'
   17     2        SEND_VAL                                                 <true>
    3     3        DO_ICALL                                         $4      
          4        ASSIGN                                                   !0, $4
   19     5        ASSIGN                                                   !1, <array>
   20     6      > FE_RESET_R                                       $7      !0, ->24
          7    > > FE_FETCH_R                                               $7, !2, ->24
   21     8    >   INIT_FCALL                                               'implode'
          9        SEND_VAL                                                 '_'
         10        SEND_VAR                                                 !2
         11        DO_ICALL                                         $8      
         12        ASSIGN                                                   !3, $8
   22    13        ISSET_ISEMPTY_DIM_OBJ                         0  ~10     !1, !3
         14        BOOL_NOT                                         ~11     ~10
         15      > JMPZ                                                     ~11, ->20
   23    16    >   ADD                                              ~13     !2, <array>
         17        ASSIGN_DIM                                               !1, !3
         18        OP_DATA                                                  ~13
   22    19      > JMP                                                      ->23
   25    20    >   FETCH_DIM_RW                                     $14     !1, !3
         21        FETCH_DIM_RW                                     $15     $14, 'count'
         22        PRE_INC                                                  $15
   20    23    > > JMP                                                      ->7
         24    >   FE_FREE                                                  $7
   28    25        INIT_FCALL                                               'var_export'
         26        INIT_FCALL                                               'array_values'
         27        SEND_VAR                                                 !1
         28        DO_ICALL                                         $17     
         29        SEND_VAR                                                 $17
         30        DO_ICALL                                                 
         31      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
231.73 ms | 971 KiB | 17 Q