|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[2007-09-16 14:48 UTC] iliaa@php.net
[2007-09-24 01:00 UTC] php-bugs at lists dot php dot net
|
|||||||||||||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Mon Dec 01 19:00:01 2025 UTC |
Description: ------------ utf8_decode() make a crash php.log: no entry error.log: no entry /var/log/messages: no entry access.log: "GET test.php HTTP/1.1" 200 2 without echo 'A';: "GET test.php HTTP/1.1" 500 0 iconv("UTF-8", "ISO-8859-1", 'Hallo'); is working make test: a report was sending CFLAGS="-O3 -mcpu=pentium4 -march=pentium4" CPPFLAGS="-O3 -mcpu=pentium4 -march=pentium4" CXXFLAGS="-O3 -mcpu=pentium4 -march=pentium4" export CFLAGS export CPPFLAGS export CXXFLAGS ./configure \ --prefix=/usr/local/apache2 \ --with-apxs2=/usr/local/apache2/bin/apxs \ --enable-shared \ --enable-soap \ --with-zlib \ --with-openssl \ --disable-cgi \ --disable-xml \ --disable-xmlreader \ --disable-xmlwriter \ --disable-dom \ --disable-pdo \ --disable-debug \ --without-pear \ --with-config-file-path=/etc/php5/apache2 Reproduce code: --------------- <?php echo 'A'; echo utf8_decode('Hallo'); echo 'B'; ?> Expected result: ---------------- AHalloB Actual result: -------------- A