Re: [PHP-DEV] __autoload & exceptions

2003-10-12 Thread Marcus Börger
Hello Dan, Sunday, October 12, 2003, 7:34:59 AM, you wrote: > This behaviour isn't a show stopper. It's just the inconsistency that > bugs me. yes! > I'm left wondering what other ways the engine might handle my exceptions > that > I might not expect, like... > try { > function __autoload($

Re: [PHP-DEV] __autoload & exceptions

2003-10-12 Thread Andi Gutmans
Dan, __autoload() is the last chance to load a class which is needed before erroring out and terminating the script. By design, if you don't take advantage of this last chance the script will error out. Therefore, throwing an exception inside the __autoload() function should not be catchable b

Re: [PHP-DEV] __autoload & exceptions

2003-10-12 Thread Dan Cox
Hi Andi- Yes, that explains things and makes perfect sense if you are just writing your own web application. Now, consider the new __autoload functionality from a PEAR or other large API/library developer standpoint. The new __autoload functionality lets us: - Keep library usage/installation s

[PHP-DEV] CVS Account Request: elf

2003-10-12 Thread Tadashi Jokagi
I want to help the English to Japanese translation of the manual of PHP. -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php

[PHP-DEV] When can I expect changes to be applied

2003-10-12 Thread Josh Fuhs
Hello, I requested some time ago that zend_parse_parameters() be altered to accept "Z" as a parameter type in order to be able to retrieve zval**'s instead of zval*'s. I believe I was told that this change would be applied, but I haven't yet seen it appear in any of the recent distributions. I

[PHP-DEV] const in parameters

2003-10-12 Thread Andi Gutmans
Hi, Does anyone remember why function parameters support the const keyword? It doesn't change any of the behavior. It seems to me as-if this is something legacy and I can't find the relevant CVS history information of where it came from. If it's not used I'd like to nuke it for PHP 5. Andi -