| Welcome to WebmasterWorld Guest from 18.104.22.168 |
register, login, search, subscribe, help, library, PubCon, announcements, recent posts, open posts,
|PHP OOP Question|
| 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
| 10:41 am on Dec 3, 2009 (gmt 0)|
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 ® and PubCon ® are a Registered Trademarks of Pubcon Inc.
© Pubcon Inc. 1996-2012 all rights reserved