3v4l.org

run code in 300+ PHP versions simultaneously
<?php $array = [ [ ['2011-11-18 00:00:00' => 'C'], ['2011-11-18 00:00:00' => 'I'], ['2011-11-18 00:00:00' => 'S'] ], [ ['2011-11-22 00:00:00' => 'C'], ['2011-11-22 00:00:00' => 'S'] ] ]; var_export(array_count_values(array_map(key(...), array_merge(...$array))));
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/e0IuD
function name:  (null)
number of ops:  18
compiled vars:  !0 = $array
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   ASSIGN                                                   !0, <array>
   15     1        INIT_FCALL                                               'var_export'
          2        INIT_FCALL                                               'array_count_values'
          3        INIT_FCALL                                               'array_map'
          4        INIT_FCALL                                               'key'
          5        ZEND_CALLABLE_CONVERT                            ~2      
          6        SEND_VAL                                                 ~2
          7        INIT_FCALL                                               'array_merge'
          8        SEND_UNPACK                                              !0
          9        CHECK_UNDEF_ARGS                                         
         10        DO_ICALL                                         $3      
         11        SEND_VAR                                                 $3
         12        DO_ICALL                                         $4      
         13        SEND_VAR                                                 $4
         14        DO_ICALL                                         $5      
         15        SEND_VAR                                                 $5
         16        DO_ICALL                                                 
         17      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
139.17 ms | 1003 KiB | 18 Q