<?php
$list = 'Joey
Brooks
Christian
Carmine
Boyce
Rosario
Rayford
Winfred
Scotty
Hank
Armand
Devon
Carl
Antonia
Kendrick
Benny
Dee
Al
Reyes
Leonardo
Duncan
Gary
Ollie
Jacques
Gerry
German
Wyatt
Reginald
Rodger
Valentin
Toby
Rene
Shayne
Randall
Santo
Art
Winston
Bryant
Justin
Clinton
Augustus
Andrew
Jody
Reid
Wilfredo
Shelton
Harris
Kris
Abe
Chris';
$list = explode("\n", $list);
array_unique($list);
$letters = array('a', 'e', 'i', 'o', 'l');
$numbers = array('@', '3', '!', '0', '1');
foreach($list as $l){
$comma .= strtolower($l).", ";
$reg .= "'".strtolower($l)."'=>'".str_replace($letters, $numbers, strtolower($l))."',";
$rep .= "'".str_replace($letters, $numbers, strtolower($l))."'=>'".strtolower($l)."',";
}
echo '<textarea style="width:400px;height:200px">
## LIST OF
'.$comma.'
$word_universe[]=array('.$reg.');
$word_universe[]=array('.$rep.');
</textarea>';
?>
preferences:
54.31 ms | 402 KiB | 5 Q