PHP
<?php
/**
* teratail - Q&A community for every thinking engineer
*
* @author Leverages Co. Ltd. Technology Media Lab.
* @since 2014/07/16
*/
function teratail(ThinkingEngineer $you)
{
$question = new Question($you->problems);
$you->postQuestion($question);
while (!$question->resolved) {
$answers = $you->getAnsweres();
if ($you->resolveQuestion($answers)) {
$you->appreciate("Thank you!");
break;
}
}
return $you->evolve();
}