blob: 00adda2be6701e3268ace680ce6f53f4dbc5e813 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
|
--TEST--
Bug #44242 (metaphone('CMXFXM') crashes PHP)
--FILE--
<?php
echo metaphone('CMXFXZ'), "\n";
echo metaphone('CMXFXV'), "\n";
echo metaphone('CMXFXZXZ'), "\n";
?>
--EXPECT--
KMKSFKSS
KMKSFKSF
KMKSFKSSKSS
|