| Welcome to WebmasterWorld Guest from 188.8.131.52 |
register, free tools, login, search, pro membership, help, library, announcements, recent posts, open posts,
|Pubcon Platinum Sponsor 2014|
|PHP OOP Question|
1. What is the difference between $this-> and self:: ?
2. What is the difference between public $blah and public static $blah ?
Thanks in advance
PHP is not an OOP language. not even PHP6.
2.- none. statics vars (inside functions) maintain their values across the script execution. they are very cool.
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