|  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #75446 Reflection error
Submitted: 2017-10-27 11:30 UTC Modified: -
From: gullij at gulli dot net Assigned:
Status: Open Package: mailparse (PECL)
PHP Version: 7.1.10 OS: Fedora 25
Private report: No CVE-ID: None
View Add Comment Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
You can add a comment by following this link or if you reported this bug, you can edit this bug over here.
Block user comment
Status: Assign to:
Bug Type:
From: gullij at gulli dot net
New email:
PHP Version: OS:


 [2017-10-27 11:30 UTC] gullij at gulli dot net
Reflection on mailparse_rfc822_parse_addresses gives wrong information about the function. This was originally reported in phpstan bug tracker on github:

Test script:
$reflection = new \ReflectionFunction('mailparse_rfc822_parse_addresses');

Expected result:
Reflection should return one parameter in the array.

Actual result:
Returns an empty array


Add a Patch

Pull Requests

Add a Pull Request

PHP Copyright © 2001-2017 The PHP Group
All rights reserved.
Last updated: Sun Nov 19 01:31:42 2017 UTC