Hi Andi,

In the case of the following code:

class Foo {}
class Foo {}

PHP doesn't print a very helpful error message about the redefinition
of class Foo, particularly when the class was defined in a separate file.
The feature request is to have the error message to include the file/line
of the first definition to help in tracking down problems.

Is implementing this as simple as adding file/line members to zend_class_entry
when the class is parsed/compiled and spitting them out when a redefinition
error occurs?

--Wez.

-- 
Wez Furlong
The Brain Room Ltd.


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

Reply via email to