]> granicus.if.org Git - php/commit
Implement object type annotation
authorMichał Brzuchalski <michal.brzuchalski@gmail.com>
Sun, 25 Jun 2017 19:43:25 +0000 (21:43 +0200)
committerNikita Popov <nikita.ppv@gmail.com>
Sun, 25 Jun 2017 19:49:41 +0000 (21:49 +0200)
commit8e10c9d37398f0f3eece85fca713f19d11cdfb32
tree5dcdd7318877b435cd09fcfaa6a692ec0bb7035c
parentdd15b34018db8a5ba48a79981f7915fd02092b9d
Implement object type annotation

RFC: https://wiki.php.net/rfc/object-typehint
24 files changed:
NEWS
UPGRADING
Zend/tests/bug26698.phpt
Zend/tests/bug28444.phpt
Zend/tests/bug60598.phpt
Zend/tests/object_types/invalid_default_value.phpt [new file with mode: 0644]
Zend/tests/object_types/missing_return_type_inheritance_in_class.phpt [new file with mode: 0644]
Zend/tests/object_types/missing_return_type_inheritance_in_interface.phpt [new file with mode: 0644]
Zend/tests/object_types/return_type_in_class.phpt [new file with mode: 0644]
Zend/tests/object_types/return_type_in_function.phpt [new file with mode: 0644]
Zend/tests/object_types/return_type_inheritance_in_class.phpt [new file with mode: 0644]
Zend/tests/object_types/return_type_inheritance_in_interface.phpt [new file with mode: 0644]
Zend/tests/object_types/return_type_reflection.phpt [new file with mode: 0644]
Zend/tests/object_types/type_hint_in_class_method.phpt [new file with mode: 0644]
Zend/tests/object_types/type_hint_in_function.phpt [new file with mode: 0644]
Zend/tests/object_types/type_hint_reflection.phpt [new file with mode: 0644]
Zend/zend_compile.c
Zend/zend_execute.c
ext/reflection/tests/bug38194.phpt
ext/reflection/tests/bug38217.phpt
tests/classes/array_access_001.phpt
tests/classes/array_access_002.phpt
tests/classes/array_access_003.phpt
tests/classes/array_access_004.phpt