Considere o seguinte trecho de um código em PHP:1. function ...
1. function convert($str) { 2. $out = ''; 3. $strLen = strlen($str); 4. for ($i = $strLen - 1; $i >= 0; $i--) { 5. $out .= $str[$i]; 6. } 7. return $out; 8. } 9. $input = "Hello World"; 10. $output = convert($input); 11. echo $output;
Qual a alternativa apresenta a saída CORRETA exibida pelo programa.