On 08/15/2012 11:28 AM, phplist wrote:
This relates to a minor dilemma I come across from time and time, and
I'm looking for advice [...]

Within a site I have a User object, and within page code would like to
if ($crntUser->isASubscriber) {...}
if ($crntUser->isASubscriber()) {...}
Is either of these approaches preferable, or does it simply not matter?

Thanks to all who responded. Inevitably the answer is "it depends" but I've now got a much better feel about how to decide.

Roddie Grant

PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to