3v4l.org

run code in 300+ PHP versions simultaneously
<?php $x=0; $y=False; $z="x"; function almighty_function($x, $y, $z) { if ($y != $z && $x == $y && $x == $z) { return "Success!"; } return "FAIL!"; }
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/jIqPT
function name:  (null)
number of ops:  4
compiled vars:  !0 = $x, !1 = $y, !2 = $z
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   ASSIGN                                                   !0, 0
    4     1        ASSIGN                                                   !1, <false>
    5     2        ASSIGN                                                   !2, 'x'
   16     3      > RETURN                                                   1

Function almighty_function:
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/jIqPT
function name:  almighty_function
number of ops:  14
compiled vars:  !0 = $x, !1 = $y, !2 = $z
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
   11     0  E >   RECV                                             !0      
          1        RECV                                             !1      
          2        RECV                                             !2      
   12     3        IS_NOT_EQUAL                                     ~3      !1, !2
          4      > JMPZ_EX                                          ~3      ~3, ->7
          5    >   IS_EQUAL                                         ~4      !0, !1
          6        BOOL                                             ~3      ~4
          7    > > JMPZ_EX                                          ~3      ~3, ->10
          8    >   IS_EQUAL                                         ~5      !0, !2
          9        BOOL                                             ~3      ~5
         10    > > JMPZ                                                     ~3, ->12
   13    11    > > RETURN                                                   'Success%21'
   15    12    > > RETURN                                                   'FAIL%21'
   16    13*     > RETURN                                                   null

End of function almighty_function

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
151.12 ms | 1385 KiB | 13 Q