Welcome to WebmasterWorld Guest from 54.158.51.150

Forum Moderators: coopster & jatar k

Message Too Old, No Replies

PHP OOP Question

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

5+ Year Member



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)

10+ Year Member



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.

 

Featured Threads

Hot Threads This Week

Hot Threads This Month