Hello Christian, Saturday, November 26, 2005, 1:42:07 AM, you wrote:
> Marcus Boerger wrote: >> here again namespaces would be perfect. Given a lib that doesn't prefix >> you'd simply do: >> namespace LibNameHere { reqire "some_lib_include"; } >> and be done...wohooo :-) > Only if newly introduced PHP core classes use a namespace too. You'll > have to use PHP\Date (or the like) if you want to avoid conflicts in > existing code. Plus maybe something like "import PHP\Date as Date" or > something along these lines if you want to avoid PHP\ in newly written > code where you know that there is no Date class yet. > PS: I'd rather have : for namespaces with the whitespace restriction for > ? a:x : b:y than the confusing (escaping characters outside of a > string?) backslash. And kill trillions of php scripts, how funny. Think before writing. Best regards, Marcus -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php