3v4l.org

run code in 300+ PHP versions simultaneously
<!DOCTYPE html> <html> <body> <?php $x=array("Monday","Tuesday","Wednesday","Thursday","Friday"); foreach($x as $value){ echo $value."<br/>"; } ?> </body> </html>
Finding entry points
Branch analysis from position: 0
2 jumps found. (Code = 77) Position 1 = 3, Position 2 = 7
Branch analysis from position: 3
2 jumps found. (Code = 78) Position 1 = 4, Position 2 = 7
Branch analysis from position: 4
1 jumps found. (Code = 42) Position 1 = 3
Branch analysis from position: 3
Branch analysis from position: 7
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 7
filename:       /in/pNKjR
function name:  (null)
number of ops:  10
compiled vars:  !0 = $x, !1 = $value
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    1     0  E >   ECHO                                                     '%3C%21DOCTYPE+html%3E%0A%3Chtml%3E%0A%3Cbody%3E%0A'
    5     1        ASSIGN                                                   !0, <array>
    6     2      > FE_RESET_R                                       $3      !0, ->7
          3    > > FE_FETCH_R                                               $3, !1, ->7
    7     4    >   CONCAT                                           ~4      !1, '%3Cbr%2F%3E'
          5        ECHO                                                     ~4
    6     6      > JMP                                                      ->3
          7    >   FE_FREE                                                  $3
   10     8        ECHO                                                     '%3C%2Fbody%3E%0A%3C%2Fhtml%3E'
   11     9      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
151.17 ms | 1393 KiB | 13 Q