3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $arr=array("one", "two", "three"); foreach ($arr as $value) { echo "Value: " . $value . "<br />"; } ?>
Finding entry points
Branch analysis from position: 0
Jump found. Position 1 = 2, Position 2 = 7
Branch analysis from position: 2
Jump found. Position 1 = 3, Position 2 = 7
Branch analysis from position: 3
Jump found. Position 1 = 2
Branch analysis from position: 2
Branch analysis from position: 7
Jump found. Position 1 = -2
Branch analysis from position: 7
filename:       /in/kijOl
function name:  (null)
number of ops:  9
compiled vars:  !0 = $arr, !1 = $value
line     #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
   2     0  E >   ASSIGN                                                   !0, <array>
   4     1      > FE_RESET_R                                       $3      !0, ->7
         2    > > FE_FETCH_R                                               $3, !1, ->7
   6     3    >   CONCAT                                           ~4      'Value%3A+', !1
         4        CONCAT                                           ~5      ~4, '%3Cbr+%2F%3E'
         5        ECHO                                                     ~5
         6      > JMP                                                      ->2
         7    >   FE_FREE                                                  $3
         8      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 7.2.0