3v4l.org

run code in 300+ PHP versions simultaneously
<?php $pot = ("23410620792819748.00e-18" * 1337) + 1.7 ; //$pot = "6898557993159892,00.00" *1; echo $pot."\n"; echo gettype($pot)."\n"; echo (!preg_match('/[^0-9]/',''.$pot)) ? "YES .... Bypass\n":"no this isnt correct \n"; echo (((int)round($pot) - 33)) ? " yeS we are float \n":"NO we not float \n"; if(!preg_match('/[^0-9]/',''.$pot) && ((int)round($pot) - 33)) { $pot = (int)round($pot)-33;echo " POT after - is: \n".$pot."\n";echo gettype($pot)."\n"; }else{ echo "\nWRONG\n";$potAA = (int)round($pot)-33;echo " This is what we get out\n".$potAA."\n";echo gettype($potAA)."\n"; } $pot = (int)round($pot)-33; echo "WE are before check \n".$pot."\n";echo gettype($pot)."\n"; if($pot =='float'){echo "\ngood YOU ROCK\n"; }else{echo "\nWRONG you suck\n";}
Finding entry points
Branch analysis from position: 0
2 jumps found. (Code = 43) Position 1 = 13, Position 2 = 15
Branch analysis from position: 13
1 jumps found. (Code = 42) Position 1 = 16
Branch analysis from position: 16
2 jumps found. (Code = 43) Position 1 = 23, Position 2 = 25
Branch analysis from position: 23
1 jumps found. (Code = 42) Position 1 = 26
Branch analysis from position: 26
2 jumps found. (Code = 46) Position 1 = 34, Position 2 = 40
Branch analysis from position: 34
2 jumps found. (Code = 43) Position 1 = 41, Position 2 = 54
Branch analysis from position: 41
1 jumps found. (Code = 42) Position 1 = 67
Branch analysis from position: 67
2 jumps found. (Code = 43) Position 1 = 81, Position 2 = 83
Branch analysis from position: 81
1 jumps found. (Code = 42) Position 1 = 84
Branch analysis from position: 84
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 83
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 54
2 jumps found. (Code = 43) Position 1 = 81, Position 2 = 83
Branch analysis from position: 81
Branch analysis from position: 83
Branch analysis from position: 40
Branch analysis from position: 25
2 jumps found. (Code = 46) Position 1 = 34, Position 2 = 40
Branch analysis from position: 34
Branch analysis from position: 40
Branch analysis from position: 15
2 jumps found. (Code = 43) Position 1 = 23, Position 2 = 25
Branch analysis from position: 23
Branch analysis from position: 25
filename:       /in/1iJUa
function name:  (null)
number of ops:  85
compiled vars:  !0 = $pot, !1 = $potAA
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   ASSIGN                                                   !0, 33
    5     1        CONCAT                                           ~3      !0, '%0A'
          2        ECHO                                                     ~3
    6     3        GET_TYPE                                         ~4      !0
          4        CONCAT                                           ~5      ~4, '%0A'
          5        ECHO                                                     ~5
    9     6        INIT_FCALL                                               'preg_match'
          7        SEND_VAL                                                 '%2F%5B%5E0-9%5D%2F'
          8        CONCAT                                           ~6      '', !0
          9        SEND_VAL                                                 ~6
         10        DO_ICALL                                         $7      
         11        BOOL_NOT                                         ~8      $7
         12      > JMPZ                                                     ~8, ->15
         13    >   QM_ASSIGN                                        ~9      'YES+....+Bypass%0A'
         14      > JMP                                                      ->16
         15    >   QM_ASSIGN                                        ~9      'no+this+isnt+correct++%0A'
         16    >   ECHO                                                     ~9
   10    17        INIT_FCALL                                               'round'
         18        SEND_VAR                                                 !0
         19        DO_ICALL                                         $10     
         20        CAST                                          4  ~11     $10
         21        SUB                                              ~12     ~11, 33
         22      > JMPZ                                                     ~12, ->25
         23    >   QM_ASSIGN                                        ~13     '+++yeS+we+are+float+%0A'
         24      > JMP                                                      ->26
         25    >   QM_ASSIGN                                        ~13     'NO+we+not+float+%0A'
         26    >   ECHO                                                     ~13
   12    27        INIT_FCALL                                               'preg_match'
         28        SEND_VAL                                                 '%2F%5B%5E0-9%5D%2F'
         29        CONCAT                                           ~14     '', !0
         30        SEND_VAL                                                 ~14
         31        DO_ICALL                                         $15     
         32        BOOL_NOT                                         ~16     $15
         33      > JMPZ_EX                                          ~16     ~16, ->40
         34    >   INIT_FCALL                                               'round'
         35        SEND_VAR                                                 !0
         36        DO_ICALL                                         $17     
         37        CAST                                          4  ~18     $17
         38        SUB                                              ~19     ~18, 33
         39        BOOL                                             ~16     ~19
         40    > > JMPZ                                                     ~16, ->54
   14    41    >   INIT_FCALL                                               'round'
         42        SEND_VAR                                                 !0
         43        DO_ICALL                                         $20     
         44        CAST                                          4  ~21     $20
         45        SUB                                              ~22     ~21, 33
         46        ASSIGN                                                   !0, ~22
         47        CONCAT                                           ~24     '+POT+after+-+is%3A+%0A', !0
         48        CONCAT                                           ~25     ~24, '%0A'
         49        ECHO                                                     ~25
         50        GET_TYPE                                         ~26     !0
         51        CONCAT                                           ~27     ~26, '%0A'
         52        ECHO                                                     ~27
         53      > JMP                                                      ->67
   16    54    >   ECHO                                                     '%0AWRONG%0A'
         55        INIT_FCALL                                               'round'
         56        SEND_VAR                                                 !0
         57        DO_ICALL                                         $28     
         58        CAST                                          4  ~29     $28
         59        SUB                                              ~30     ~29, 33
         60        ASSIGN                                                   !1, ~30
         61        CONCAT                                           ~32     '+This+is+what+we+get+out%0A', !1
         62        CONCAT                                           ~33     ~32, '%0A'
         63        ECHO                                                     ~33
         64        GET_TYPE                                         ~34     !1
         65        CONCAT                                           ~35     ~34, '%0A'
         66        ECHO                                                     ~35
   19    67    >   INIT_FCALL                                               'round'
         68        SEND_VAR                                                 !0
         69        DO_ICALL                                         $36     
         70        CAST                                          4  ~37     $36
         71        SUB                                              ~38     ~37, 33
         72        ASSIGN                                                   !0, ~38
   20    73        CONCAT                                           ~40     'WE+are+before+check+%0A', !0
         74        CONCAT                                           ~41     ~40, '%0A'
         75        ECHO                                                     ~41
         76        GET_TYPE                                         ~42     !0
         77        CONCAT                                           ~43     ~42, '%0A'
         78        ECHO                                                     ~43
   22    79        IS_EQUAL                                                 !0, 'float'
         80      > JMPZ                                                     ~44, ->83
         81    >   ECHO                                                     '%0Agood+YOU+ROCK%0A'
         82      > JMP                                                      ->84
   23    83    >   ECHO                                                     '%0AWRONG+you+suck%0A'
         84    > > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
158.41 ms | 1404 KiB | 17 Q