3v4l.org

run code in 300+ PHP versions simultaneously
<?php $x = 0; $y = 'o'; if ($x == false && $y == true && $x == $y) echo 'WTF?!';
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 = 9
Branch analysis from position: 7
2 jumps found. (Code = 43) Position 1 = 10, Position 2 = 11
Branch analysis from position: 10
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 11
Branch analysis from position: 9
Branch analysis from position: 6
filename:       /in/lm2I4
function name:  (null)
number of ops:  12
compiled vars:  !0 = $x, !1 = $y
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   ASSIGN                                                   !0, 0
    4     1        ASSIGN                                                   !1, 'o'
    5     2        BOOL_NOT                                         ~4      !0
          3      > JMPZ_EX                                          ~4      ~4, ->6
          4    >   BOOL                                             ~5      !1
          5        BOOL                                             ~4      ~5
          6    > > JMPZ_EX                                          ~4      ~4, ->9
          7    >   IS_EQUAL                                         ~6      !0, !1
          8        BOOL                                             ~4      ~6
          9    > > JMPZ                                                     ~4, ->11
         10    >   ECHO                                                     'WTF%3F%21'
         11    > > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
169.4 ms | 1397 KiB | 13 Q