@ in front of function?
What does @ mean in front of function?
Code:
Code:
I guess that @ = public but i'm not sure, that's why i'm asking. |
Re: @ in front of function?
It means nothing.
|
Re: @ in front of function?
|
Re: @ in front of function?
@ is a shorthand for public. It's supposed to be used on events for readability reasons.
PHP Code:
|
Re: @ in front of function?
Quote:
Quote:
|
Re: @ in front of function?
It doesn't really matter, it's more of a readability option. Like I said, this should be explicitly used for event-related functions, such as forwards. You cannot use it for defined forwards though as @ becomes a part of the function name.
|
| All times are GMT -4. The time now is 13:12. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.