| Welcome to WebmasterWorld Guest from 22.214.171.124 |
register, free tools, login, search, pro membership, help, library, announcements, recent posts, open posts,
|Pubcon Platinum Sponsor 2014|
|PHP __ (double underscore) means anything?|
I open up some open source PHP codes, even I have been coding for sometime, but I am confused to see them using __ (double underscore)
What does it do?
|R e b r a n d t|
Well, it depends where double underscore is being used?
Some coders use underscore to identify some types of variables: $__constant, $simplevariable.
PHP itself has some use double underscore and usualy it means some *extra* or *magic* functionality:
All trademarks and copyrights held by respective owners. Member comments are owned by the poster.
WebmasterWorld is a Developer Shed Community owned by Jim Boykin.
© Webmaster World 1996-2014 all rights reserved