3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $list = array( FALSE, FALSE, FALSE, FALSE, FALSE, FALSE, FALSE, FALSE, FALSE, FALSE, FALSE, FALSE, FALSE, FALSE, FALSE, FALSE, FALSE, FALSE, FALSE, FALSE, FALSE, FALSE, FALSE, FALSE, FALSE, FALSE, FALSE, FALSE, FALSE, FALSE, FALSE, FALSE, ); foreach($list as $val) { if ($val==FALSE); if ($val==FALSE); if ($val==FALSE); if ($val==FALSE); if ($val==FALSE); if ($val==FALSE); if ($val==FALSE); if ($val==FALSE); if ($val==FALSE); if ($val==FALSE); if ($val==FALSE); if ($val==FALSE); if ($val==FALSE); if ($val==FALSE); if ($val==FALSE); if ($val==FALSE); if ($val==FALSE); if ($val==FALSE); if ($val==FALSE); if ($val==FALSE); if ($val==FALSE); if ($val==FALSE); if ($val==FALSE); if ($val==FALSE); if ($val==FALSE); if ($val==FALSE); if ($val==FALSE); if ($val==FALSE); if ($val==FALSE); if ($val==FALSE); if ($val==FALSE); }
Finding entry points
Branch analysis from position: 0
Jump found. Position 1 = 2, Position 2 = 66
Branch analysis from position: 2
Jump found. Position 1 = 3, Position 2 = 66
Branch analysis from position: 3
Jump found. Position 1 = 5, Position 2 = 5
Branch analysis from position: 5
Jump found. Position 1 = 7, Position 2 = 7
Branch analysis from position: 7
Jump found. Position 1 = 9, Position 2 = 9
Branch analysis from position: 9
Jump found. Position 1 = 11, Position 2 = 11
Branch analysis from position: 11
Jump found. Position 1 = 13, Position 2 = 13
Branch analysis from position: 13
Jump found. Position 1 = 15, Position 2 = 15
Branch analysis from position: 15
Jump found. Position 1 = 17, Position 2 = 17
Branch analysis from position: 17
Jump found. Position 1 = 19, Position 2 = 19
Branch analysis from position: 19
Jump found. Position 1 = 21, Position 2 = 21
Branch analysis from position: 21
Jump found. Position 1 = 23, Position 2 = 23
Branch analysis from position: 23
Jump found. Position 1 = 25, Position 2 = 25
Branch analysis from position: 25
Jump found. Position 1 = 27, Position 2 = 27
Branch analysis from position: 27
Jump found. Position 1 = 29, Position 2 = 29
Branch analysis from position: 29
Jump found. Position 1 = 31, Position 2 = 31
Branch analysis from position: 31
Jump found. Position 1 = 33, Position 2 = 33
Branch analysis from position: 33
Jump found. Position 1 = 35, Position 2 = 35
Branch analysis from position: 35
Jump found. Position 1 = 37, Position 2 = 37
Branch analysis from position: 37
Jump found. Position 1 = 39, Position 2 = 39
Branch analysis from position: 39
Jump found. Position 1 = 41, Position 2 = 41
Branch analysis from position: 41
Jump found. Position 1 = 43, Position 2 = 43
Branch analysis from position: 43
Jump found. Position 1 = 45, Position 2 = 45
Branch analysis from position: 45
Jump found. Position 1 = 47, Position 2 = 47
Branch analysis from position: 47
Jump found. Position 1 = 49, Position 2 = 49
Branch analysis from position: 49
Jump found. Position 1 = 51, Position 2 = 51
Branch analysis from position: 51
Jump found. Position 1 = 53, Position 2 = 53
Branch analysis from position: 53
Jump found. Position 1 = 55, Position 2 = 55
Branch analysis from position: 55
Jump found. Position 1 = 57, Position 2 = 57
Branch analysis from position: 57
Jump found. Position 1 = 59, Position 2 = 59
Branch analysis from position: 59
Jump found. Position 1 = 61, Position 2 = 61
Branch analysis from position: 61
Jump found. Position 1 = 63, Position 2 = 63
Branch analysis from position: 63
Jump found. Position 1 = 65, Position 2 = 65
Branch analysis from position: 65
Jump found. Position 1 = 2
Branch analysis from position: 2
Branch analysis from position: 65
Branch analysis from position: 63
Branch analysis from position: 61
Branch analysis from position: 59
Branch analysis from position: 57
Branch analysis from position: 55
Branch analysis from position: 53
Branch analysis from position: 51
Branch analysis from position: 49
Branch analysis from position: 47
Branch analysis from position: 45
Branch analysis from position: 43
Branch analysis from position: 41
Branch analysis from position: 39
Branch analysis from position: 37
Branch analysis from position: 35
Branch analysis from position: 33
Branch analysis from position: 31
Branch analysis from position: 29
Branch analysis from position: 27
Branch analysis from position: 25
Branch analysis from position: 23
Branch analysis from position: 21
Branch analysis from position: 19
Branch analysis from position: 17
Branch analysis from position: 15
Branch analysis from position: 13
Branch analysis from position: 11
Branch analysis from position: 9
Branch analysis from position: 7
Branch analysis from position: 5
Branch analysis from position: 66
Jump found. Position 1 = -2
Branch analysis from position: 66
filename:       /in/BFSkr
function name:  (null)
number of ops:  68
compiled vars:  !0 = $list, !1 = $val
line     #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
   4     0  E >   ASSIGN                                                   !0, <array>
  38     1      > FE_RESET_R                                       $3      !0, ->66
         2    > > FE_FETCH_R                                               $3, !1, ->66
  39     3    >   BOOL_NOT                                         ~4      !1
         4      > JMPZ                                                     ~4, ->5
  40     5    >   BOOL_NOT                                         ~5      !1
         6      > JMPZ                                                     ~5, ->7
  41     7    >   BOOL_NOT                                         ~6      !1
         8      > JMPZ                                                     ~6, ->9
  42     9    >   BOOL_NOT                                         ~7      !1
        10      > JMPZ                                                     ~7, ->11
  43    11    >   BOOL_NOT                                         ~8      !1
        12      > JMPZ                                                     ~8, ->13
  44    13    >   BOOL_NOT                                         ~9      !1
        14      > JMPZ                                                     ~9, ->15
  45    15    >   BOOL_NOT                                         ~10     !1
        16      > JMPZ                                                     ~10, ->17
  46    17    >   BOOL_NOT                                         ~11     !1
        18      > JMPZ                                                     ~11, ->19
  47    19    >   BOOL_NOT                                         ~12     !1
        20      > JMPZ                                                     ~12, ->21
  48    21    >   BOOL_NOT                                         ~13     !1
        22      > JMPZ                                                     ~13, ->23
  49    23    >   BOOL_NOT                                         ~14     !1
        24      > JMPZ                                                     ~14, ->25
  50    25    >   BOOL_NOT                                         ~15     !1
        26      > JMPZ                                                     ~15, ->27
  51    27    >   BOOL_NOT                                         ~16     !1
        28      > JMPZ                                                     ~16, ->29
  52    29    >   BOOL_NOT                                         ~17     !1
        30      > JMPZ                                                     ~17, ->31
  53    31    >   BOOL_NOT                                         ~18     !1
        32      > JMPZ                                                     ~18, ->33
  54    33    >   BOOL_NOT                                         ~19     !1
        34      > JMPZ                                                     ~19, ->35
  55    35    >   BOOL_NOT                                         ~20     !1
        36      > JMPZ                                                     ~20, ->37
  56    37    >   BOOL_NOT                                         ~21     !1
        38      > JMPZ                                                     ~21, ->39
  57    39    >   BOOL_NOT                                         ~22     !1
        40      > JMPZ                                                     ~22, ->41
  58    41    >   BOOL_NOT                                         ~23     !1
        42      > JMPZ                                                     ~23, ->43
  59    43    >   BOOL_NOT                                         ~24     !1
        44      > JMPZ                                                     ~24, ->45
  60    45    >   BOOL_NOT                                         ~25     !1
        46      > JMPZ                                                     ~25, ->47
  61    47    >   BOOL_NOT                                         ~26     !1
        48      > JMPZ                                                     ~26, ->49
  62    49    >   BOOL_NOT                                         ~27     !1
        50      > JMPZ                                                     ~27, ->51
  63    51    >   BOOL_NOT                                         ~28     !1
        52      > JMPZ                                                     ~28, ->53
  64    53    >   BOOL_NOT                                         ~29     !1
        54      > JMPZ                                                     ~29, ->55
  65    55    >   BOOL_NOT                                         ~30     !1
        56      > JMPZ                                                     ~30, ->57
  66    57    >   BOOL_NOT                                         ~31     !1
        58      > JMPZ                                                     ~31, ->59
  67    59    >   BOOL_NOT                                         ~32     !1
        60      > JMPZ                                                     ~32, ->61
  68    61    >   BOOL_NOT                                         ~33     !1
        62      > JMPZ                                                     ~33, ->63
  69    63    >   BOOL_NOT                                         ~34     !1
        64      > JMPZ                                                     ~34, ->65
        65    > > JMP                                                      ->2
        66    >   FE_FREE                                                  $3
        67      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 7.2.0