3v4l.org

run code in 500+ PHP versions simultaneously
<?php $arr = [10, 20, 30, 40]; $arr2 = [10, 20, 30, 40]; $result = array_map('array_sum', array_map(null, $arr, $arr2)); print_r($result);
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/AJtZa
function name:  (null)
number of ops:  16
compiled vars:  !0 = $arr, !1 = $arr2, !2 = $result
line      #* E I O op                               fetch          ext  return  operands
-----------------------------------------------------------------------------------------
    3     0  E >   ASSIGN                                                       !0, <array>
    4     1        ASSIGN                                                       !1, <array>
    6     2        INIT_FCALL                                                   'array_map'
          3        SEND_VAL                                                     'array_sum'
          4        INIT_FCALL                                                   'array_map'
          5        SEND_VAL                                                     null
          6        SEND_VAR                                                     !0
          7        SEND_VAR                                                     !1
          8        DO_ICALL                                             $5      
          9        SEND_VAR                                                     $5
         10        DO_ICALL                                             $6      
         11        ASSIGN                                                       !2, $6
    8    12        INIT_FCALL                                                   'print_r'
         13        SEND_VAR                                                     !2
         14        DO_ICALL                                                     
         15      > RETURN                                                       1

Generated using Vulcan Logic Dumper, using php 8.5.0


preferences:
202.8 ms | 2027 KiB | 15 Q