What I basically have is a class, and I want the class to be able to output it's own source code.
Now, I do not mean just print('bla bla the source code'); I want this function to be generic enough that I can extend the class, and this method will print the new subclasses source code without any changes to the method itself.
Not sure if there's a way to do this... I'd preferably like to avoid just fopen()ing the actual source file and printing it out... but maybe thats my only choice...
Ideas?