'I', 'You', 'He', 'We', 'You (pl.)', 'They'); $question = $persons[$person]." ______."; // if ($person==3) $question .= eng3sgVerb($verb); // else $question .= $verb; // $question .= ". ".$persons[$q_person]." ______."; return $question; } function eng3sgVerb($verb) { $words = explode(' ', $verb); // if there is a preposition after the verb $vowels = 'aeiou'; $len = strlen($words[0]); if ($words[0]=='be') $verbform = 'is'; elseif (substr($words[0], $len-1)=='y') { if (strpos($vowels, substr($words[0], $len-2, 1)>-1)) { $verbform = substr($words[0], 0, $len-1)."ies"; // deny -> denies } } if (empty($verbform)) $verbform = $words[0]."s"; if (count($words)>1) { // if there is a preposition after the verb for ($i=1; $i Present Indicative Test \n

Tenses

\n"; print "

You have answered all questions correctly. Try to conjugate another verb.\n"; exit("

Back to the Persian Tests"); } print "\n"; } else { print "\n"; } ?>

Tenses

Please change this verb whose infinitive means "to " from the Simple Past to the Present Indicative, keeping the same person:

"> ".Conjugate($pastStem, $presStem, $presStemTrans, 1, $persons[$i-1]); print ""; print ""; print "
".Conjugate($pastStem, $presStem, $presStemTrans, $questions[$i-1][0], $persons[$i-1])."
".Conjugate($pastStem, $presStem, $presStemTrans, $questions[$i-1][1], $persons[$i-1])."
".Conjugate($pastStem, $presStem, $presStemTrans, $questions[$i-1][2], $persons[$i-1])."
"; } print "

"; ?>


Persian Verb Conjugator

Back to the Persian Tests