3v4l.org

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

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
166.52 ms | 1398 KiB | 17 Q