Bug #11340 Updated: utf8_encode and utf8_decode go boom()
| From: | sniper@php.net | Date: | Thu, 14 Jun 2001 17:32:46 +0000 |
| Subject: | Bug #11340 Updated: utf8_encode and utf8_decode go boom() | ||
| Groups: | php.dev | ||
| Request: | Send a blank email to php-dev+get-57136@lists.php.net to get a copy of this message | ||
ID: 11340
Updated by: sniper
Reported By: v.sessink@nospam.openoffice.nl
Old-Status: Open
Status: Feedback
Bug Type: XML related
Operating system:
PHP Version: 4.0.5
Assigned To:
Comments:
I can not reproduce this with PHP 4.0.6RC3.
Please try it:
http://www.php.net/~andi/php-4.0.6RC3.tar.gz
(if the link doesn't seem to work, just pump up the x in RCx . ie RC3 -> RC4 ..etc.)
Previous Comments:
---------------------------------------------------------------------------
[2001-06-07 16:38:42] v.sessink@nospam.openoffice.nl
for ($i;$i<1000;$i++) { $foo=utf8_encode('test' . $i);
$foo2=utf8_decode('test' . $i);
}
Gives random segfaults and various unwanted side effects (killing other variables, messing with
functions etc etc). The segfaults happen randomly, you need to reload the page many times (20 to 30)
to get it to crash.
More serious pages (with many variables etc) will crash much sooner.
Loaded modules: xml, ldap and pgsql. My brother had, by pure incident, also problems with xml today;
he has a totally different setup (most stuff compiled in, only Interbase module loaded) but was able
to reproduce the problem.
Problem also acknowledged with 4.0.3pl1.
---------------------------------------------------------------------------
ATTENTION! Do NOT reply to this email!
To reply, use the web interface found at http://bugs.php.net/?id=11340&edit=2