3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $pot = ("6.898557993159892e+1" * 1337) + 1.7 ; //$pot = "6898557993159892,00.00" *1; echo $pot."\n"; echo gettype($pot)."\n"; echo (!preg_match('/[^0-9]/',''.$pot)) ? "YES":"no this isnt correct "; echo (((int)round($pot) - 33)) ? " yeS we are float":"NO"; if(!preg_match('/[^0-9]/',''.$pot) && ((int)round($pot) - 33)) { $pot = (int)round($pot)-33;echo "\n".$pot."\n";echo gettype($pot)."\n"; }else{ echo "\nWRONG\n";echo "\n".$pot."\n";echo gettype($pot)."\n"; } echo "\n".$pot."\n";echo gettype($pot)."\n"; if($pot =='float'){echo "\ngood YOU ROCK\n"; }else{echo "\nWRONG you suck\n";}
based on 3QaSd
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 = 61
Branch analysis from position: 61
2 jumps found. (Code = 43) Position 1 = 69, Position 2 = 71
Branch analysis from position: 69
1 jumps found. (Code = 42) Position 1 = 72
Branch analysis from position: 72
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 71
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 54
2 jumps found. (Code = 43) Position 1 = 69, Position 2 = 71
Branch analysis from position: 69
Branch analysis from position: 71
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/CMTqe
function name:  (null)
number of ops:  73
compiled vars:  !0 = $pot
line     #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
   3     0  E >   ASSIGN                                                   !0, 92235.4
   5     1        CONCAT                                           ~2      !0, '%0A'
         2        ECHO                                                     ~2
   6     3        GET_TYPE                                         ~3      !0
         4        CONCAT                                           ~4      ~3, '%0A'
         5        ECHO                                                     ~4
   9     6        INIT_FCALL                                               'preg_match'
         7        SEND_VAL                                                 '%2F%5B%5E0-9%5D%2F'
         8        CONCAT                                           ~5      '', !0
         9        SEND_VAL                                                 ~5
        10        DO_ICALL                                         $6      
        11        BOOL_NOT                                         ~7      $6
        12      > JMPZ                                                     ~7, ->15
        13    >   QM_ASSIGN                                        ~8      'YES'
        14      > JMP                                                      ->16
        15    >   QM_ASSIGN                                        ~8      'no+this+isnt+correct++'
        16    >   ECHO                                                     ~8
  10    17        INIT_FCALL                                               'round'
        18        SEND_VAR                                                 !0
        19        DO_ICALL                                         $9      
        20        CAST                                          4  ~10     $9
        21        SUB                                              ~11     ~10, 33
        22      > JMPZ                                                     ~11, ->25
        23    >   QM_ASSIGN                                        ~12     '+++yeS+we+are+float'
        24      > JMP                                                      ->26
        25    >   QM_ASSIGN                                        ~12     'NO'
        26    >   ECHO                                                     ~12
  12    27        INIT_FCALL                                               'preg_match'
        28        SEND_VAL                                                 '%2F%5B%5E0-9%5D%2F'
        29        CONCAT                                           ~13     '', !0
        30        SEND_VAL                                                 ~13
        31        DO_ICALL                                         $14     
        32        BOOL_NOT                                         ~15     $14
        33      > JMPZ_EX                                          ~15     ~15, ->40
        34    >   INIT_FCALL                                               'round'
        35        SEND_VAR                                                 !0
        36        DO_ICALL                                         $16     
        37        CAST                                          4  ~17     $16
        38        SUB                                              ~18     ~17, 33
        39        BOOL                                             ~15     ~18
        40    > > JMPZ                                                     ~15, ->54
  14    41    >   INIT_FCALL                                               'round'
        42        SEND_VAR                                                 !0
        43        DO_ICALL                                         $19     
        44        CAST                                          4  ~20     $19
        45        SUB                                              ~21     ~20, 33
        46        ASSIGN                                                   !0, ~21
        47        CONCAT                                           ~23     '%0A', !0
        48        CONCAT                                           ~24     ~23, '%0A'
        49        ECHO                                                     ~24
        50        GET_TYPE                                         ~25     !0
        51        CONCAT                                           ~26     ~25, '%0A'
        52        ECHO                                                     ~26
        53      > JMP                                                      ->61
  16    54    >   ECHO                                                     '%0AWRONG%0A'
        55        CONCAT                                           ~27     '%0A', !0
        56        CONCAT                                           ~28     ~27, '%0A'
        57        ECHO                                                     ~28
        58        GET_TYPE                                         ~29     !0
        59        CONCAT                                           ~30     ~29, '%0A'
        60        ECHO                                                     ~30
  19    61    >   CONCAT                                           ~31     '%0A', !0
        62        CONCAT                                           ~32     ~31, '%0A'
        63        ECHO                                                     ~32
        64        GET_TYPE                                         ~33     !0
        65        CONCAT                                           ~34     ~33, '%0A'
        66        ECHO                                                     ~34
  21    67        IS_EQUAL                                         ~35     !0, 'float'
        68      > JMPZ                                                     ~35, ->71
        69    >   ECHO                                                     '%0Agood+YOU+ROCK%0A'
        70      > JMP                                                      ->72
  22    71    >   ECHO                                                     '%0AWRONG+you+suck%0A'
        72    > > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 7.3.0