Very good, but you miss "has" to translate
Lost a planet master obi-wan has
which leaves obi-wan lowercase ;)
Also there is a t missing from $pivot and a weird char at the end of sentenceX)) in
$sentence = ucfirst(lc($sentence));
Re: Re: Yoda Speak Translator - well it's official
Replies are listed 'Best First'.