3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php foreach ($_SERVER as $key => $value) { echo "$key => $value<br>\n"; }
Finding entry points
Branch analysis from position: 0
Jump found. Position 1 = 2, Position 2 = 10
Branch analysis from position: 2
Jump found. Position 1 = 3, Position 2 = 10
Branch analysis from position: 3
Jump found. Position 1 = 2
Branch analysis from position: 2
Branch analysis from position: 10
Jump found. Position 1 = -2
Branch analysis from position: 10
filename:       /in/956kv
function name:  (null)
number of ops:  12
compiled vars:  !0 = $value, !1 = $key
line     #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
   2     0  E >   FETCH_R                      global              $2      '_SERVER'
         1      > FE_RESET_R                                       $3      $2, ->10
         2    > > FE_FETCH_R                                       ~4      $3, !0, ->10
         3    >   ASSIGN                                                   !1, ~4
   4     4        ROPE_INIT                                     4  ~7      !1
         5        ROPE_ADD                                      1  ~7      ~7, '+%3D%3E+'
         6        ROPE_ADD                                      2  ~7      ~7, !0
         7        ROPE_END                                      3  ~6      ~7, '%3Cbr%3E%0A'
         8        ECHO                                                     ~6
         9      > JMP                                                      ->2
        10    >   FE_FREE                                                  $3
        11      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 7.3.0