3v4l.org

run code in 300+ PHP versions simultaneously
<?php $_POST['solution'] = 99999999999999999999999999999999999999999999999999999999999999999999; $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 = 17, Position 2 = 24
Branch analysis from position: 17
1 jumps found. (Code = 42) Position 1 = 25
Branch analysis from position: 25
2 jumps found. (Code = 43) Position 1 = 32, Position 2 = 33
Branch analysis from position: 32
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 33
Branch analysis from position: 24
2 jumps found. (Code = 43) Position 1 = 32, Position 2 = 33
Branch analysis from position: 32
Branch analysis from position: 33
filename:       /in/6SlK6
function name:  (null)
number of ops:  34
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                                                  1.0e+68
    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        CONCAT                                           ~8      !0, '%0A'
          9        ECHO                                                     ~8
    8    10        INIT_FCALL                                               'preg_match'
         11        SEND_VAL                                                 '%2F%5B%5E0-9%5D%2F'
         12        CONCAT                                           ~9      '', !0
         13        SEND_VAL                                                 ~9
         14        DO_ICALL                                         $10     
         15        BOOL_NOT                                         ~11     $10
         16      > JMPZ                                                     ~11, ->24
         17    >   INIT_FCALL                                               'round'
         18        SEND_VAR                                                 !0
         19        DO_ICALL                                         $12     
         20        CAST                                          4  ~13     $12
         21        SUB                                              ~14     ~13, 33
         22        QM_ASSIGN                                        ~15     ~14
         23      > JMP                                                      ->25
         24    >   QM_ASSIGN                                        ~15     1337
         25    >   ASSIGN                                                   !0, ~15
   10    26        CONCAT                                           ~17     !0, '+%0A'
         27        GET_TYPE                                         ~18     !0
         28        CONCAT                                           ~19     ~17, ~18
         29        ECHO                                                     ~19
   11    30        IS_EQUAL                                                 !0, 'float'
         31      > JMPZ                                                     ~20, ->33
   12    32    >   ECHO                                                     'WE+rock'
   19    33    > > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
154.86 ms | 1388 KiB | 17 Q