3v4l.org

run code in 300+ PHP versions simultaneously
<?php $array = array( 0 => array( '1' => '123', '2' => '120', '3' => '30', '4' => '150' ), 1 => array( '1' => '123', '2' => '122', '3' => '30', '4' => '158' ), 2 => array( '1' => '123', '2' => '129', '3' => '300', '4' => '150' ) ); $a = array_merge(...$array); print_r($a); echo max($a);
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/XldKC
function name:  (null)
number of ops:  14
compiled vars:  !0 = $array, !1 = $a
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   ASSIGN                                                   !0, <array>
   22     1        INIT_FCALL                                               'array_merge'
          2        SEND_UNPACK                                              !0
          3        CHECK_UNDEF_ARGS                                         
          4        DO_ICALL                                         $3      
          5        ASSIGN                                                   !1, $3
   23     6        INIT_FCALL                                               'print_r'
          7        SEND_VAR                                                 !1
          8        DO_ICALL                                                 
   24     9        INIT_FCALL                                               'max'
         10        SEND_VAR                                                 !1
         11        DO_ICALL                                         $6      
         12        ECHO                                                     $6
         13      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
142.72 ms | 1404 KiB | 19 Q