3v4l.org

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

Generated using Vulcan Logic Dumper, using php 7.3.0