homepage Welcome to WebmasterWorld Guest from 54.167.144.4
register, free tools, login, search, pro membership, help, library, announcements, recent posts, open posts,
Become a Pro Member

Home / Forums Index / Code, Content, and Presentation / PHP Server Side Scripting
Forum Library, Charter, Moderators: coopster & jatar k

PHP Server Side Scripting Forum

    
PHP OOP Question
FiRe




msg:4036035
 9:44 am on Dec 3, 2009 (gmt 0)

1. What is the difference between $this-> and self:: ?

2. What is the difference between public $blah and public static $blah ?

Thanks in advance

 

NomikOS




msg:4036065
 10:41 am on Dec 3, 2009 (gmt 0)

PHP is not an OOP language. not even PHP6.

1.- none.
2.- none. statics vars (inside functions) maintain their values across the script execution. they are very cool.

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