#46915 [Opn->Bgs]: metaphone crash on utf-8 data "kdxkdx"
ID: 46915
Updated by: derick@php.net
Reported By: qrizly at hotmail dot com
-Status: Open
+Status: Bogus
Bug Type: Reproducible crash
Operating System: window vista
PHP Version: 5.3CVS-2008-12-20 (snap)
New Comment:
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.
.
Previous Comments:
------------------------------------------------------------------------
[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
Thread (8 messages)