3v4l.org

run code in 300+ PHP versions simultaneously
<?php $valArr = array(); $companyArr = array( 'name' => '', 'description' => '', ); $priceArr = array( 'currentPrice' => '', 'exch_name' => '', 'exch_symbol' => '', ); $otherTrxArr = array( 'otherTrx' => '', ); $valArr = $companyArr + $priceArr + $otherTrxArr; print_r($valArr);
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/R6EFO
function name:  (null)
number of ops:  11
compiled vars:  !0 = $valArr, !1 = $companyArr, !2 = $priceArr, !3 = $otherTrxArr
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   ASSIGN                                                   !0, <array>
    5     1        ASSIGN                                                   !1, <array>
   12     2        ASSIGN                                                   !2, <array>
   20     3        ASSIGN                                                   !3, <array>
   23     4        ADD                                              ~8      !1, !2
          5        ADD                                              ~9      ~8, !3
          6        ASSIGN                                                   !0, ~9
   26     7        INIT_FCALL                                               'print_r'
          8        SEND_VAR                                                 !0
          9        DO_ICALL                                                 
         10      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
145.45 ms | 1406 KiB | 15 Q