scribu - propria subcultură

Understanding the ‘self’keyword in PHP

In PHP, you use the self keyword to access static properties and methods.

The problem is that you can replace $this->method() with self::method() anywhere, regardless if method() is declared static or not. So which one should you use?

Read full post...

Posted in Blog / php, tutorial | 17 10 2009

Tag: php

WordPress Plugins

  • Posts 2 Posts
  • Front-end Editor
  • Query Multiple Taxonomies
  • more...

Other Projects

  • Lomo Romania

Featured Posts

  • A CLI for WordPress
  • Theme Wrappers
  • The Future of Multisite
  • About
  • Contact
  • Archive

Whenever you find yourself on the side of the majority, it's time to pause and reflect.

Mark Twain