|  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #58280 Doesn't build with php 5.3.0-dev
Submitted: 2008-07-20 13:47 UTC Modified: 2008-07-23 00:18 UTC
From: Assigned:
Status: Closed Package: mailparse (PECL)
PHP Version: 5_3 CVS-2008-07-20 (dev) OS: Linux (Fedora 9)
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:
New email:
PHP Version: OS:


 [2008-07-20 13:47 UTC]
Trying to compile this extension with lastest PHP 5.3.0 snapshot (200807201630) failed because of Zend API changes.

Simple patch proposal which solves this issue :

Build, installation and "make test" are ok.

Should also have a look to


Reproduce code:

Expected result:
Build complete.

Actual result:
mailparse.c:203: warning: implicit declaration of function 'ZVAL_DELREF'
mailparse.c: In function 'mailparse_mimemessage_export':
mailparse.c:218: error: lvalue required as left operand of assignment
mailparse.c:219: warning: implicit declaration of function 'ZVAL_REFCOUNT'
mailparse.c:219: error: lvalue required as left operand of assignment


Add a Patch

Pull Requests

Add a Pull Request


AllCommentsChangesGit/SVN commitsRelated reports
 [2008-07-23 00:18 UTC]
This bug has been fixed in CVS.

In case this was a documentation problem, the fix will show up at the
end of next Sunday (CET) on

In case this was a website problem, the change will show
up on the website in short time.
Thank you for the report, and for helping us make PECL better.

Pretty sure a fix for this is already in CVS, builds correctly for me using the latest.  Please try this out again with a fresh checkout/update and let me know if you still have problems.
PHP Copyright © 2001-2021 The PHP Group
All rights reserved.
Last updated: Sun Jul 25 04:01:23 2021 UTC