|  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #76498 Unable to use callable as callback
Submitted: 2018-06-19 03:38 UTC Modified: 2020-09-14 13:38 UTC
Avg. Score:3.0 ± 0.0
Reproduced:2 of 2 (100.0%)
Same Version:1 (50.0%)
Same OS:1 (50.0%)
From: anrdaemon at freemail dot ru Assigned: cmb (profile)
Status: Closed Package: mailparse (PECL)
PHP Version: 7.1.18 OS: All
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 this is not your bug, you can add a comment by following this link.
If this is your bug, but you forgot your password, you can retrieve your password here.
Bug Type:
From: anrdaemon at freemail dot ru
New email:
PHP Version: OS:


 [2018-06-19 03:38 UTC] anrdaemon at freemail dot ru
PHP Recoverable fatal error:  Object of class Closure could not be converted to string in …/parser.php on line 45

The construction is 

$parser = function(){};
mailparse_msg_extract_part_file(mailparse_msg_get_part($msg, $section), $file, $parser);


Add a Patch

Pull Requests

Pull requests:

Add a Pull Request


AllCommentsChangesGit/SVN commitsRelated reports
 [2020-09-14 13:38 UTC]
The following pull request has been associated:

Patch Name: Fix #76498: Unable to use callable as callback
On GitHub:
 [2020-09-14 13:38 UTC]
-Status: Open +Status: Verified -Assigned To: +Assigned To: cmb
 [2020-09-15 10:55 UTC]
Automatic comment on behalf of
Log: Fix #76498: Unable to use callable as callback
 [2020-09-15 10:55 UTC]
-Status: Verified +Status: Closed
PHP Copyright © 2001-2021 The PHP Group
All rights reserved.
Last updated: Tue Dec 07 10:03:34 2021 UTC