Re: get file from object

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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 can get it out of that text.

Very much a hack, eh? :-v


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux