On 2010-04-20 16:39:07 +0200, Adi Nita said:

Hi everyone,

Regarding some of the features that are going to ship in PHP 6, I'm going to
take some liberty and make some personal remarks in the form of positive
criticism.

1. SYSTEM NAMESPACES.

I prefer see scalar object implemented with all grouped function
related as method in PHP 6 and type hiting for this object. We have
allready lot of exemple of success with this type of implementation
like ArrayObject, Date Object, Mysqli Object etc...

2. TYPE HINTING.

+ 1, for people want to use it, this possibility is a big lack in

3. CONST VALUES.

-1 but yes for matematical (or logical) operation like this :

class foo
{
        const OPTION_1 = 1 <<  0;
        const OPTION_2 = 1 <<  1;
        const OPTION_3 = 1 <<  2;
        const OPTION_4 = 1 <<  3;
}

4. PARAMETER ORDER.

+1

Thank you for your time,

Adrian Nita

--
Alban Leroux
s...@paradoxal.org
Web developper


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

Reply via email to