3v4l.org

run code in 300+ PHP versions simultaneously
<?php $array = json_decode('[ { "pattern": "firefox", "isPatternRegExp": false, "name": "Firefox", "type": "browser", "cssClass": "firefox", "versionPattern": "!firefox\\/([0-9]+)\\.!" }, { "pattern": "chrome", "isPatternRegExp": false, "name": "Chrome", "type": "browser", "cssClass": "chrome", "versionPattern": "!chrome\\/([0-9]+)\\.!" }, ]', 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/dGveQ
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%0A++++%7B%0A++++++++%22pattern%22%3A+%22firefox%22%2C%0A++++++++%22isPatternRegExp%22%3A+false%2C%0A++++++++%22name%22%3A+%22Firefox%22%2C%0A++++++++%22type%22%3A+%22browser%22%2C%0A++++++++%22cssClass%22%3A+%22firefox%22%2C%0A++++++++%22versionPattern%22%3A+%22%21firefox%5C%2F%28%5B0-9%5D%2B%29%5C.%21%22%0A++++%7D%2C%0A++++%7B%0A++++++++%22pattern%22%3A+%22chrome%22%2C%0A++++++++%22isPatternRegExp%22%3A+false%2C%0A++++++++%22name%22%3A+%22Chrome%22%2C%0A++++++++%22type%22%3A+%22browser%22%2C%0A++++++++%22cssClass%22%3A+%22chrome%22%2C%0A++++++++%22versionPattern%22%3A+%22%21chrome%5C%2F%28%5B0-9%5D%2B%29%5C.%21%22%0A++++%7D%2C%0A%5D'
   20     2        SEND_VAL                                                 <true>
          3        DO_ICALL                                         $1      
    3     4        ASSIGN                                                   !0, $1
   22     5        INIT_FCALL                                               'var_dump'
          6        SEND_VAR                                                 !0
          7        DO_ICALL                                                 
          8      > EXIT                                                     
   24     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:
150.1 ms | 1395 KiB | 19 Q