3v4l.org

run code in 300+ PHP versions simultaneously
<?php $array = json_decode('[{"pattern": "firefox","isPatternRegExp": false},{"pattern": "chrome","isPatternRegExp": false}]', true); var_dump($array);exit; var_dump(array_merge_recursive($array, $array));
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 79) Position 1 = -2
filename:       /in/Ypb7V
function name:  (null)
number of ops:  17
compiled vars:  !0 = $array
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   INIT_FCALL                                               'json_decode'
          1        SEND_VAL                                                 '%5B%7B%22pattern%22%3A+%22firefox%22%2C%22isPatternRegExp%22%3A+false%7D%2C%7B%22pattern%22%3A+%22chrome%22%2C%22isPatternRegExp%22%3A+false%7D%5D'
          2        SEND_VAL                                                 <true>
          3        DO_ICALL                                         $1      
          4        ASSIGN                                                   !0, $1
    5     5        INIT_FCALL                                               'var_dump'
          6        SEND_VAR                                                 !0
          7        DO_ICALL                                                 
          8      > EXIT                                                     
    7     9*       INIT_FCALL                                               'var_dump'
         10*       INIT_FCALL                                               'array_merge_recursive'
         11*       SEND_VAR                                                 !0
         12*       SEND_VAR                                                 !0
         13*       DO_ICALL                                         $4      
         14*       SEND_VAR                                                 $4
         15*       DO_ICALL                                                 
         16*     > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
154.08 ms | 1394 KiB | 19 Q