Friday morning madness.

From: Date: Fri, 27 Jun 2014 08:20:08 +0000
Subject: Friday morning madness.
Groups: php.general 
Request: Send a blank email to php-general+get-323552@lists.php.net to get a copy of this message
Hi. I've often wondered if there was a way to call the parent method in a subclass without having to actually name the method. For me it always seemed odd to call my parents by their name. So, just found that this little gem works quite nicely! parent::{__FUNCTION__}(); And judging from some Googling, I'm not the first to discover this! Use it wisely folks. And happy Friday everyone! -- Richard Quadling Twitter : @RQuadling

« previous php.general (#323552) next »