Voting

: two plus two?
(Example: nine)

The Note You're Voting On

benjaminhill at gmail dot com
19 years ago
More funkyness:

class Parent {
function displayTableName() {
echo get_class($this);
echo get_class();
}
}

class Child {
function __construct() {
$this->displayTableName();
}
}

Will return
- Child
- Parent

So when they say "the object isn't required in PHP5" - they don't really mean it.

<< Back to user notes page

To Top