Hello Andi,

Saturday, April 9, 2005, 1:10:12 AM, you wrote:

> Marcus,

> PHP is being used by millions of people and it is irrelevant whether you 
> think that const was wrong from the beginning or not, because we won't fix
> something which has been around probably since 1995. Restating that over 
> and over is not productive as we should support what has been around for a
> long time. And mind you, PHP is quite useful the way it is.

This was about const which was introduced by sterling in 2004 iirc.

[...]
> Andi

> At 07:15 PM 4/8/2005 +0200, Marcus Boerger wrote:
>>Hello Andi,
>>
>>   erm yes i could put it to spl as a convenience function prefixed by 'spl_'
>>and we could also add a namespace for class functions 'class_' or one for
>>the reflection api (whatever that might be) or we could put those as static
>>methods into class 'Reflection'. However all of these makee it harder since
>>having 'class_exists', 'function_exists', 'method_exists' simply screems for
>>having 'property_exists' also. Why must we always make php so hard by
>>preventing not to have it consitent? I know the 'global namespace' argument.
>>But like many other things it is to late to enforce that rule...many years
>>to late. And don't ask me about consts. They were wrong right from the
>>beginning. we should have read only proeprties instead and be done.
>>
[...]

marcus

-- 
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to