3v4l.org

run code in 500+ PHP versions simultaneously
<?php $multable[] = array("11", "12", "15", "22", "41", "42"); $multable[] = array("6", "7", "16", "17", "22", "23"); $multable[] = array("1", "15", "16", "20", "22", "3"); $flat = array_merge(...$multable); printf( 'Min: %d, Max: %d', min($flat), max($flat) );
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/YYNU6
function name:  (null)
number of ops:  23
compiled vars:  !0 = $multable, !1 = $flat
line      #* E I O op                               fetch          ext  return  operands
-----------------------------------------------------------------------------------------
    3     0  E >   ASSIGN_DIM                                                   !0
          1        OP_DATA                                                      <array>
    4     2        ASSIGN_DIM                                                   !0
          3        OP_DATA                                                      <array>
    5     4        ASSIGN_DIM                                                   !0
          5        OP_DATA                                                      <array>
    7     6        INIT_FCALL                                                   'array_merge'
          7        SEND_UNPACK                                                  !0
          8        CHECK_UNDEF_ARGS                                             
          9        DO_ICALL                                             $5      
         10        ASSIGN                                                       !1, $5
    9    11        INIT_FCALL                                                   'printf'
   10    12        SEND_VAL                                                     'Min%3A+%25d%2C+Max%3A+%25d'
   11    13        INIT_FCALL                                                   'min'
         14        SEND_VAR                                                     !1
         15        DO_ICALL                                             $7      
         16        SEND_VAR                                                     $7
   12    17        INIT_FCALL                                                   'max'
         18        SEND_VAR                                                     !1
         19        DO_ICALL                                             $8      
         20        SEND_VAR                                                     $8
    9    21        DO_ICALL                                                     
   13    22      > RETURN                                                       1

Generated using Vulcan Logic Dumper, using php 8.5.0


preferences:
171.23 ms | 1914 KiB | 17 Q