3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $pf = array( 'a' => 1, 'b' => 2 ); print_r ($pf['a']); print_r( $pf); ?>
Finding entry points
Branch analysis from position: 0
Jump found. Position 1 = -2
filename:       /in/S59G1
function name:  (null)
number of ops:  9
compiled vars:  !0 = $pf
line     #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
   3     0  E >   ASSIGN                                                   !0, <array>
   5     1        INIT_FCALL                                               'print_r'
         2        FETCH_DIM_R                                      $2      !0, 'a'
         3        SEND_VAR                                                 $2
         4        DO_ICALL                                                 
   7     5        INIT_FCALL                                               'print_r'
         6        SEND_VAR                                                 !0
         7        DO_ICALL                                                 
         8      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 7.2.0