3v4l.org

run code in 300+ PHP versions simultaneously
<?php $aa = $_POST['a'] = '6898557993159892'; $bb= $_POST['b'] = '222.0'; echo "\n".$a."\n"; echo "\n".$b."\n"; echo (!is_numeric(($a * $b) . '')) ? "yes right way \n":"not number...\n"; echo (($a * $b) != INF) ? "YES infinite.. \n":"NOt inf ... \n"; if(!is_numeric (($a * $b) . '') && (($a * $b) != INF)) { echo "good\n"; }else{echo "WRONG...\n";}
Finding entry points
Branch analysis from position: 0
2 jumps found. (Code = 43) Position 1 = 21, Position 2 = 23
Branch analysis from position: 21
1 jumps found. (Code = 42) Position 1 = 24
Branch analysis from position: 24
2 jumps found. (Code = 43) Position 1 = 28, Position 2 = 30
Branch analysis from position: 28
1 jumps found. (Code = 42) Position 1 = 31
Branch analysis from position: 31
2 jumps found. (Code = 46) Position 1 = 39, Position 2 = 42
Branch analysis from position: 39
2 jumps found. (Code = 43) Position 1 = 43, Position 2 = 45
Branch analysis from position: 43
1 jumps found. (Code = 42) Position 1 = 46
Branch analysis from position: 46
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 45
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 42
Branch analysis from position: 30
2 jumps found. (Code = 46) Position 1 = 39, Position 2 = 42
Branch analysis from position: 39
Branch analysis from position: 42
Branch analysis from position: 23
2 jumps found. (Code = 43) Position 1 = 28, Position 2 = 30
Branch analysis from position: 28
Branch analysis from position: 30
filename:       /in/5oaFf
function name:  (null)
number of ops:  47
compiled vars:  !0 = $aa, !1 = $bb, !2 = $a, !3 = $b
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   FETCH_W                      global              $4      '_POST'
          1        ASSIGN_DIM                                       ~5      $4, 'a'
          2        OP_DATA                                                  '6898557993159892'
          3        ASSIGN                                                   !0, ~5
    3     4        FETCH_W                      global              $7      '_POST'
          5        ASSIGN_DIM                                       ~8      $7, 'b'
          6        OP_DATA                                                  '222.0'
          7        ASSIGN                                                   !1, ~8
    5     8        CONCAT                                           ~10     '%0A', !2
          9        CONCAT                                           ~11     ~10, '%0A'
         10        ECHO                                                     ~11
    6    11        CONCAT                                           ~12     '%0A', !3
         12        CONCAT                                           ~13     ~12, '%0A'
         13        ECHO                                                     ~13
    8    14        INIT_FCALL                                               'is_numeric'
         15        MUL                                              ~14     !2, !3
         16        CONCAT                                           ~15     ~14, ''
         17        SEND_VAL                                                 ~15
         18        DO_ICALL                                         $16     
         19        BOOL_NOT                                         ~17     $16
         20      > JMPZ                                                     ~17, ->23
         21    >   QM_ASSIGN                                        ~18     'yes+right+way+%0A'
         22      > JMP                                                      ->24
         23    >   QM_ASSIGN                                        ~18     'not+number...%0A'
         24    >   ECHO                                                     ~18
    9    25        MUL                                              ~19     !2, !3
         26        IS_NOT_EQUAL                                             ~19, INF
         27      > JMPZ                                                     ~20, ->30
         28    >   QM_ASSIGN                                        ~21     'YES+infinite..+%0A'
         29      > JMP                                                      ->31
         30    >   QM_ASSIGN                                        ~21     'NOt+inf+...+%0A'
         31    >   ECHO                                                     ~21
   11    32        INIT_FCALL                                               'is_numeric'
         33        MUL                                              ~22     !2, !3
         34        CONCAT                                           ~23     ~22, ''
         35        SEND_VAL                                                 ~23
         36        DO_ICALL                                         $24     
         37        BOOL_NOT                                         ~25     $24
         38      > JMPZ_EX                                          ~25     ~25, ->42
         39    >   MUL                                              ~26     !2, !3
         40        IS_NOT_EQUAL                                     ~27     ~26, INF
         41        BOOL                                             ~25     ~27
         42    > > JMPZ                                                     ~25, ->45
   13    43    >   ECHO                                                     'good%0A'
         44      > JMP                                                      ->46
   14    45    >   ECHO                                                     'WRONG...%0A'
         46    > > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
161.59 ms | 1400 KiB | 15 Q