homepage Welcome to WebmasterWorld Guest from 54.204.141.129
register, free tools, login, search, pro membership, help, library, announcements, recent posts, open posts,
Become a Pro Member
Visit PubCon.com
Home / Forums Index / Code, Content, and Presentation / PHP Server Side Scripting
Forum Library, Charter, Moderators: coopster & jatar k

PHP Server Side Scripting Forum

    
PHP __ (double underscore) means anything?
AthlonInside




msg:1270547
 7:15 pm on Aug 21, 2005 (gmt 0)

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




msg:1270548
 7:19 am on Aug 22, 2005 (gmt 0)

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:
[php.net...]

Global Options:
 top home search open messages active posts  
 

Home / Forums Index / Code, Content, and Presentation / PHP Server Side Scripting
rss feed

All trademarks and copyrights held by respective owners. Member comments are owned by the poster.
Home ¦ Free Tools ¦ Terms of Service ¦ Privacy Policy ¦ Report Problem ¦ About ¦ Library ¦ Newsletter
WebmasterWorld is a Developer Shed Community owned by Jim Boykin.
© Webmaster World 1996-2014 all rights reserved