Home »
MCQs »
PHP MCQs
What is the correct syntax of PHP base_convert() function?
73. What is the correct syntax of PHP base_convert() function?
- base_convert(number, from_base, to_base);
- base_convert(number, to_base, from_base);
- base_convert(number);
- base_convert(number, to_base);
Answer: A) base_convert(number, from_base, to_base);
Explanation:
The correct syntax of PHP base_convert() function is:
base_convert(number, from_base, to_base);