From: Marcus Börger [mailto:marcus.boerger@t-online.de] Sent: Friday, September 12, 2003 1:06 PM
Quoted text · 11 lines
after last discussion on this list regarding PHP's naming convention for
OOCode i took a deeper look at fixing my main concerns. That is error messages, backtraces and reflection show lowercased method names. However
this is easily changeable; with a minor performance decrease at compiletime
when handling methods (not functions).The attached patch now changes two files for two different purposes:
Zend/zend_compile.c, These changes allow to show the original function/method names in errors, backtraces and reflection. This works for
internal as well as for user functions/methods.Zend/zend_default_classes.c, changes the method names of the internal
exception class to studlyCaps naming convention.
I think decision whether to incorporate this patch is up to Zeev and Andi.
I am +1 on this obviously.
However it is important to note that this is also useful for userland code, so I am +1 on this regardless of the php OO CS.
Regards,
Lukas