Bug #11340 Updated: utf8_encode and utf8_decode go boom()
| From: | andy@php.net | Date: | Sun, 22 Jul 2001 17:04:06 +0000 |
| Subject: | Bug #11340 Updated: utf8_encode and utf8_decode go boom() | ||
| References: | 1 | Groups: | php.dev |
| Request: | Send a blank email to php-dev+get-60635@lists.php.net to get a copy of this message | ||
ID: 11340
Updated by: andy
Reported By: v.sessink@nospam.openoffice.nl
Old Status: Feedback
Status: Closed
Bug Type: XML related
Operating System: Debian GNU/Linux 2.2 (Potato)
PHP Version: 4.0.5
New Comment:
no feedback after 35+ days.
Previous Comments:
------------------------------------------------------------------------
[2001-06-14 13:32:46] sniper@php.net
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.)
------------------------------------------------------------------------
[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.
------------------------------------------------------------------------
Edit this bug report at http://bugs.php.net/?id=11340&edit=1