On Tue, Jan 6, 2009 at 3:20 PM, Jack Bates wrote:
> How do I get the file where a class is defined, from an instance of that
> class?
What are you trying to do?
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
As far as I know, that's not readily available...
However, you could do an ob_start() and/or a try/catch and try to re-define the
class, and then ignore the error and continue.
I believe the PHP error message you get will have the file and line where the
original class was defined, so you
How do I get the file where a class is defined, from an instance of that
class?
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
3 matches
Mail list logo