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