On Fri, Mar 21, 2008 at 6:01 PM, Tex Texin <[EMAIL PROTECTED]> wrote: > I admit to being unclear on why DateFormatter conflicts with Date. I'll have > to read the manuals later. Seems rather limiting if all names beginning with > "Date" are now verboten. That said: > > A) Derick, Shifu, Can you (or anyone) demonstrate the name conflict? I think > it should have been caught by testing if it exists. I'd like to reproduce the > problem. > > B) Name change proposals: > > 1) DatetimeFormatter > 2) IntlDateFormatter > 3) TheOtherDateFormatter ;-) > 4) ICUDateFormatter
Classess and functions should be prefixed with the extension name according to our naming convention. All functions in pecl/intl should therefore be named intl_foobar() and classes intlFooBar in theory. See ext/date, ext/spl, ext/zip and others for more concrete examples, preferably after reading http://no.php.net/reST/php-src/CODING_STANDARDS -Hannes -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php