#46915 [Bgs]: metaphone crash on utf-8 string "kdxkdx"
| From: | qrizly at hotmail dot com | Date: | Sat, 20 Dec 2008 19:37:50 +0000 |
| Subject: | #46915 [Bgs]: metaphone crash on utf-8 string "kdxkdx" | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-132207@lists.php.net to get a copy of this message | ||
ID: 46915
User updated by: qrizly at hotmail dot com
-Summary: metaphone crash on utf-8 data "kdxkdx"
Reported By: qrizly at hotmail dot com
Status: Bogus
Bug Type: Reproducible crash
-Operating System: window vista
+Operating System: XP
-PHP Version: 5.3CVS-2008-12-20 (snap)
+PHP Version: php-5.2.8
New Comment:
and tested in PHP 5.2.8. Problem still occurs.
Small question along the lines, is this true:
5.3CVS-2008-12-20 (snapshot) < php-5.2.8
Previous Comments:
------------------------------------------------------------------------
[2008-12-20 19:22:19] derick@php.net
Thank you for taking the time to report a problem with PHP.
Unfortunately you are not using a current version of PHP --
the problem might already be fixed. Please download a new
PHP version from http://www.php.net/downloads.php
If you are able to reproduce the bug with one of the latest
versions of PHP, please change the PHP version on this bug report
to the version you tested and change the status back to "Open".
Again, thank you for your continued support of PHP.
.
------------------------------------------------------------------------
[2008-12-20 19:07:58] qrizly at hotmail dot com
Description:
------------
the string "kdxkdx" encoded in utf-8 or ISO-8859-1 craches in PHP 5.1
and tested in latest snapshot: php-5.3-win32-VC6-x86
Reproduce code:
---------------
$txt = iconv("ISO-8859-1", "UTF-8", "kdxkdx");
echo metaphone($txt);
Expected result:
----------------
echo: KTKSKTKS
Actual result:
--------------
PHP CGI crash
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=46915&edit=1