Maybe some more information about how my code files are layed out may be helpful.
/home/mfischer/htdocs/php5/test.php This is my test script which is executed via apache. It includes the file 'Database/MySQL.php'. /home/mfischer/php/Database/MySQL.php Includes the files 'Database/DatabaseInterfaces.php' and 'System.php'. /home/mfischer/php/Database/DatabaseInterfaces.php Provides 'interface DatabaseInterface' and 'interface DatabaseResultInterface'. /home/mfischer/php/System.php Contains the class 'System' which only has static methods which wrap 1:1 with PHP (native) functions but providing Exceptions in case of errors. So, my code flow until the exception is thrown is: test.php(5) calls $db->connect() Database/MySQL.php(30) calls System::mysql_connect() System.php(12) throws the Exception However, the stacktrace reported from PHP reads: [23-Dec-2003 01:55:10] PHP Fatal error: Uncaught exception 'exception' with message 'Unable to connect to database; mysql_error = Unknown MySQL Server Host 'bla' (4)' in /home/mfischer/php/System.php:12 Stack trace: #0 /home/mfischer/php/Database/MySQL.php(30): mysql->mysql_connect('bla', '', '') #1 /home/mfischer/htdocs/php5/test.php(5): mysql->connect('hostname=bla') #2 {main} thrown in /home/mfischer/php/System.php on line 12 My problem is (in order of priority): 1) the order in the trace is not correct 2) the called methods do not match my code regards, - Markus -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php