3v4l.org

run code in 300+ PHP versions simultaneously
<?php $array = [ ['id' => 117, 'name' => 'Networking', 'count' => 16], ['id' => 188, 'name' => 'FTP', 'count' => 23], ['id' => 189, 'name' => 'Internet', 'count' => 48], ]; $counts = array_column($array, 'count'); var_export(['min' => min($counts), 'max' => max($counts)]);
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/72HLk
function name:  (null)
number of ops:  18
compiled vars:  !0 = $array, !1 = $counts
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   ASSIGN                                                   !0, <array>
    9     1        INIT_FCALL                                               'array_column'
          2        SEND_VAR                                                 !0
          3        SEND_VAL                                                 'count'
          4        DO_ICALL                                         $3      
          5        ASSIGN                                                   !1, $3
   10     6        INIT_FCALL                                               'var_export'
          7        INIT_FCALL                                               'min'
          8        SEND_VAR                                                 !1
          9        DO_ICALL                                         $5      
         10        INIT_ARRAY                                       ~6      $5, 'min'
         11        INIT_FCALL                                               'max'
         12        SEND_VAR                                                 !1
         13        DO_ICALL                                         $7      
         14        ADD_ARRAY_ELEMENT                                ~6      $7, 'max'
         15        SEND_VAL                                                 ~6
         16        DO_ICALL                                                 
         17      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
237.45 ms | 1002 KiB | 17 Q