3v4l.org

run code in 300+ PHP versions simultaneously
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <title>While Loop</title> <meta http-equiv="content-type" content="text/html; charset=iso-8859-1" /> </head> <body> <p> <?php $Count = 0; while ($Count > 100) { $Numbers[] = $Count; ++$Count; foreach ($Count as $CurNum) echo "<p>$CurNum</p>"; } ?> </p> </body> </html>
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 42) Position 1 = 14
Branch analysis from position: 14
2 jumps found. (Code = 44) Position 1 = 16, Position 2 = 3
Branch analysis from position: 16
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 3
2 jumps found. (Code = 77) Position 1 = 7, Position 2 = 13
Branch analysis from position: 7
2 jumps found. (Code = 78) Position 1 = 8, Position 2 = 13
Branch analysis from position: 8
1 jumps found. (Code = 42) Position 1 = 7
Branch analysis from position: 7
Branch analysis from position: 13
2 jumps found. (Code = 44) Position 1 = 16, Position 2 = 3
Branch analysis from position: 16
Branch analysis from position: 3
Branch analysis from position: 13
filename:       /in/Z2W2C
function name:  (null)
number of ops:  18
compiled vars:  !0 = $Count, !1 = $Numbers, !2 = $CurNum
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    1     0  E >   ECHO                                                     '%3C%21DOCTYPE+html+PUBLIC+%22-%2F%2FW3C%2F%2FDTD+XHTML+1.0%0AStrict%2F%2FEN%22%0A%22http%3A%2F%2Fwww.w3.org%2FTR%2Fxhtml1%2FDTD%2Fxhtml1-strict.dtd%22%3E%0A%3Chtml+xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F1999%2Fxhtml%22%3E%0A%3Chead%3E%0A%3Ctitle%3EWhile+Loop%3C%2Ftitle%3E%0A%3Cmeta+http-equiv%3D%22content-type%22%0Acontent%3D%22text%2Fhtml%3B+charset%3Diso-8859-1%22+%2F%3E%0A%3C%2Fhead%3E%0A%3Cbody%3E%0A%0A%3Cp%3E%0A'
   14     1        ASSIGN                                                   !0, 0
   15     2      > JMP                                                      ->14
   16     3    >   ASSIGN_DIM                                               !1
          4        OP_DATA                                                  !0
   17     5        PRE_INC                                                  !0
   18     6      > FE_RESET_R                                       $6      !0, ->13
          7    > > FE_FETCH_R                                               $6, !2, ->13
   19     8    >   ROPE_INIT                                     3  ~8      '%3Cp%3E'
          9        ROPE_ADD                                      1  ~8      ~8, !2
         10        ROPE_END                                      2  ~7      ~8, '%3C%2Fp%3E'
         11        ECHO                                                     ~7
   18    12      > JMP                                                      ->7
         13    >   FE_FREE                                                  $6
   15    14    >   IS_SMALLER                                               100, !0
         15      > JMPNZ                                                    ~10, ->3
   22    16    >   ECHO                                                     '%3C%2Fp%3E%0A%0A%3C%2Fbody%3E%0A%3C%2Fhtml%3E'
   25    17      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
156.66 ms | 1394 KiB | 13 Q