In PHP, I\'m trying to reference a method defined in an object\'s parent class, from a method inherited from the object\'s parent class. Here\'s the code:
c
class base_class { function do_something() { print "base_class::do_something()\n"; } function inherit_this() { //parent::do_something(); $class = get_called_class(); $class::do_something(); } }