3v4l.org

run code in 300+ PHP versions simultaneously
<?php $books["978-0743261690"] = "Gilgamesh"; $books["978-0060931957"] = "The Odyssey"; $books["978-0192840509"] = "Aesop's Fables"; $books["978-0520227040"] = "Mahabharta"; $books["978-0393320978"] = "Beowulf"; ?><html> <head> <title>Five Great Books</title> </head> <body> <h1>Five Great Books</h1> <ul> <?php foreach($books as $b => $aa) { ?> <li><?php echo $b . $aa; ?></li> <?php } ?> </ul> </body> </html>
Finding entry points
Branch analysis from position: 0
2 jumps found. (Code = 77) Position 1 = 12, Position 2 = 19
Branch analysis from position: 12
2 jumps found. (Code = 78) Position 1 = 13, Position 2 = 19
Branch analysis from position: 13
1 jumps found. (Code = 42) Position 1 = 12
Branch analysis from position: 12
Branch analysis from position: 19
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 19
filename:       /in/aDgVc
function name:  (null)
number of ops:  22
compiled vars:  !0 = $books, !1 = $aa, !2 = $b
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   ASSIGN_DIM                                               !0, '978-0743261690'
          1        OP_DATA                                                  'Gilgamesh'
    4     2        ASSIGN_DIM                                               !0, '978-0060931957'
          3        OP_DATA                                                  'The+Odyssey'
    5     4        ASSIGN_DIM                                               !0, '978-0192840509'
          5        OP_DATA                                                  'Aesop%27s+Fables'
    6     6        ASSIGN_DIM                                               !0, '978-0520227040'
          7        OP_DATA                                                  'Mahabharta'
    7     8        ASSIGN_DIM                                               !0, '978-0393320978'
          9        OP_DATA                                                  'Beowulf'
    9    10        ECHO                                                     '%3Chtml%3E%0A%3Chead%3E%0A++++%3Ctitle%3EFive+Great+Books%3C%2Ftitle%3E%0A%3C%2Fhead%3E%0A%3Cbody%3E%0A++++%3Ch1%3EFive+Great+Books%3C%2Fh1%3E%0A++++%3Cul%3E%0A++++++++'
   16    11      > FE_RESET_R                                       $8      !0, ->19
         12    > > FE_FETCH_R                                       ~9      $8, !1, ->19
         13    >   ASSIGN                                                   !2, ~9
   17    14        ECHO                                                     '++++++++++++%3Cli%3E'
         15        CONCAT                                           ~11     !2, !1
         16        ECHO                                                     ~11
         17        ECHO                                                     '%3C%2Fli%3E%0A++++++++'
   16    18      > JMP                                                      ->12
         19    >   FE_FREE                                                  $8
   19    20        ECHO                                                     '++++%3C%2Ful%3E%0A%3C%2Fbody%3E%0A%3C%2Fhtml%3E'
   21    21      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
150.55 ms | 1385 KiB | 13 Q