summaryrefslogtreecommitdiff
path: root/ext/reflection/php_reflection.c
diff options
context:
space:
mode:
authorNikita Popov <nikita.ppv@gmail.com>2019-10-11 15:32:02 +0200
committerNikita Popov <nikita.ppv@gmail.com>2019-11-07 15:05:08 +0100
commite710862f8ce205cadaccb1734beced48c8425940 (patch)
tree8ccf081ef5d6407a6b565ed21f485dba99f7f7d6 /ext/reflection/php_reflection.c
parenta57386267665999d0c49cb6b4a3b8ed1107632ab (diff)
downloadphp-git-e710862f8ce205cadaccb1734beced48c8425940.tar.gz
Add compile warning for "confusable" types
We have a number of "types" like integer which are not actually supported as builtin types -- instead they are silently interpreted as class types. I've seen this cause confusion a few types already. This change adds a warning in this case. In the unlikely case that someone legitimately wants to type against an integer class, the warning can be suppressed by writing \integer or "use integer", or using Integer (this warning will only trigger for lowercase spellings). Closes GH-4815.
Diffstat (limited to 'ext/reflection/php_reflection.c')
0 files changed, 0 insertions, 0 deletions