Improve "already declared" error message
authorNikita Popov <nikita.ppv@gmail.com>
Wed, 11 Sep 2019 15:04:13 +0000 (17:04 +0200)
committerNikita Popov <nikita.ppv@gmail.com>
Wed, 11 Sep 2019 15:04:13 +0000 (17:04 +0200)
commitd88b212ea6bad0a1634dea56140a48a11602dd5b
tree02c23a859d3498f3896745c21a70e3f8f8a0f53d
parentfbe287a677c56a916f20f953c71e565a41965578
Improve "already declared" error message

If this error is missing because the rtd_key was renamed to lcname,
fetch the class based on lcname and use the class type and cased
name from there.
Zend/tests/declare_already_in_use.phpt [new file with mode: 0644]
Zend/zend_compile.c