Welcome to WebmasterWorld Guest from 54.145.118.24

Forum Moderators: coopster & jatar k

Message Too Old, No Replies

PHP OOP Question

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

Full Member

10+ Year Member

joined:Aug 9, 2005
posts:240
votes: 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)

Junior Member

10+ Year Member

joined:Apr 22, 2005
posts:185
votes: 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.