3v4l.org

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

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
156.67 ms | 1396 KiB | 17 Q