3v4l.org

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

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
140.49 ms | 1006 KiB | 16 Q