3v4l.org

run code in 300+ PHP versions simultaneously
<?php $extra = []; var_dump(array_column($extra, "pacsfile_series_number")); $seriesMaxNum = max(array_unique(array_column($extra, "pacsfile_series_number"))) + 1;
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/JiTmb
function name:  (null)
number of ops:  21
compiled vars:  !0 = $extra, !1 = $seriesMaxNum
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   ASSIGN                                                   !0, <array>
    5     1        INIT_FCALL                                               'var_dump'
          2        INIT_FCALL                                               'array_column'
          3        SEND_VAR                                                 !0
          4        SEND_VAL                                                 'pacsfile_series_number'
          5        DO_ICALL                                         $3      
          6        SEND_VAR                                                 $3
          7        DO_ICALL                                                 
    7     8        INIT_FCALL                                               'max'
          9        INIT_FCALL                                               'array_unique'
         10        INIT_FCALL                                               'array_column'
         11        SEND_VAR                                                 !0
         12        SEND_VAL                                                 'pacsfile_series_number'
         13        DO_ICALL                                         $5      
         14        SEND_VAR                                                 $5
         15        DO_ICALL                                         $6      
         16        SEND_VAR                                                 $6
         17        DO_ICALL                                         $7      
         18        ADD                                              ~8      $7, 1
         19        ASSIGN                                                   !1, ~8
         20      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
155.39 ms | 1395 KiB | 21 Q