Re: isset doesn't like "->"?
| From: | UberGoober | Date: | Mon, 11 Nov 2002 04:46:58 +0000 |
| Subject: | Re: isset doesn't like "->"? | ||
| References: | 1 2 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-123760@lists.php.net to get a copy of this message | ||
> That's because isset() is expecting a variable, not a function. In your
> first example, you're trying to see if a function is set, not a
> variable. In your second example, you're doing it right...
>
> ---John Holmes...
That actually makes sense once I thought about it, a function referencing a
variable, or reference to a variable is in no way the same as a variable.
Thanks!