summaryrefslogtreecommitdiff
path: root/Zend/zend_inheritance.c
diff options
context:
space:
mode:
authorNikita Popov <nikic@php.net>2015-03-30 22:05:26 +0200
committerNikita Popov <nikic@php.net>2015-03-30 22:59:06 +0200
commit53a40386bc81da824468ac3aa8b1962ab7029238 (patch)
treedb15d2da7900c4726b3ae6e775a59fa0354cb50f /Zend/zend_inheritance.c
parent607b7d662a854443713e8a9c651c888527718618 (diff)
downloadphp-git-53a40386bc81da824468ac3aa8b1962ab7029238.tar.gz
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.
Diffstat (limited to 'Zend/zend_inheritance.c')
0 files changed, 0 insertions, 0 deletions