3v4l.org

run code in 300+ PHP versions simultaneously
<?php $a = 'a'; $b = 'b'; echo (isset ($a) && isset ($b) && !is_numeric (($a * $b) . '') ) && (($a * $b) != INF) ? 1 : 0; ?>
Finding entry points
Branch analysis from position: 0
2 jumps found. (Code = 46) Position 1 = 4, Position 2 = 6
Branch analysis from position: 4
2 jumps found. (Code = 46) Position 1 = 7, Position 2 = 14
Branch analysis from position: 7
2 jumps found. (Code = 46) Position 1 = 15, Position 2 = 18
Branch analysis from position: 15
2 jumps found. (Code = 43) Position 1 = 19, Position 2 = 21
Branch analysis from position: 19
1 jumps found. (Code = 42) Position 1 = 22
Branch analysis from position: 22
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 21
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 18
Branch analysis from position: 14
Branch analysis from position: 6
filename:       /in/337RW
function name:  (null)
number of ops:  24
compiled vars:  !0 = $a, !1 = $b
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   ASSIGN                                                   !0, 'a'
    3     1        ASSIGN                                                   !1, 'b'
    4     2        ISSET_ISEMPTY_CV                                 ~4      !0
          3      > JMPZ_EX                                          ~4      ~4, ->6
          4    >   ISSET_ISEMPTY_CV                                 ~5      !1
          5        BOOL                                             ~4      ~5
          6    > > JMPZ_EX                                          ~4      ~4, ->14
          7    >   INIT_FCALL                                               'is_numeric'
          8        MUL                                              ~6      !0, !1
          9        CONCAT                                           ~7      ~6, ''
         10        SEND_VAL                                                 ~7
         11        DO_ICALL                                         $8      
         12        BOOL_NOT                                         ~9      $8
         13        BOOL                                             ~4      ~9
         14    > > JMPZ_EX                                          ~4      ~4, ->18
         15    >   MUL                                              ~10     !0, !1
         16        IS_NOT_EQUAL                                     ~11     ~10, INF
         17        BOOL                                             ~4      ~11
         18    > > JMPZ                                                     ~4, ->21
         19    >   QM_ASSIGN                                        ~12     1
         20      > JMP                                                      ->22
         21    >   QM_ASSIGN                                        ~12     0
         22    >   ECHO                                                     ~12
    5    23      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
154.52 ms | 1387 KiB | 15 Q