]> granicus.if.org Git - php/commit
Fixed bug #80596: Fix anonymous class union typehint errors
authorDaniil Gentili <daniil@daniil.it>
Wed, 13 Jan 2021 09:43:54 +0000 (10:43 +0100)
committerNikita Popov <nikita.ppv@gmail.com>
Thu, 14 Jan 2021 09:04:27 +0000 (10:04 +0100)
commitf9fbba41b66e0e9ccd40ff064d00cfe987c2c5bb
tree71ddea061bd4c5a2b9e0f2edbe55dc077f103198
parent3edf5c969a9f5f3290852ab9edf61a876fca63d0
Fixed bug #80596: Fix anonymous class union typehint errors

Cut off part after null byte when resolving the class name, to
avoid cutting off a larger part lateron.

Closes GH-6601.
NEWS
Zend/tests/type_declarations/union_types/anonymous_class.phpt [new file with mode: 0644]
Zend/zend_compile.c