At 9:42 AM +0200 10/21/09, Dotan Cohen wrote:
> Open paren. Dollar-sign "item" de-ref getServiceID method. Question mark.
Dollar-sign "item" de-ref getServiceID method again. Colon.
Dollar-sign "item" de-ref getID method. Close up matching parenthesis.
Thanks. The word Reference was what was missing, as was the term "de-ref".
Read a bit further down in the above link, namely the php link, which is:
Using the term "de-ref is not complete and could be misleading --
dereferencing a variable in php is simply $$var and not ->var.
The "arrow operator" ($a->$b) dereferences the element to its left
and accesses the member to it's right. If you want an example in C it
would be (*a).b
While I was not able to find the "official" name for the operator,
but it could be called an "dereference access operator" or the "field
http://sperling.com http://ancientstones.com http://earthstones.com
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php