Re: [PATCH] Namespace Patch, Beta 1
| From: | Marcus Boerger | Date: | Wed, 03 Aug 2005 17:08:57 +0000 |
| Subject: | Re: [PATCH] Namespace Patch, Beta 1 | ||
| References: | 1 2 3 4 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-17513@lists.php.net to get a copy of this message | ||
Hello Michael,
i suffest that pear finally takes a better approach with the arrival of
namespaces then the ugly workaround of '_'. If pear doesn#t want to i
suggest pear simply writes it's own __autoload().
marcus
Tuesday, August 2, 2005, 6:01:18 PM, you wrote:
> Hi Jessie Hernandez, you wrote:
>> Forgot to mention, since I expect the majority of users to follow the PEAR
>> convention for their classes (basically one class per file, file is named
>> like class, with "namespace" directories)
> With the minor but essential logical difference:
> $file = strtr($class, '_', '/')
> I don't know if you took that into account though...
> Regards,
> --
> Michael - < mike(@)php.net >
Best regards,
Marcus