3v4l.org

run code in 300+ PHP versions simultaneously
<?php $_POST['solution'] = 6898557993159892.0; $solution=(($_POST['solution']*1337)+1.7); $solution=!preg_match('/[^0-9]/',''.$solution)?(int)round($solution)-33:1337; echo $solution.' '.gettype($solution); if($solution=='float'){ echo 'WE rock'; } ?>
Finding entry points
Branch analysis from position: 0
2 jumps found. (Code = 43) Position 1 = 15, Position 2 = 22
Branch analysis from position: 15
1 jumps found. (Code = 42) Position 1 = 23
Branch analysis from position: 23
2 jumps found. (Code = 43) Position 1 = 30, Position 2 = 31
Branch analysis from position: 30
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 31
Branch analysis from position: 22
2 jumps found. (Code = 43) Position 1 = 30, Position 2 = 31
Branch analysis from position: 30
Branch analysis from position: 31
filename:       /in/GjJla
function name:  (null)
number of ops:  32
compiled vars:  !0 = $solution
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    4     0  E >   FETCH_W                      global              $1      '_POST'
          1        ASSIGN_DIM                                               $1, 'solution'
          2        OP_DATA                                                  6.89856e+15
    6     3        FETCH_R                      global              ~3      '_POST'
          4        FETCH_DIM_R                                      ~4      ~3, 'solution'
          5        MUL                                              ~5      ~4, 1337
          6        ADD                                              ~6      ~5, 1.7
          7        ASSIGN                                                   !0, ~6
    7     8        INIT_FCALL                                               'preg_match'
          9        SEND_VAL                                                 '%2F%5B%5E0-9%5D%2F'
         10        CONCAT                                           ~8      '', !0
         11        SEND_VAL                                                 ~8
         12        DO_ICALL                                         $9      
         13        BOOL_NOT                                         ~10     $9
         14      > JMPZ                                                     ~10, ->22
         15    >   INIT_FCALL                                               'round'
         16        SEND_VAR                                                 !0
         17        DO_ICALL                                         $11     
         18        CAST                                          4  ~12     $11
         19        SUB                                              ~13     ~12, 33
         20        QM_ASSIGN                                        ~14     ~13
         21      > JMP                                                      ->23
         22    >   QM_ASSIGN                                        ~14     1337
         23    >   ASSIGN                                                   !0, ~14
    9    24        CONCAT                                           ~16     !0, '+'
         25        GET_TYPE                                         ~17     !0
         26        CONCAT                                           ~18     ~16, ~17
         27        ECHO                                                     ~18
   10    28        IS_EQUAL                                                 !0, 'float'
         29      > JMPZ                                                     ~19, ->31
   11    30    >   ECHO                                                     'WE+rock'
   18    31    > > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
155.86 ms | 1396 KiB | 17 Q