Req #78576 [NEW]: Annotate internal function argument and return types
| From: | bishop@php.net | Date: | Fri, 20 Sep 2019 14:00:23 +0000 |
| Subject: | Req #78576 [NEW]: Annotate internal function argument and return types | ||
| Groups: | php.bugs | ||
| Request: | Send a blank email to php-bugs+get-222849@lists.php.net to get a copy of this message | ||
From: bishop
Operating system:
PHP version: Next Major Version
Package: PHAR related
Bug Type: Feature/Change Request
Bug description:Annotate internal function argument and return types
Description:
------------
We're now annotating internal functions[1]:
> Lack of type information for internal functions in Reflection is a
long-standing issue. In PHP 8 we finally have all the necessary
technical groundwork done to support argument and return type
annotations on internal functions at scale.
Scope of this ticket is to actually add that information to the phar
functions, using Nikita's exemplar[2] as reference.
[1]:https://externals.io/message/106522
[2]:https://github.com/php/php-src/pull/4499
--
Edit bug report at https://bugs.php.net/bug.php?id=78576&edit=1
--
Fix committed: https://bugs.php.net/fix.php?id=78576&r=fixed
Fixed in release: https://bugs.php.net/fix.php?id=78576&r=alreadyfixed
Need backtrace: https://bugs.php.net/fix.php?id=78576&r=needtrace
Need Reproduce Script: https://bugs.php.net/fix.php?id=78576&r=needscript
Try newer version: https://bugs.php.net/fix.php?id=78576&r=oldversion
Not developer issue: https://bugs.php.net/fix.php?id=78576&r=support
Expected behavior: https://bugs.php.net/fix.php?id=78576&r=notwrong
Not enough info: https://bugs.php.net/fix.php?id=78576&r=notenoughinfo
Submitted twice: https://bugs.php.net/fix.php?id=78576&r=submittedtwice
register_globals: https://bugs.php.net/fix.php?id=78576&r=globals
PHP version support discontinued: https://bugs.php.net/fix.php?id=78576&r=phptooold
Daylight Savings: https://bugs.php.net/fix.php?id=78576&r=dst
IIS Stability: https://bugs.php.net/fix.php?id=78576&r=isapi
Install GNU Sed: https://bugs.php.net/fix.php?id=78576&r=gnused
Floating point limitations: https://bugs.php.net/fix.php?id=78576&r=float
No Zend Extensions: https://bugs.php.net/fix.php?id=78576&r=nozend
MySQL Configuration Error: https://bugs.php.net/fix.php?id=78576&r=mysqlcfg