Hi,
I don't have PHP installed on this machine, but was wondering if anyone could advise on this question that i've came across during my Zend certification preperation.
Q: What is the output of the following script?
PHP Code:
<?php
class A {
public function bar() {
print "Hello";
}
}
class B extends A {
function bar() {
print "Goodbye";
}
}
$c = new B();
$c->bar();
?>
Gracias,
Picco