3v4l.org

run code in 300+ PHP versions simultaneously
<?php $x = "a"; $y = "a"; $z = "A"; if ($y != $z && $x == $y && $x == $z) { return "Success!"; } return "FAIL!"; ?>
Finding entry points
Branch analysis from position: 0
2 jumps found. (Code = 46) Position 1 = 5, Position 2 = 7
Branch analysis from position: 5
2 jumps found. (Code = 46) 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
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 12
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 10
Branch analysis from position: 7
filename:       /in/HMo81
function name:  (null)
number of ops:  14
compiled vars:  !0 = $x, !1 = $y, !2 = $z
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   ASSIGN                                                   !0, 'a'
    3     1        ASSIGN                                                   !1, 'a'
    4     2        ASSIGN                                                   !2, 'A'
    5     3        IS_NOT_EQUAL                                     ~6      !1, !2
          4      > JMPZ_EX                                          ~6      ~6, ->7
          5    >   IS_EQUAL                                         ~7      !0, !1
          6        BOOL                                             ~6      ~7
          7    > > JMPZ_EX                                          ~6      ~6, ->10
          8    >   IS_EQUAL                                         ~8      !0, !2
          9        BOOL                                             ~6      ~8
         10    > > JMPZ                                                     ~6, ->12
    6    11    > > RETURN                                                   'Success%21'
    8    12    > > RETURN                                                   'FAIL%21'
   10    13*     > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
151.24 ms | 1397 KiB | 13 Q