Re: [PHP-DEV] Suggestions: Built-in classes for PHP5

2003-04-06 Thread Marcus Börger
At 16:08 06.04.2003, Timm Friebe wrote: On Sun, 2003-04-06 at 15:52, Marcus Börger wrote: > At 15:09 06.04.2003, Timm Friebe wrote: > >Hello, > >as you might know, the Zend Engine 2 features a built-in Exception > >class. The problem with a class named Exception is that no user-defined > >class nam

Re: [PHP-DEV] Suggestions: Built-in classes for PHP5

2003-04-06 Thread Timm Friebe
On Sun, 2003-04-06 at 15:52, Marcus Börger wrote: > At 15:09 06.04.2003, Timm Friebe wrote: > >Hello, > >as you might know, the Zend Engine 2 features a built-in Exception > >class. The problem with a class named Exception is that no user-defined > >class named Exception may exist. > > That is the

Re: [PHP-DEV] Suggestions: Built-in classes for PHP5

2003-04-06 Thread Marcus Börger
At 15:09 06.04.2003, Timm Friebe wrote: Hello, as you might know, the Zend Engine 2 features a built-in Exception class. The problem with a class named Exception is that no user-defined class named Exception may exist. That is the sense of built in classes. Suggestion #1 is to make use of Andrei'

[PHP-DEV] Suggestions: Built-in classes for PHP5

2003-04-06 Thread Timm Friebe
Hello, as you might know, the Zend Engine 2 features a built-in Exception class. The problem with a class named Exception is that no user-defined class named Exception may exist. Suggestion #1 is to make use of Andrei's API function zend_register_internal_class_in_ns and to move it to a namespace