php.net |  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: -
From: anrdaemon at freemail dot ru Assigned:
Status: Open Package: mailparse (PECL)
PHP Version: 7.1.18 OS: All
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:
Package:
Bug Type:
Summary:
From: anrdaemon at freemail dot ru
New email:
PHP Version: OS:

 

 [2018-06-19 03:38 UTC] anrdaemon at freemail dot ru
Description:
------------
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);



Patches

Add a Patch

Pull Requests

Add a Pull Request

 
PHP Copyright © 2001-2019 The PHP Group
All rights reserved.
Last updated: Sat Nov 16 21:01:32 2019 UTC