php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #338 soundex bug
Submitted: 1998-05-01 23:09 UTC Modified: 1998-05-02 16:11 UTC
From: mlemos at acm dot org Assigned:
Status: Closed Package: Misbehaving function
PHP Version: 3.0 Release Candidate 4 OS: AmigaOS
Private report: No CVE-ID: None
View Add Comment Developer Edit
Anyone can comment on a bug. Have a simpler test case? Does it work for you on a different platform? Let us know!
Just going to say 'Me too!'? Don't clutter the database with that please !
Your email address:
MUST BE VALID
Solve the problem:
10 - 7 = ?
Subscribe to this entry?

 
 [1998-05-01 23:09 UTC] mlemos at acm dot org
Run this to see an odd soundex bug:

<?
 $word="1";
 $word_soundex=soundex($word);
 if($word_soundex=="")
  echo "OK\n";
 else
 echo "soundex($word) is \"$word_index\" and length is",strlen($word_soundex),"!?!?!\n"; ?>

Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [1998-05-02 16:11 UTC] jim
Fixed in the latest CVS.
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Mon Apr 29 19:01:30 2024 UTC