3v4l.org

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

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
170.15 ms | 1400 KiB | 15 Q