3v4l.org

run code in 300+ PHP versions simultaneously
<!DOCTYPE html> <html> <body> <?php $cars = array ( array("Volvo",22,18), array("BMW",15,13), array("Saab",5,2), array("Land Rover",17,15) ); for ($row = 0; $row < 4; $row++) { echo "<p><b>Row number $row</b></p>"; echo "<ul>"; for ($col = 0; $col < 3; $col++) { echo "<li>".$cars[$row][$col]."</li>"; } echo "</ul>"; } ?> </body> </html>
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 42) Position 1 = 21
Branch analysis from position: 21
2 jumps found. (Code = 44) Position 1 = 23, Position 2 = 4
Branch analysis from position: 23
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 4
1 jumps found. (Code = 42) Position 1 = 17
Branch analysis from position: 17
2 jumps found. (Code = 44) Position 1 = 19, Position 2 = 11
Branch analysis from position: 19
2 jumps found. (Code = 44) Position 1 = 23, Position 2 = 4
Branch analysis from position: 23
Branch analysis from position: 4
Branch analysis from position: 11
2 jumps found. (Code = 44) Position 1 = 19, Position 2 = 11
Branch analysis from position: 19
Branch analysis from position: 11
filename:       /in/gpj7m
function name:  (null)
number of ops:  25
compiled vars:  !0 = $cars, !1 = $row, !2 = $col
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    1     0  E >   ECHO                                                     '%3C%21DOCTYPE+html%3E%0A%3Chtml%3E%0A%3Cbody%3E%0A%0A'
    6     1        ASSIGN                                                   !0, <array>
   14     2        ASSIGN                                                   !1, 0
          3      > JMP                                                      ->21
   15     4    >   ROPE_INIT                                     3  ~6      '%3Cp%3E%3Cb%3ERow+number+'
          5        ROPE_ADD                                      1  ~6      ~6, !1
          6        ROPE_END                                      2  ~5      ~6, '%3C%2Fb%3E%3C%2Fp%3E'
          7        ECHO                                                     ~5
   16     8        ECHO                                                     '%3Cul%3E'
   17     9        ASSIGN                                                   !2, 0
         10      > JMP                                                      ->17
   18    11    >   FETCH_DIM_R                                      ~9      !0, !1
         12        FETCH_DIM_R                                      ~10     ~9, !2
         13        CONCAT                                           ~11     '%3Cli%3E', ~10
         14        CONCAT                                           ~12     ~11, '%3C%2Fli%3E'
         15        ECHO                                                     ~12
   17    16        PRE_INC                                                  !2
         17    >   IS_SMALLER                                               !2, 3
         18      > JMPNZ                                                    ~14, ->11
   20    19    >   ECHO                                                     '%3C%2Ful%3E'
   14    20        PRE_INC                                                  !1
         21    >   IS_SMALLER                                               !1, 4
         22      > JMPNZ                                                    ~16, ->4
   23    23    >   ECHO                                                     '%0A%3C%2Fbody%3E%0A%3C%2Fhtml%3E'
   25    24      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
140.19 ms | 1395 KiB | 13 Q