Output of the following code: <?php class A {} class B {} class C extends B {} class D { function sayHello (A $argument) { echo '$argument is an instance of A' } function sayHello (B $argument) { echo '$argument is an instance of B' } } $d = new D(); $c = new C(); $d->sayHello($c);
Answer
Correct Answer: PHP Fatal error
Explanation:
Note: This Question is unanswered, help us to find answer for this one