summaryrefslogtreecommitdiff
path: root/ext/standard/tests/strings/bug47443.phpt
blob: e673e807ee8511841d7b4089b85f92a5d3e18aba (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
--TEST--
Bug #47443 (metaphone('scratch') returns wrong result)
--FILE--
<?php

var_dump(metaphone("scratch"));
var_dump(metaphone("scrath"));
var_dump(metaphone("scratc"));

?>
--EXPECT--
string(4) "SKRX"
string(4) "SKR0"
string(5) "SKRTK"