3v4l.org

run code in 300+ PHP versions simultaneously
<?php $ab = array( array(0, 1, 2,7), array(3, 4, 5,9,0) ); echo max(array_map('count', $ab)); echo $ab[0].length;
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/ulD7M
function name:  (null)
number of ops:  14
compiled vars:  !0 = $ab
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   ASSIGN                                                   !0, <array>
    6     1        INIT_FCALL                                               'max'
          2        INIT_FCALL                                               'array_map'
          3        SEND_VAL                                                 'count'
          4        SEND_VAR                                                 !0
          5        DO_ICALL                                         $2      
          6        SEND_VAR                                                 $2
          7        DO_ICALL                                         $3      
          8        ECHO                                                     $3
    7     9        FETCH_DIM_R                                      ~4      !0, 0
         10        FETCH_CONSTANT                                   ~5      'length'
         11        CONCAT                                           ~6      ~4, ~5
         12        ECHO                                                     ~6
         13      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
161.19 ms | 1394 KiB | 17 Q