MCQs > IT & Programming > PHP > Knowing that the output of the first echo is '2.5', what will be the output of the third echo on Unix Machine? setlocale(LC_ALL, 'fr_FR'); echo (string)2.5; echo '\n'; echo (float)(string)2.5; ?>

PHP MCQs

Knowing that the output of the first echo is "2.5", what will be the output of the third echo on Unix Machine?

setlocale(LC_ALL, "fr_FR");
echo (string)2.5;
echo "\n";
echo (float)(string)2.5;
?>


Answer

Correct Answer: 2,5

Explanation:

Note: This Question is unanswered, help us to find answer for this one

PHP Skill Assessment

Overall Skill Level-Poor

Your Skill Level: Poor

Retake Quizzes to improve it

search

PHP Skill Assessment

Overall Skill Level-Poor

Your Skill Level: Poor

Retake Quizzes to improve it