Re: com php-src: Implement additional type reservations: Zend/tests/class_alias_003.phpt Zend/tests/typehints/scalar_relative_typehint_disallowed.phpt
Zend/tests/typehints/scalar_reserved2.phpt Zend/tests/typehints/scalar_reserved2_class_alias.phpt Zend/tests/typehints/scalar_reserved2_use.phpt
Zend/tests/typehints/scalar_reserved3.phpt Zend/tests/typehints/scalar_reserved3_class_alias.phpt Zend/tests/typehints/scalar_reserved3_use.phpt
Zend/tests/ty

From: Date: Tue, 31 Mar 2015 03:24:11 +0000
Subject: Re: com php-src: Implement additional type reservations: Zend/tests/class_alias_003.phpt Zend/tests/typehints/scalar_relative_typehint_disallowed.phpt
Zend/tests/typehints/scalar_reserved2.phpt Zend/tests/typehints/scalar_reserved2_class_alias.phpt Zend/tests/typehints/scalar_reserved2_use.phpt
Zend/tests/typehints/scalar_reserved3.phpt Zend/tests/typehints/scalar_reserved3_class_alias.phpt Zend/tests/typehints/scalar_reserved3_use.phpt
Zend/tests/ty
References: 1  Groups: php.cvs 
Request: Send a blank email to php-cvs+get-85951@lists.php.net to get a copy of this message
Hi Nikita, Thanks! Can you add a note to UPGRADING pls? On Mar 31, 2015 4:03 AM, "Nikita Popov" <nikic@php.net> wrote: > Commit: 53a40386bc81da824468ac3aa8b1962ab7029238 > Author: Nikita Popov <nikic@php.net> Mon, 30 Mar 2015 22:05:26 > +0200 > Parents: 607b7d662a854443713e8a9c651c888527718618 > Branches: master > > Link: > > http://git.php.net/?p=php-src.git;a=commitdiff;h=53a40386bc81da824468ac3aa8b1962ab7029238 > > Log: > Implement additional type reservations > > * The class names false, true and null are now reserved. > * The code dealing with reserved class names is now decoupled > from scalar type hint handling. It also includes self, parent, > and static, which are class names which were already reserved > previously. > * Reuse existing messages for reserved class names. > > Fallout: class_alias() can no longer alias self, parent and static. > However this never really worked in the first place, as the test > which was testing this shows. > > Changed paths: > D Zend/tests/class_alias_003.phpt > M Zend/tests/typehints/scalar_relative_typehint_disallowed.phpt > M Zend/tests/typehints/scalar_reserved2.phpt > M Zend/tests/typehints/scalar_reserved2_class_alias.phpt > M Zend/tests/typehints/scalar_reserved2_use.phpt > M Zend/tests/typehints/scalar_reserved3.phpt > M Zend/tests/typehints/scalar_reserved3_class_alias.phpt > M Zend/tests/typehints/scalar_reserved3_use.phpt > M Zend/tests/typehints/scalar_reserved4.phpt > M Zend/tests/typehints/scalar_reserved4_class_alias.phpt > M Zend/tests/typehints/scalar_reserved4_use.phpt > M Zend/tests/typehints/scalar_reserved6.phpt > M Zend/tests/typehints/scalar_reserved6_class_alias.phpt > M Zend/tests/typehints/scalar_reserved6_use.phpt > M Zend/tests/typehints/scalar_reserved7.phpt > M Zend/zend_compile.c > > > -- > PHP CVS Mailing List (http://www.php.net/) > To unsubscribe, visit: http://www.php.net/unsub.php >

« previous php.cvs (#85951) next »