3v4l.org

run code in 300+ PHP versions simultaneously
<?php function almighty_function($x, $y, $z) { if ($y != $z && $x == $y && $x == $z) { return "Success!"; } return "FAIL!"; } almighty_function(0, null, false);
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/UK3aF
function name:  (null)
number of ops:  6
compiled vars:  none
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    8     0  E >   INIT_FCALL                                               'almighty_function'
          1        SEND_VAL                                                 0
          2        SEND_VAL                                                 null
          3        SEND_VAL                                                 <false>
          4        DO_FCALL                                      0          
          5      > 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/UK3aF
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
-------------------------------------------------------------------------------------
    2     0  E >   RECV                                             !0      
          1        RECV                                             !1      
          2        RECV                                             !2      
    3     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
    4    11    > > RETURN                                                   'Success%21'
    6    12    > > RETURN                                                   'FAIL%21'
    7    13*     > RETURN                                                   null

End of function almighty_function

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
166.19 ms | 1398 KiB | 14 Q