3v4l.org

run code in 300+ PHP versions simultaneously
<?php $Prepetrators = array(); $nos = array(); $preparatorsToBeShown; $PreparatorArray = array(); $criminalList = array(); $cardShown = array(); $flag1; $flag2; $flag3; $criminalList[0] = "a"; $criminalList[1] = "b"; $criminalList[2] = "c"; $criminalList[3] = "d"; $criminalList[4] = "e"; $criminalList[5] = "f"; $criminalList[6] = "g"; $Prepetrators = selectPrepetrators(); $Prepetrators[0] = "b"; $Prepetrators[1] = "f"; $Prepetrators[2] = "e"; function selectPrepetrators() { global $Prepetrators,$nos,$preparatorsToBeShown,$PreparatorArray,$criminalList,$cardShown; $PrepetratorsNames = array(); $i = 0; while($i!=3) { $no = rand(0,5); if(in_array($no,$nos) != 1) { $nos[] = $no; $i++; } } for($j = 0;$j< count($nos) ; $j++) { $number = $nos[$j]; $name = $criminalList[$number]; $PrepetratorsNames[] = $name; } for($j = 0;$j< count($nos) ; $j++) { $number = $nos[$j]; $name = $criminalList[$number]; $PreparatorArray[] = $name; } return $PrepetratorsNames; } function showCard() { global $Prepetrators,$nos,$preparatorsToBeShown,$PreparatorArray,$criminalList,$cardShown; $cardToBeDisplayed = array(); $preaparatorOnCard = array(); $i = 0; // global $preparatorsToBeShown = rand(1,2); while($i != $preparatorsToBeShown ) { $no = rand(0,3); if( in_array($no,$preaparatorOnCard)!= 1) { $preaparatorOnCard[] = $no; $i++; } } $no = 0; $no = 3 - $preparatorsToBeShown; $y = 0; $fakePrepators = array(); while($y != $no) { $no1 = rand(0,5); while((in_array($no1,$nos) == 1 )|| (in_array($no1,$fakePrepators) == 1) ) { $no1 = rand(0,5); } $fakePrepator = $no1; $fakePrepators[] = $fakePrepator; $y++; } for($num = 0 ;$num <count($cardShown) ; $num++) { ///////////////////////////Unsetting array logic ////////////////// unset($cardShown); ///////////////////////////////////////////////////////////////// } //////////////////set the array /////////// $cardShown = array_values($cardShown); ////////////////////////////////////////// for($k =0; $k<$preparatorsToBeShown ;$k++) { $a = $PreparatorArray[$k]; $cardShown[] = $a; } for($d=0;$d<count($fakePrepators);$d++) { $fakePrepator = $fakePrepators[$d]; $fakePrePator = $criminalList[$fakePrepator]; $cardShown[] = $fakePrePator; } for($k =0;$k < count($fakePrepators);$k++) { $var = $fakePrepators[$k]; } echo " the card shown is <br>"; for($k =0;$k < count($cardShown);$k++) { $var = $cardShown[$k]; } $var1 = $cardShown[0]; $var2 = $cardShown[1]; $var3 = $cardShown[2]; echo '<br>'; echo '<br>'; echo '<br>'; echo '<br>'; echo '<br>'; echo '<br>'; echo '<br>'; echo '<br>'; echo '<br>'; echo '<br>'; echo '<br>'; echo '<br>'; echo '<br>'; echo '<br>'; echo '<br>'; echo '<br>'; echo '<br>'; echo '<br>'; echo '<br>'; echo '<br>'; echo '<br>'; echo "<font color='560404'>...................................................................................................................................................................</font>"; echo "<font color='#FFFFFF' size='+1'>Actual perpetrators out of these are -----> </font>"; echo "<font color='#FFFFFF' size='+1'>$preparatorsToBeShown</font>".'<br>'; echo '<br>'; echo "<font color='560404'>....................................................................................................................................</font>"; echo'<input type="text" align="middle" name="something" value="'.$var1.'"/>'; echo '<input type="text" align="middle" name="something" value="'.$var2.'"/>'; echo '<input type="text" align="middle" name="something" value="'.$var3.'"/>'; } if (isset($_POST['show'])) { echo "function called<br> "; showCard(); } if(isset($_POST['form11'])) { if (isset($_POST['enter1'])) { $input1 = $_POST['enter1']; if(in_array($input1, $Prepetrators)==1) { $flag1 = 1; } else { $flag1 = 0; } } if (isset($_POST['enter2'])) { $input2 = $_POST['enter2']; if(in_array($input2, $Prepetrators)==1) { $flag2 = 1; } else { $flag2= 0; } } if (isset($_POST['enter3'])) { $input3 = $_POST['enter3']; if(in_array($input3, $Prepetrators)==1) { $flag3 = 1; } else { $flag3 = 0; } } echo '<br>'; echo '<br>'; echo '<br>'; echo '<br>'; echo '<br>'; echo '<br>'; echo '<br>'; echo '<br>'; echo '<br>'; echo '<br>'; echo '<br>'; echo '<br>'; echo '<br>'; echo '<br>'; echo '<br>'; echo '<br>'; echo '<br>'; echo '<br>'; echo '<br>'; echo '<br>'; echo '<br>'; echo '<br>'; echo '<br>'; echo '<br>'; echo '<br>'; echo '<br>'; echo '<br>'; echo '<br>'; echo '<br>'; echo '<br>'; echo '<br>'; echo '<br>'; echo '<br>'; echo '<br>'; echo '<br>'; echo '<br>'; echo '<br>'; echo '<br>'; echo '<br>'; echo '<br>'; echo '<br>'; echo '<br>'; echo '<br>'; echo "<font color='560404'>...............................................................................................................................................................................</font>"; echo "<font color='#FFFFFF' size='+1'>The actual perpetrators are</font>";; echo '<br>'; echo '<br>'; echo "<font color='560404'>....................................................................................................................................</font>"; echo'<input type="text" align="middle" name="something" value="'.$Prepetrators[0].'"/>'; echo '<input type="text" align="middle" name="something" value="'.$Prepetrators[1].'"/>'; echo '<input type="text" align="middle" name="something" value="'.$Prepetrators[2].'"/>'; if($flag1 == 1 && $flag2 == 1 && $flag3 == 1 ) { echo '<script type="text/javascript"> window.alert("You Found Them ") </script>'; } else { echo '<script type="text/javascript"> window.alert(" Sorry your answer is not correct ") </script>'; } } ?>
Finding entry points
Branch analysis from position: 0
2 jumps found. (Code = 43) Position 1 = 31, Position 2 = 34
Branch analysis from position: 31
2 jumps found. (Code = 43) Position 1 = 37, Position 2 = 153
Branch analysis from position: 37
2 jumps found. (Code = 43) Position 1 = 40, Position 2 = 52
Branch analysis from position: 40
2 jumps found. (Code = 43) Position 1 = 49, Position 2 = 51
Branch analysis from position: 49
1 jumps found. (Code = 42) Position 1 = 52
Branch analysis from position: 52
2 jumps found. (Code = 43) Position 1 = 55, Position 2 = 67
Branch analysis from position: 55
2 jumps found. (Code = 43) Position 1 = 64, Position 2 = 66
Branch analysis from position: 64
1 jumps found. (Code = 42) Position 1 = 67
Branch analysis from position: 67
2 jumps found. (Code = 43) Position 1 = 70, Position 2 = 82
Branch analysis from position: 70
2 jumps found. (Code = 43) Position 1 = 79, Position 2 = 81
Branch analysis from position: 79
1 jumps found. (Code = 42) Position 1 = 82
Branch analysis from position: 82
2 jumps found. (Code = 46) Position 1 = 144, Position 2 = 146
Branch analysis from position: 144
2 jumps found. (Code = 46) Position 1 = 147, Position 2 = 149
Branch analysis from position: 147
2 jumps found. (Code = 43) Position 1 = 150, Position 2 = 152
Branch analysis from position: 150
1 jumps found. (Code = 42) Position 1 = 153
Branch analysis from position: 153
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 152
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 149
Branch analysis from position: 146
Branch analysis from position: 81
2 jumps found. (Code = 46) Position 1 = 144, Position 2 = 146
Branch analysis from position: 144
Branch analysis from position: 146
Branch analysis from position: 82
Branch analysis from position: 66
2 jumps found. (Code = 43) Position 1 = 70, Position 2 = 82
Branch analysis from position: 70
Branch analysis from position: 82
Branch analysis from position: 67
Branch analysis from position: 51
2 jumps found. (Code = 43) Position 1 = 55, Position 2 = 67
Branch analysis from position: 55
Branch analysis from position: 67
Branch analysis from position: 52
Branch analysis from position: 153
Branch analysis from position: 34
filename:       /in/CsLuS
function name:  (null)
number of ops:  154
compiled vars:  !0 = $Prepetrators, !1 = $nos, !2 = $preparatorsToBeShown, !3 = $PreparatorArray, !4 = $criminalList, !5 = $cardShown, !6 = $flag1, !7 = $flag2, !8 = $flag3, !9 = $input1, !10 = $input2, !11 = $input3
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   ASSIGN                                                   !0, <array>
    3     1        ASSIGN                                                   !1, <array>
    5     2        ASSIGN                                                   !3, <array>
    6     3        ASSIGN                                                   !4, <array>
    7     4        ASSIGN                                                   !5, <array>
   12     5        ASSIGN_DIM                                               !4, 0
          6        OP_DATA                                                  'a'
   13     7        ASSIGN_DIM                                               !4, 1
          8        OP_DATA                                                  'b'
   14     9        ASSIGN_DIM                                               !4, 2
         10        OP_DATA                                                  'c'
   15    11        ASSIGN_DIM                                               !4, 3
         12        OP_DATA                                                  'd'
   16    13        ASSIGN_DIM                                               !4, 4
         14        OP_DATA                                                  'e'
   17    15        ASSIGN_DIM                                               !4, 5
         16        OP_DATA                                                  'f'
   18    17        ASSIGN_DIM                                               !4, 6
         18        OP_DATA                                                  'g'
   21    19        INIT_FCALL_BY_NAME                                       'selectPrepetrators'
         20        DO_FCALL                                      0  $24     
         21        ASSIGN                                                   !0, $24
   22    22        ASSIGN_DIM                                               !0, 0
         23        OP_DATA                                                  'b'
   23    24        ASSIGN_DIM                                               !0, 1
         25        OP_DATA                                                  'f'
   24    26        ASSIGN_DIM                                               !0, 2
         27        OP_DATA                                                  'e'
  162    28        FETCH_IS                                         ~29     '_POST'
         29        ISSET_ISEMPTY_DIM_OBJ                         0          ~29, 'show'
         30      > JMPZ                                                     ~30, ->34
  164    31    >   ECHO                                                     'function+called%3Cbr%3E+'
  165    32        INIT_FCALL                                               'showcard'
         33        DO_FCALL                                      0          
  168    34    >   FETCH_IS                                         ~32     '_POST'
         35        ISSET_ISEMPTY_DIM_OBJ                         0          ~32, 'form11'
         36      > JMPZ                                                     ~33, ->153
  171    37    >   FETCH_IS                                         ~34     '_POST'
         38        ISSET_ISEMPTY_DIM_OBJ                         0          ~34, 'enter1'
         39      > JMPZ                                                     ~35, ->52
  173    40    >   FETCH_R                      global              ~36     '_POST'
         41        FETCH_DIM_R                                      ~37     ~36, 'enter1'
         42        ASSIGN                                                   !9, ~37
  174    43        INIT_FCALL                                               'in_array'
         44        SEND_VAR                                                 !9
         45        SEND_VAR                                                 !0
         46        DO_ICALL                                         $39     
         47        IS_EQUAL                                                 $39, 1
         48      > JMPZ                                                     ~40, ->51
  176    49    >   ASSIGN                                                   !6, 1
         50      > JMP                                                      ->52
  180    51    >   ASSIGN                                                   !6, 0
  184    52    >   FETCH_IS                                         ~43     '_POST'
         53        ISSET_ISEMPTY_DIM_OBJ                         0          ~43, 'enter2'
         54      > JMPZ                                                     ~44, ->67
  186    55    >   FETCH_R                      global              ~45     '_POST'
         56        FETCH_DIM_R                                      ~46     ~45, 'enter2'
         57        ASSIGN                                                   !10, ~46
  187    58        INIT_FCALL                                               'in_array'
         59        SEND_VAR                                                 !10
         60        SEND_VAR                                                 !0
         61        DO_ICALL                                         $48     
         62        IS_EQUAL                                                 $48, 1
         63      > JMPZ                                                     ~49, ->66
  189    64    >   ASSIGN                                                   !7, 1
         65      > JMP                                                      ->67
  193    66    >   ASSIGN                                                   !7, 0
  197    67    >   FETCH_IS                                         ~52     '_POST'
         68        ISSET_ISEMPTY_DIM_OBJ                         0          ~52, 'enter3'
         69      > JMPZ                                                     ~53, ->82
  199    70    >   FETCH_R                      global              ~54     '_POST'
         71        FETCH_DIM_R                                      ~55     ~54, 'enter3'
         72        ASSIGN                                                   !11, ~55
  200    73        INIT_FCALL                                               'in_array'
         74        SEND_VAR                                                 !11
         75        SEND_VAR                                                 !0
         76        DO_ICALL                                         $57     
         77        IS_EQUAL                                                 $57, 1
         78      > JMPZ                                                     ~58, ->81
  202    79    >   ASSIGN                                                   !8, 1
         80      > JMP                                                      ->82
  206    81    >   ASSIGN                                                   !8, 0
  210    82    >   ECHO                                                     '%3Cbr%3E'
  211    83        ECHO                                                     '%3Cbr%3E'
  212    84        ECHO                                                     '%3Cbr%3E'
  213    85        ECHO                                                     '%3Cbr%3E'
  214    86        ECHO                                                     '%3Cbr%3E'
  215    87        ECHO                                                     '%3Cbr%3E'
  216    88        ECHO                                                     '%3Cbr%3E'
  217    89        ECHO                                                     '%3Cbr%3E'
  218    90        ECHO                                                     '%3Cbr%3E'
  219    91        ECHO                                                     '%3Cbr%3E'
  220    92        ECHO                                                     '%3Cbr%3E'
  221    93        ECHO                                                     '%3Cbr%3E'
  222    94        ECHO                                                     '%3Cbr%3E'
  223    95        ECHO                                                     '%3Cbr%3E'
  224    96        ECHO                                                     '%3Cbr%3E'
  225    97        ECHO                                                     '%3Cbr%3E'
  226    98        ECHO                                                     '%3Cbr%3E'
  227    99        ECHO                                                     '%3Cbr%3E'
  228   100        ECHO                                                     '%3Cbr%3E'
  229   101        ECHO                                                     '%3Cbr%3E'
  230   102        ECHO                                                     '%3Cbr%3E'
  231   103        ECHO                                                     '%3Cbr%3E'
  232   104        ECHO                                                     '%3Cbr%3E'
  233   105        ECHO                                                     '%3Cbr%3E'
  234   106        ECHO                                                     '%3Cbr%3E'
  235   107        ECHO                                                     '%3Cbr%3E'
  236   108        ECHO                                                     '%3Cbr%3E'
  237   109        ECHO                                                     '%3Cbr%3E'
  238   110        ECHO                                                     '%3Cbr%3E'
  239   111        ECHO                                                     '%3Cbr%3E'
  240   112        ECHO                                                     '%3Cbr%3E'
  241   113        ECHO                                                     '%3Cbr%3E'
  242   114        ECHO                                                     '%3Cbr%3E'
  243   115        ECHO                                                     '%3Cbr%3E'
  244   116        ECHO                                                     '%3Cbr%3E'
  245   117        ECHO                                                     '%3Cbr%3E'
  246   118        ECHO                                                     '%3Cbr%3E'
  247   119        ECHO                                                     '%3Cbr%3E'
  248   120        ECHO                                                     '%3Cbr%3E'
  249   121        ECHO                                                     '%3Cbr%3E'
  250   122        ECHO                                                     '%3Cbr%3E'
  251   123        ECHO                                                     '%3Cbr%3E'
  252   124        ECHO                                                     '%3Cbr%3E'
  253   125        ECHO                                                     '%3Cfont+color%3D%27560404%27%3E...............................................................................................................................................................................%3C%2Ffont%3E'
  254   126        ECHO                                                     '%3Cfont+color%3D%27%23FFFFFF%27+size%3D%27%2B1%27%3EThe+actual+perpetrators+are%3C%2Ffont%3E'
  255   127        ECHO                                                     '%3Cbr%3E'
  256   128        ECHO                                                     '%3Cbr%3E'
  257   129        ECHO                                                     '%3Cfont+color%3D%27560404%27%3E....................................................................................................................................%3C%2Ffont%3E'
  258   130        FETCH_DIM_R                                      ~61     !0, 0
        131        CONCAT                                           ~62     '%3Cinput+type%3D%22text%22+align%3D%22middle%22+name%3D%22something%22+value%3D%22', ~61
        132        CONCAT                                           ~63     ~62, '%22%2F%3E'
        133        ECHO                                                     ~63
  259   134        FETCH_DIM_R                                      ~64     !0, 1
        135        CONCAT                                           ~65     '%3Cinput+type%3D%22text%22+align%3D%22middle%22+name%3D%22something%22+value%3D%22', ~64
        136        CONCAT                                           ~66     ~65, '%22%2F%3E'
        137        ECHO                                                     ~66
  260   138        FETCH_DIM_R                                      ~67     !0, 2
        139        CONCAT                                           ~68     '%3Cinput+type%3D%22text%22+align%3D%22middle%22+name%3D%22something%22+value%3D%22', ~67
        140        CONCAT                                           ~69     ~68, '%22%2F%3E'
        141        ECHO                                                     ~69
  261   142        IS_EQUAL                                         ~70     !6, 1
        143      > JMPZ_EX                                          ~70     ~70, ->146
        144    >   IS_EQUAL                                         ~71     !7, 1
        145        BOOL                                             ~70     ~71
        146    > > JMPZ_EX                                          ~70     ~70, ->149
        147    >   IS_EQUAL                                         ~72     !8, 1
        148        BOOL                                             ~70     ~72
        149    > > JMPZ                                                     ~70, ->152
  263   150    >   ECHO                                                     '%3Cscript+type%3D%22text%2Fjavascript%22%3E%0A%09window.alert%28%22You+Found+Them+%22%29%0A%09%3C%2Fscript%3E'
        151      > JMP                                                      ->153
  269   152    >   ECHO                                                     '%3Cscript+type%3D%22text%2Fjavascript%22%3E%0A%09window.alert%28%22+Sorry+your+answer+is+not+correct+%22%29%0A%09%3C%2Fscript%3E'
  275   153    > > RETURN                                                   1

Function selectprepetrators:
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 42) Position 1 = 23
Branch analysis from position: 23
2 jumps found. (Code = 44) Position 1 = 25, Position 2 = 9
Branch analysis from position: 25
1 jumps found. (Code = 42) Position 1 = 34
Branch analysis from position: 34
2 jumps found. (Code = 44) Position 1 = 37, Position 2 = 27
Branch analysis from position: 37
1 jumps found. (Code = 42) Position 1 = 46
Branch analysis from position: 46
2 jumps found. (Code = 44) Position 1 = 49, Position 2 = 39
Branch analysis from position: 49
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 39
2 jumps found. (Code = 44) Position 1 = 49, Position 2 = 39
Branch analysis from position: 49
Branch analysis from position: 39
Branch analysis from position: 27
2 jumps found. (Code = 44) Position 1 = 37, Position 2 = 27
Branch analysis from position: 37
Branch analysis from position: 27
Branch analysis from position: 9
2 jumps found. (Code = 43) Position 1 = 20, Position 2 = 23
Branch analysis from position: 20
2 jumps found. (Code = 44) Position 1 = 25, Position 2 = 9
Branch analysis from position: 25
Branch analysis from position: 9
Branch analysis from position: 23
filename:       /in/CsLuS
function name:  selectPrepetrators
number of ops:  51
compiled vars:  !0 = $Prepetrators, !1 = $nos, !2 = $preparatorsToBeShown, !3 = $PreparatorArray, !4 = $criminalList, !5 = $cardShown, !6 = $PrepetratorsNames, !7 = $i, !8 = $no, !9 = $j, !10 = $number, !11 = $name
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
   28     0  E >   BIND_GLOBAL                                              !0, 'Prepetrators'
          1        BIND_GLOBAL                                              !1, 'nos'
          2        BIND_GLOBAL                                              !2, 'preparatorsToBeShown'
          3        BIND_GLOBAL                                              !3, 'PreparatorArray'
          4        BIND_GLOBAL                                              !4, 'criminalList'
          5        BIND_GLOBAL                                              !5, 'cardShown'
   29     6        ASSIGN                                                   !6, <array>
   30     7        ASSIGN                                                   !7, 0
   31     8      > JMP                                                      ->23
   33     9    >   INIT_FCALL                                               'rand'
         10        SEND_VAL                                                 0
         11        SEND_VAL                                                 5
         12        DO_ICALL                                         $14     
         13        ASSIGN                                                   !8, $14
   34    14        INIT_FCALL                                               'in_array'
         15        SEND_VAR                                                 !8
         16        SEND_VAR                                                 !1
         17        DO_ICALL                                         $16     
         18        IS_NOT_EQUAL                                             $16, 1
         19      > JMPZ                                                     ~17, ->23
   36    20    >   ASSIGN_DIM                                               !1
         21        OP_DATA                                                  !8
   37    22        PRE_INC                                                  !7
   31    23    >   IS_NOT_EQUAL                                             !7, 3
         24      > JMPNZ                                                    ~20, ->9
   40    25    >   ASSIGN                                                   !9, 0
         26      > JMP                                                      ->34
   42    27    >   FETCH_DIM_R                                      ~22     !1, !9
         28        ASSIGN                                                   !10, ~22
   43    29        FETCH_DIM_R                                      ~24     !4, !10
         30        ASSIGN                                                   !11, ~24
   44    31        ASSIGN_DIM                                               !6
         32        OP_DATA                                                  !11
   40    33        PRE_INC                                                  !9
         34    >   COUNT                                            ~28     !1
         35        IS_SMALLER                                               !9, ~28
         36      > JMPNZ                                                    ~29, ->27
   47    37    >   ASSIGN                                                   !9, 0
         38      > JMP                                                      ->46
   49    39    >   FETCH_DIM_R                                      ~31     !1, !9
         40        ASSIGN                                                   !10, ~31
   50    41        FETCH_DIM_R                                      ~33     !4, !10
         42        ASSIGN                                                   !11, ~33
   51    43        ASSIGN_DIM                                               !3
         44        OP_DATA                                                  !11
   47    45        PRE_INC                                                  !9
         46    >   COUNT                                            ~37     !1
         47        IS_SMALLER                                               !9, ~37
         48      > JMPNZ                                                    ~38, ->39
   53    49    > > RETURN                                                   !6
   54    50*     > RETURN                                                   null

End of function selectprepetrators

Function showcard:
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 42) Position 1 = 29
Branch analysis from position: 29
2 jumps found. (Code = 44) Position 1 = 31, Position 2 = 15
Branch analysis from position: 31
1 jumps found. (Code = 42) Position 1 = 65
Branch analysis from position: 65
2 jumps found. (Code = 44) Position 1 = 67, Position 2 = 37
Branch analysis from position: 67
1 jumps found. (Code = 42) Position 1 = 71
Branch analysis from position: 71
2 jumps found. (Code = 44) Position 1 = 74, Position 2 = 69
Branch analysis from position: 74
1 jumps found. (Code = 42) Position 1 = 85
Branch analysis from position: 85
2 jumps found. (Code = 44) Position 1 = 87, Position 2 = 80
Branch analysis from position: 87
1 jumps found. (Code = 42) Position 1 = 96
Branch analysis from position: 96
2 jumps found. (Code = 44) Position 1 = 99, Position 2 = 89
Branch analysis from position: 99
1 jumps found. (Code = 42) Position 1 = 104
Branch analysis from position: 104
2 jumps found. (Code = 44) Position 1 = 107, Position 2 = 101
Branch analysis from position: 107
1 jumps found. (Code = 42) Position 1 = 113
Branch analysis from position: 113
2 jumps found. (Code = 44) Position 1 = 116, Position 2 = 110
Branch analysis from position: 116
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 110
2 jumps found. (Code = 44) Position 1 = 116, Position 2 = 110
Branch analysis from position: 116
Branch analysis from position: 110
Branch analysis from position: 101
2 jumps found. (Code = 44) Position 1 = 107, Position 2 = 101
Branch analysis from position: 107
Branch analysis from position: 101
Branch analysis from position: 89
2 jumps found. (Code = 44) Position 1 = 99, Position 2 = 89
Branch analysis from position: 99
Branch analysis from position: 89
Branch analysis from position: 80
2 jumps found. (Code = 44) Position 1 = 87, Position 2 = 80
Branch analysis from position: 87
Branch analysis from position: 80
Branch analysis from position: 69
2 jumps found. (Code = 44) Position 1 = 74, Position 2 = 69
Branch analysis from position: 74
Branch analysis from position: 69
Branch analysis from position: 37
1 jumps found. (Code = 42) Position 1 = 48
Branch analysis from position: 48
2 jumps found. (Code = 47) Position 1 = 54, Position 2 = 60
Branch analysis from position: 54
2 jumps found. (Code = 44) Position 1 = 61, Position 2 = 43
Branch analysis from position: 61
2 jumps found. (Code = 44) Position 1 = 67, Position 2 = 37
Branch analysis from position: 67
Branch analysis from position: 37
Branch analysis from position: 43
2 jumps found. (Code = 47) Position 1 = 54, Position 2 = 60
Branch analysis from position: 54
Branch analysis from position: 60
Branch analysis from position: 60
Branch analysis from position: 15
2 jumps found. (Code = 43) Position 1 = 26, Position 2 = 29
Branch analysis from position: 26
2 jumps found. (Code = 44) Position 1 = 31, Position 2 = 15
Branch analysis from position: 31
Branch analysis from position: 15
Branch analysis from position: 29
filename:       /in/CsLuS
function name:  showCard
number of ops:  162
compiled vars:  !0 = $Prepetrators, !1 = $nos, !2 = $preparatorsToBeShown, !3 = $PreparatorArray, !4 = $criminalList, !5 = $cardShown, !6 = $cardToBeDisplayed, !7 = $preaparatorOnCard, !8 = $i, !9 = $no, !10 = $y, !11 = $fakePrepators, !12 = $no1, !13 = $fakePrepator, !14 = $num, !15 = $k, !16 = $a, !17 = $d, !18 = $fakePrePator, !19 = $var, !20 = $var1, !21 = $var2, !22 = $var3
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
   58     0  E >   BIND_GLOBAL                                              !0, 'Prepetrators'
          1        BIND_GLOBAL                                              !1, 'nos'
          2        BIND_GLOBAL                                              !2, 'preparatorsToBeShown'
          3        BIND_GLOBAL                                              !3, 'PreparatorArray'
          4        BIND_GLOBAL                                              !4, 'criminalList'
          5        BIND_GLOBAL                                              !5, 'cardShown'
   59     6        ASSIGN                                                   !6, <array>
   60     7        ASSIGN                                                   !7, <array>
   62     8        ASSIGN                                                   !8, 0
   64     9        INIT_FCALL                                               'rand'
         10        SEND_VAL                                                 1
         11        SEND_VAL                                                 2
         12        DO_ICALL                                         $26     
         13        ASSIGN                                                   !2, $26
   66    14      > JMP                                                      ->29
   68    15    >   INIT_FCALL                                               'rand'
         16        SEND_VAL                                                 0
         17        SEND_VAL                                                 3
         18        DO_ICALL                                         $28     
         19        ASSIGN                                                   !9, $28
   69    20        INIT_FCALL                                               'in_array'
         21        SEND_VAR                                                 !9
         22        SEND_VAR                                                 !7
         23        DO_ICALL                                         $30     
         24        IS_NOT_EQUAL                                             $30, 1
         25      > JMPZ                                                     ~31, ->29
   71    26    >   ASSIGN_DIM                                               !7
         27        OP_DATA                                                  !9
   72    28        PRE_INC                                                  !8
   66    29    >   IS_NOT_EQUAL                                             !8, !2
         30      > JMPNZ                                                    ~34, ->15
   76    31    >   ASSIGN                                                   !9, 0
   77    32        SUB                                              ~36     3, !2
         33        ASSIGN                                                   !9, ~36
   78    34        ASSIGN                                                   !10, 0
   79    35        ASSIGN                                                   !11, <array>
   80    36      > JMP                                                      ->65
   82    37    >   INIT_FCALL                                               'rand'
         38        SEND_VAL                                                 0
         39        SEND_VAL                                                 5
         40        DO_ICALL                                         $40     
         41        ASSIGN                                                   !12, $40
   83    42      > JMP                                                      ->48
   85    43    >   INIT_FCALL                                               'rand'
         44        SEND_VAL                                                 0
         45        SEND_VAL                                                 5
         46        DO_ICALL                                         $42     
         47        ASSIGN                                                   !12, $42
   83    48    >   INIT_FCALL                                               'in_array'
         49        SEND_VAR                                                 !12
         50        SEND_VAR                                                 !1
         51        DO_ICALL                                         $44     
         52        IS_EQUAL                                         ~45     $44, 1
         53      > JMPNZ_EX                                         ~45     ~45, ->60
         54    >   INIT_FCALL                                               'in_array'
         55        SEND_VAR                                                 !12
         56        SEND_VAR                                                 !11
         57        DO_ICALL                                         $46     
         58        IS_EQUAL                                         ~47     $46, 1
         59        BOOL                                             ~45     ~47
         60    > > JMPNZ                                                    ~45, ->43
   88    61    >   ASSIGN                                                   !13, !12
   89    62        ASSIGN_DIM                                               !11
         63        OP_DATA                                                  !13
   90    64        PRE_INC                                                  !10
   80    65    >   IS_NOT_EQUAL                                             !10, !9
         66      > JMPNZ                                                    ~51, ->37
   94    67    >   ASSIGN                                                   !14, 0
         68      > JMP                                                      ->71
   97    69    >   UNSET_CV                                                 !5
   94    70        PRE_INC                                                  !14
         71    >   COUNT                                            ~54     !5
         72        IS_SMALLER                                               !14, ~54
         73      > JMPNZ                                                    ~55, ->69
  101    74    >   INIT_FCALL                                               'array_values'
         75        SEND_VAR                                                 !5
         76        DO_ICALL                                         $56     
         77       

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
162.84 ms | 1435 KiB | 20 Q