php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Request #78576 Annotate internal function argument and return types
Submitted: 2019-09-20 14:00 UTC Modified: 2019-11-02 10:56 UTC
From: bishop@php.net Assigned: cmb (profile)
Status: Closed Package: PHAR related
PHP Version: Next Major Version OS:
Private report: No CVE-ID: None
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If you forgot your password, you can retrieve your password here.
Password:
Status:
Package:
Bug Type:
Summary:
From: bishop@php.net
New email:
PHP Version: OS:

 

 [2019-09-20 14:00 UTC] bishop@php.net
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


Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2019-11-02 10:56 UTC] cmb@php.net
-Status: Open +Status: Closed -Assigned To: +Assigned To: cmb
 
PHP Copyright © 2001-2025 The PHP Group
All rights reserved.
Last updated: Fri Mar 14 08:01:32 2025 UTC