Important Notice: Our web hosting provider recently started charging us for additional visits, which was unexpected. In response, we're seeking donations. Depending on the situation, we may explore different monetization options for our Community and Expert Contributors. It's crucial to provide more returns for their expertise and offer more Expert Validated Answers or AI Validated Answers. Learn more about our hosting issue here.

does ignoring an inherrited member function mark it implicitly as final?

0
Posted

does ignoring an inherrited member function mark it implicitly as final?

0

heres “sample” code class A { function foo() { //some function body } } class B extends A { //anything not regarding foo } class C extends B { function foo() { //redefined body } } the problem is when i try and call foo from a class C, i get an error (it looks like $this is not defined) thanks a lot -Dan

What is your question?

*Sadly, we had to bring back ads too. Hopefully more targeted.

Experts123