3v4l.org

run code in 300+ PHP versions simultaneously
<?php $Arr1 = [343,353,353,646,757,8]; $Arr2 = [35,353,646,75,23,23]; $a = array_map(null, $Arr1, $Arr2); print_r($a); /*************************************/ array_map(function($v1, $v2){echo $v1.'---'.$v2."\n";}, $Arr1, $Arr2);
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/J6elq
function name:  (null)
number of ops:  18
compiled vars:  !0 = $Arr1, !1 = $Arr2, !2 = $a
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   ASSIGN                                                   !0, <array>
    5     1        ASSIGN                                                   !1, <array>
    7     2        INIT_FCALL                                               'array_map'
          3        SEND_VAL                                                 null
          4        SEND_VAR                                                 !0
          5        SEND_VAR                                                 !1
          6        DO_ICALL                                         $5      
          7        ASSIGN                                                   !2, $5
    8     8        INIT_FCALL                                               'print_r'
          9        SEND_VAR                                                 !2
         10        DO_ICALL                                                 
   11    11        INIT_FCALL                                               'array_map'
         12        DECLARE_LAMBDA_FUNCTION                                  '%00%7Bclosure%7D%2Fin%2FJ6elq%3A11%240'
         13        SEND_VAL                                                 ~8
         14        SEND_VAR                                                 !0
         15        SEND_VAR                                                 !1
         16        DO_ICALL                                                 
         17      > RETURN                                                   1

Function %00%7Bclosure%7D%2Fin%2FJ6elq%3A11%240:
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/J6elq
function name:  {closure}
number of ops:  7
compiled vars:  !0 = $v1, !1 = $v2
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
          0  E >   RECV                                             !0      
          1        RECV                                             !1      
          2        CONCAT                                           ~2      !0, '---'
          3        CONCAT                                           ~3      ~2, !1
          4        CONCAT                                           ~4      ~3, '%0A'
          5        ECHO                                                     ~4
          6      > RETURN                                                   null

End of function %00%7Bclosure%7D%2Fin%2FJ6elq%3A11%240

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
173.57 ms | 1395 KiB | 17 Q