Hi!

 The error message that is created for an uncaught exception as well
 as the stacktrace of an exception list the number of the line on which
 the exception object was created. I would expect this to be number of
 the line on which the exception is raised using the throw statement.

 Derick agrees with me that this is a bug. We propose to update the file
 and line properties of the exception object in the
 zend_throw_exception_internal() and zend_throw_exception() functions.

 Would such a change be accepted? Does it require an RFC?

 Thanks!
Sebastian

-- 
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to