#
c5f93d19 |
| 21-Sep-2020 |
Nikita Popov |
Fix detection of code outside namespace Due to improvements to early binding, the opcode based check is no longer accurate. Reuse the syntactic check we're already using for declares
Fix detection of code outside namespace Due to improvements to early binding, the opcode based check is no longer accurate. Reuse the syntactic check we're already using for declares instead.
show more ...
|
Revision tags: php-7.3.13RC1, php-7.2.26RC1, php-7.4.0, php-7.2.25, php-7.3.12, php-7.4.0RC6, php-7.3.12RC1, php-7.2.25RC1, php-7.4.0RC5, php-7.1.33, php-7.2.24, php-7.3.11, php-7.4.0RC4 |
|
#
e710862f |
| 11-Oct-2019 |
Nikita Popov |
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 clas
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.
show more ...
|