ID: 11340 Updated by: sniper Reported By: [EMAIL PROTECTED] 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] [EMAIL PROTECTED] 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 -- PHP Development Mailing List <http://www.php.net/> To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]