3v4l.org

run code in 300+ PHP versions simultaneously
<?php $a = true; // mysqli_num_rows($itemProtoQuery) $b = true; // mysqli_num_rows($itemAward) $c = false; // $coins < $isPrice $d = true; // !$strBuy $e = false; // $addItemQuery if($a === true) // mysqli_num_rows($itemProtoQuery) { echo "Znaleziono przedmiot. Zabieramy kasę i szukujemy bazę." . PHP_EOL; // $sqlUpdate = DB_COINS_COLUMN."=".DB_COINS_COLUMN."-$isPrice"; PIĘKNE :) if($b === true) // mysqli_num_rows($itemAward) { echo "Sprawdzamy czas jeśli Znaleziono itemAward." . PHP_EOL; } if($c === true) // $coins < $isPrice { echo "Nie masz kasy." . PHP_EOL; } elseif($d === false) // !$strBuy { echo "Jeden przedmiot możesz kupić raz na 15 sekund!" . PHP_EOL; } else { echo "Robimy pierdoły z dodawaniem przedmiotu do bazy. Szykujemy zapytanie." . PHP_EOL; if($e === true) // $addItemQuery { echo "Jeżeli dodaliśmy item i INSERT się powiódł ustaw monety w bazie uzytkownika." . PHP_EOL; } else { echo "Nie można zmienić danych kasy." . PHP_EOL; } } } else { echo "Nie znaleziono przedmiotu." . PHP_EOL; }
Finding entry points
Branch analysis from position: 0
2 jumps found. (Code = 43) Position 1 = 7, Position 2 = 26
Branch analysis from position: 7
2 jumps found. (Code = 43) Position 1 = 10, Position 2 = 11
Branch analysis from position: 10
2 jumps found. (Code = 43) Position 1 = 13, Position 2 = 15
Branch analysis from position: 13
1 jumps found. (Code = 42) Position 1 = 25
Branch analysis from position: 25
1 jumps found. (Code = 42) Position 1 = 27
Branch analysis from position: 27
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 15
2 jumps found. (Code = 43) Position 1 = 17, Position 2 = 19
Branch analysis from position: 17
1 jumps found. (Code = 42) Position 1 = 25
Branch analysis from position: 25
Branch analysis from position: 19
2 jumps found. (Code = 43) Position 1 = 22, Position 2 = 24
Branch analysis from position: 22
1 jumps found. (Code = 42) Position 1 = 25
Branch analysis from position: 25
Branch analysis from position: 24
1 jumps found. (Code = 42) Position 1 = 27
Branch analysis from position: 27
Branch analysis from position: 11
Branch analysis from position: 26
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/tdaf3
function name:  (null)
number of ops:  28
compiled vars:  !0 = $a, !1 = $b, !2 = $c, !3 = $d, !4 = $e
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   ASSIGN                                                   !0, <true>
    3     1        ASSIGN                                                   !1, <true>
    4     2        ASSIGN                                                   !2, <false>
    5     3        ASSIGN                                                   !3, <true>
    6     4        ASSIGN                                                   !4, <false>
    9     5        TYPE_CHECK                                    8          !0
          6      > JMPZ                                                     ~10, ->26
   11     7    >   ECHO                                                     'Znaleziono+przedmiot.+Zabieramy+kas%C4%99+i+szukujemy+baz%C4%99.%0A'
   16     8        TYPE_CHECK                                    8          !1
          9      > JMPZ                                                     ~11, ->11
   18    10    >   ECHO                                                     'Sprawdzamy+czas+je%C5%9Bli+Znaleziono+itemAward.%0A'
   21    11    >   TYPE_CHECK                                    8          !2
         12      > JMPZ                                                     ~12, ->15
   23    13    >   ECHO                                                     'Nie+masz+kasy.%0A'
   21    14      > JMP                                                      ->25
   25    15    >   TYPE_CHECK                                    4          !3
         16      > JMPZ                                                     ~13, ->19
   27    17    >   ECHO                                                     'Jeden+przedmiot+mo%C5%BCesz+kupi%C4%87+raz+na+15+sekund%21%0A'
   25    18      > JMP                                                      ->25
   32    19    >   ECHO                                                     'Robimy+pierdo%C5%82y+z+dodawaniem+przedmiotu+do+bazy.+Szykujemy+zapytanie.%0A'
   34    20        TYPE_CHECK                                    8          !4
         21      > JMPZ                                                     ~14, ->24
   36    22    >   ECHO                                                     'Je%C5%BCeli+dodali%C5%9Bmy+item+i+INSERT+si%C4%99+powi%C3%B3d%C5%82+ustaw+monety+w+bazie+uzytkownika.%0A'
   34    23      > JMP                                                      ->25
   40    24    >   ECHO                                                     'Nie+mo%C5%BCna+zmieni%C4%87+danych+kasy.%0A'
    9    25    > > JMP                                                      ->27
   46    26    >   ECHO                                                     'Nie+znaleziono+przedmiotu.%0A'
   47    27    > > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
191.03 ms | 1453 KiB | 13 Q