$x = 10.88; echo (int) $x;
Correct Answer: 10
Explanation:
Note: This Question is unanswered, help us to find answer for this one
PHP Skill Assessment
Your Skill Level: Poor
Retake Quizzes to improve it
More PHP MCQ Questions
How can I identify the server IP address in PHP?
The function used to iterate over array and object.
Which function is used to check type of array
(8 < 1 || 4 >= 4 ) will return
$file = 'sample.txt'; $current = file_get_contents($file); $current .= 'Additional Info'; file_put_contents($file, $current); What is the meaning of above code?
What is empty () ?
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; ?>
Is the PHP float type guaranteed to be 64 bit IEEE?
What's the output? echo '5.0' == '5'; ?>
What is the precedence between && and 'and'?