Voting

Please answer this simple SPAM challenge: four plus one?
(Example: nine)

The Note You're Voting On

slorenzo at clug dot org dot ve
13 years ago
<?php
class parentClass {
    public function
someMethod() { }
}
class
childClass extends parentClass {
    public final function
someMethod() { } //override parent function
}

$class = new childClass;
$class->someMethod(); //call the override function in chield class
?>

<< Back to user notes page

To Top