<?php abstract class A { const MSG = 'I am the base class'; // You'd think this would print out the above, but it prints out the one that's extending this instead public function getOriginalMessage() { echo static::MSG; } } class B extends A{ const MSG = 'I am Class B'; } $b = new B; $b->getOriginalMessage();
You have javascript disabled. You will not be able to edit any code.
Value for `_results` contains invalid data `array`