|  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #20087 mb_parse_string crashes with non-encoded data
Submitted: 2002-10-25 10:25 UTC Modified: 2002-10-25 12:44 UTC
From: grangeway at hotmail dot com Assigned:
Status: Closed Package: mbstring related
PHP Version: 4CVS-2002-10-25 OS: w2k
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: grangeway at hotmail dot com
New email:
PHP Version: OS:


 [2002-10-25 10:25 UTC] grangeway at hotmail dot com
assertion failed: strval != NULL, file c:\php\src420\php4\main\php_variables.c line 45

Test code:

<? echo mb_parse_str("testmoo"); ?> --> crash
<? echo mb_parse_str("test=moo"); ?> --> works fine


Add a Patch

Pull Requests

Add a Pull Request


AllCommentsChangesGit/SVN commitsRelated reports
 [2002-10-25 10:51 UTC]
Please try using this CVS snapshot:
For Windows:

Anyway I can't reproduce this yet. What version of PHP do you really use?

 [2002-10-25 12:09 UTC]
I can reproduce this on Windows with some CVS version (of a few weeks ago). But it does not really crash, it gives the following assertion error:

Assertion failed: strval != NULL, d:\php4\main\php_variables.c, line 42
 [2002-10-25 12:44 UTC]
This bug has been fixed in CVS.

In case this was a PHP problem, snapshots of the sources are packaged
every three hours; this change will be in the next snapshot. You can
grab the snapshot at
In case this was a documentation problem, the fix will show up soon at

In case this was a website problem, the change will show
up on the site and on the mirror sites in short time.
Thank you for the report, and for helping us make PHP better.
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Sat Feb 24 11:01:28 2024 UTC