Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- function dictionary($list, $word){
- $i=0;
- foreach ($word as $valueB) {
- foreach ($list as $valueA) {
- $s= similar_text ($valueB, $valueA);
- if ($i<$s) {
- $i=$valueB;
- }
- }
- }
- return ($i);
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement