3v4l.org

run code in 300+ PHP versions simultaneously
<?php $pot = ("-0.06898557993159892e+16" * 1337) + 1.7 ; echo $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; }else{ echo "\nWRONG\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 = 10, Position 2 = 12
Branch analysis from position: 10
1 jumps found. (Code = 42) Position 1 = 13
Branch analysis from position: 13
2 jumps found. (Code = 43) Position 1 = 20, Position 2 = 22
Branch analysis from position: 20
1 jumps found. (Code = 42) Position 1 = 23
Branch analysis from position: 23
2 jumps found. (Code = 46) Position 1 = 31, Position 2 = 37
Branch analysis from position: 31
2 jumps found. (Code = 43) Position 1 = 38, Position 2 = 45
Branch analysis from position: 38
1 jumps found. (Code = 42) Position 1 = 46
Branch analysis from position: 46
2 jumps found. (Code = 43) Position 1 = 48, Position 2 = 50
Branch analysis from position: 48
1 jumps found. (Code = 42) Position 1 = 51
Branch analysis from position: 51
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 50
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 45
2 jumps found. (Code = 43) Position 1 = 48, Position 2 = 50
Branch analysis from position: 48
Branch analysis from position: 50
Branch analysis from position: 37
Branch analysis from position: 22
2 jumps found. (Code = 46) Position 1 = 31, Position 2 = 37
Branch analysis from position: 31
Branch analysis from position: 37
Branch analysis from position: 12
2 jumps found. (Code = 43) Position 1 = 20, Position 2 = 22
Branch analysis from position: 20
Branch analysis from position: 22
filename:       /in/TjOfQ
function name:  (null)
number of ops:  52
compiled vars:  !0 = $pot
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   ASSIGN                                                   !0, -9.22337e+17
    5     1        CONCAT                                           ~2      !0, '%0A'
          2        ECHO                                                     ~2
    7     3        INIT_FCALL                                               'preg_match'
          4        SEND_VAL                                                 '%2F%5B%5E0-9%5D%2F'
          5        CONCAT                                           ~3      '', !0
          6        SEND_VAL                                                 ~3
          7        DO_ICALL                                         $4      
          8        BOOL_NOT                                         ~5      $4
          9      > JMPZ                                                     ~5, ->12
         10    >   QM_ASSIGN                                        ~6      'YES'
         11      > JMP                                                      ->13
         12    >   QM_ASSIGN                                        ~6      'no+this+isnt+correct++'
         13    >   ECHO                                                     ~6
    8    14        INIT_FCALL                                               'round'
         15        SEND_VAR                                                 !0
         16        DO_ICALL                                         $7      
         17        CAST                                          4  ~8      $7
         18        SUB                                              ~9      ~8, 33
         19      > JMPZ                                                     ~9, ->22
         20    >   QM_ASSIGN                                        ~10     '+++yeS+we+are+float'
         21      > JMP                                                      ->23
         22    >   QM_ASSIGN                                        ~10     'NO'
         23    >   ECHO                                                     ~10
   10    24        INIT_FCALL                                               'preg_match'
         25        SEND_VAL                                                 '%2F%5B%5E0-9%5D%2F'
         26        CONCAT                                           ~11     '', !0
         27        SEND_VAL                                                 ~11
         28        DO_ICALL                                         $12     
         29        BOOL_NOT                                         ~13     $12
         30      > JMPZ_EX                                          ~13     ~13, ->37
         31    >   INIT_FCALL                                               'round'
         32        SEND_VAR                                                 !0
         33        DO_ICALL                                         $14     
         34        CAST                                          4  ~15     $14
         35        SUB                                              ~16     ~15, 33
         36        BOOL                                             ~13     ~16
         37    > > JMPZ                                                     ~13, ->45
   12    38    >   INIT_FCALL                                               'round'
         39        SEND_VAR                                                 !0
         40        DO_ICALL                                         $17     
         41        CAST                                          4  ~18     $17
         42        SUB                                              ~19     ~18, 33
         43        ASSIGN                                                   !0, ~19
         44      > JMP                                                      ->46
   15    45    >   ECHO                                                     '%0AWRONG%0A'
   18    46    >   IS_EQUAL                                                 !0, 'float'
         47      > JMPZ                                                     ~21, ->50
         48    >   ECHO                                                     '%0Agood+YOU+ROCK%0A'
         49      > JMP                                                      ->51
   19    50    >   ECHO                                                     '%0AWRONG+you+suck%0A'
         51    > > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
155.69 ms | 1392 KiB | 17 Q