mirror of
https://github.com/php/php-src.git
synced 2025-01-09 04:24:06 +08:00
- New test
This commit is contained in:
parent
b378620e95
commit
92775cd150
14
ext/standard/tests/strings/bug47443.phpt
Normal file
14
ext/standard/tests/strings/bug47443.phpt
Normal file
@ -0,0 +1,14 @@
|
||||
--TEST--
|
||||
Bug #47443 (metaphone('scratch') returns wrong result)
|
||||
--FILE--
|
||||
<?php
|
||||
|
||||
var_dump(metaphone("scratch"));
|
||||
var_dump(metaphone("scrath"));
|
||||
var_dump(metaphone("scratc"));
|
||||
|
||||
?>
|
||||
--EXPECTF--
|
||||
%string|unicode%(4) "SKRX"
|
||||
%string|unicode%(4) "SKR0"
|
||||
%string|unicode%(5) "SKRTK"
|
Loading…
Reference in New Issue
Block a user