Derick Rethans wrote:
>>   . E_STRICT any rule that reflects common strict standards, like OOP theory
>>     that is considered harmless if not followed. For example the combination
>>     'abstract static' makes no sense in said theory but doesn't put our zend
>>     engine in an unstable state.
> 
> +1, but then we should also expand this to include:
> 
>     - setting object variables without declaring them
>     - auto-creating objects of stdclass on the fly
>     - and other things that you *should* (not) do
> 
>     These can be added later ofcourse, doesn't have to be directly in 
>     5.2.0, however that would probably be better.

I'm -1 on expanding strictness to this. I don't understand why you
should not do this? Writing mydb_fetch_object() becomes impossible in
userspace if we go this far. It would also make any legal use of
stdClass impossible.

Edin

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

Reply via email to