3v4l.org

run code in 300+ PHP versions simultaneously
<?php $a = 1; $b = 2; $c = 3; if ($a != 1 || $b != 2 || $c != 3) { echo "no one is correct"; } //same condition, different input $a = 'blah'; if ($a != 1 || $b != 2 || $c != 3) { echo "evaled to true"; }
Finding entry points
Branch analysis from position: 0
2 jumps found. (Code = 47) Position 1 = 5, Position 2 = 7
Branch analysis from position: 5
2 jumps found. (Code = 47) Position 1 = 8, Position 2 = 10
Branch analysis from position: 8
2 jumps found. (Code = 43) Position 1 = 11, Position 2 = 12
Branch analysis from position: 11
2 jumps found. (Code = 47) Position 1 = 15, Position 2 = 17
Branch analysis from position: 15
2 jumps found. (Code = 47) Position 1 = 18, Position 2 = 20
Branch analysis from position: 18
2 jumps found. (Code = 43) Position 1 = 21, Position 2 = 22
Branch analysis from position: 21
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 22
Branch analysis from position: 20
Branch analysis from position: 17
Branch analysis from position: 12
Branch analysis from position: 10
Branch analysis from position: 7
filename:       /in/1T2ZI
function name:  (null)
number of ops:  23
compiled vars:  !0 = $a, !1 = $b, !2 = $c
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   ASSIGN                                                   !0, 1
    4     1        ASSIGN                                                   !1, 2
    5     2        ASSIGN                                                   !2, 3
    7     3        IS_NOT_EQUAL                                     ~6      !0, 1
          4      > JMPNZ_EX                                         ~6      ~6, ->7
          5    >   IS_NOT_EQUAL                                     ~7      !1, 2
          6        BOOL                                             ~6      ~7
          7    > > JMPNZ_EX                                         ~6      ~6, ->10
          8    >   IS_NOT_EQUAL                                     ~8      !2, 3
          9        BOOL                                             ~6      ~8
         10    > > JMPZ                                                     ~6, ->12
    9    11    >   ECHO                                                     'no+one+is+correct'
   13    12    >   ASSIGN                                                   !0, 'blah'
   14    13        IS_NOT_EQUAL                                     ~10     !0, 1
         14      > JMPNZ_EX                                         ~10     ~10, ->17
         15    >   IS_NOT_EQUAL                                     ~11     !1, 2
         16        BOOL                                             ~10     ~11
         17    > > JMPNZ_EX                                         ~10     ~10, ->20
         18    >   IS_NOT_EQUAL                                     ~12     !2, 3
         19        BOOL                                             ~10     ~12
         20    > > JMPZ                                                     ~10, ->22
   16    21    >   ECHO                                                     'evaled+to+true'
   17    22    > > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
150.37 ms | 1399 KiB | 13 Q