3v4l.org

run code in 500+ PHP versions simultaneously
<?php $clean_s = ['apple','ball','cat','dog']; $clean_r = ['apple','bat','carrot','duck','elephant','fan']; $max = max(array_map("count", [$clean_s, $clean_r])); echo $max;
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/2JbQi
function name:  (null)
number of ops:  14
compiled vars:  !0 = $clean_s, !1 = $clean_r, !2 = $max
line      #* E I O op                               fetch          ext  return  operands
-----------------------------------------------------------------------------------------
    2     0  E >   ASSIGN                                                       !0, <array>
    3     1        ASSIGN                                                       !1, <array>
    4     2        INIT_FCALL                                                   'max'
          3        INIT_FCALL                                                   'array_map'
          4        SEND_VAL                                                     'count'
          5        INIT_ARRAY                                           ~5      !0
          6        ADD_ARRAY_ELEMENT                                    ~5      !1
          7        SEND_VAL                                                     ~5
          8        DO_ICALL                                             $6      
          9        SEND_VAR                                                     $6
         10        DO_ICALL                                             $7      
         11        ASSIGN                                                       !2, $7
    5    12        ECHO                                                         !2
    6    13      > RETURN                                                       1

Generated using Vulcan Logic Dumper, using php 8.5.0


preferences:
127.58 ms | 477 KiB | 9 Q