3v4l.org

run code in 200+ PHP versions simultaneously
<?php $arr = [ 'k1' => 0, 'k2' => 1, 'k3' => 0, 'k4' => 0, 'k5' => 3, 'k6' => 0, 'k7' => 4, 'k8' => 0, 'k9' => 0, 'k10' => 0, 'k11' => 0, 'k12' => 0, 'k13' => 0, 'k14' => 0, 'k15' => 0, 'k16' => 0, 'k17' => 0, ]; asort($arr); var_dump($arr);
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/bpvq1
function name:  (null)
number of ops:  8
compiled vars:  !0 = $arr
line     #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
   4     0  E >   ASSIGN                                                   !0, <array>
  23     1        INIT_FCALL                                               'asort'
         2        SEND_REF                                                 !0
         3        DO_ICALL                                                 
  25     4        INIT_FCALL                                               'var_dump'
         5        SEND_VAR                                                 !0
         6        DO_ICALL                                                 
         7      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 7.4.0