Depends on which operator you use. Double-equals (==) will return true if the classes and fields are equal. Identity operator (===) return true if the operands are the same exact instance. Good luck!
__________________
For programming tips and news, visit the To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts. To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.
|