3v4l.org

run code in 300+ PHP versions simultaneously
<?php $myArray = array( 'att' => array( 841 => 'on_time', 842 => 'not_time', 843 => 'not_time', ), 'entatt' => array( 841 => 'unexcused', 842 => 'unexcused', 843 => 'late', ), ); $result = array_merge($myArray['att'], $myArray['entatt']); var_dump($result);
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/lMv93
function name:  (null)
number of ops:  12
compiled vars:  !0 = $myArray, !1 = $result
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   ASSIGN                                                   !0, <array>
   16     1        INIT_FCALL                                               'array_merge'
          2        FETCH_DIM_R                                      ~3      !0, 'att'
          3        SEND_VAL                                                 ~3
          4        FETCH_DIM_R                                      ~4      !0, 'entatt'
          5        SEND_VAL                                                 ~4
          6        DO_ICALL                                         $5      
          7        ASSIGN                                                   !1, $5
   17     8        INIT_FCALL                                               'var_dump'
          9        SEND_VAR                                                 !1
         10        DO_ICALL                                                 
         11      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
155.14 ms | 1394 KiB | 17 Q