2009/08/25

PHP4 CLASS VS PHP5

  1. PHP4 classes don't have scope operators such as private, public or
    protected.
  2. PHP4 constructional function should be the same name with that of the class. __construction won't work.
  3. Class variables in PHP4 classes are declared with the keyword 'var' rather
    than private or public.

REF: kavoir.com

No comments:

Post a Comment