|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[2009-02-18 21:18 UTC] jani@php.net
[2009-02-18 21:29 UTC] sirokai at gmail dot com
[2009-02-18 22:38 UTC] felipe@php.net
|
|||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Tue Oct 28 16:00:01 2025 UTC |
Description: ------------ When I run metaphone('scratch'), I get string(5) "SKRTX" This is wrong. According to the rules posted for metaphone, T before CH is silent, so the result should be "SKRX". My Javascript metaphone function gets this right and I need the two to match up! Reproduce code: --------------- <?php echo metaphone("scratch"); ?> Expected result: ---------------- SKRX Actual result: -------------- SKRTX