• HOME
  • QUIZ
  • CONTACT US
EXAMIANS
  • COMPUTER
  • CURRENT AFFAIRS
  • ENGINEERING
    • Chemical Engineering
    • Civil Engineering
    • Computer Engineering
    • Electrical Engineering
    • Mechanical Engineering
  • ENGLISH GRAMMAR
  • GK
  • GUJARATI MCQ

PHP Functions

PHP Functions
What will be the output of the following PHP code?
echo(atan(0.50));

0.23568451142521
0.11845976421345
1
0.46364760900081

ANSWER DOWNLOAD EXAMIANS APP

PHP Functions
What will be the output of the following PHP code?
function sayHello() {
echo "HelloWorld";
}
$function_holder = "sayHello";
$function_holder();

sayHello
HelloWorld
No Output
Error

ANSWER DOWNLOAD EXAMIANS APP

PHP Functions
What will be the output of the following PHP code?
function a() {
function b() {
echo 'I am b';
}
echo 'I am a';
}
b();
a();

I am a Error
I am bI am a
I am b
Error

ANSWER DOWNLOAD EXAMIANS APP

PHP Functions
Which of the following are valid function names?
1. function()
2. €()
3. .function()
4. $function()

None of the mentioned
All of the mentioned
3 and 4
Only 2

ANSWER DOWNLOAD EXAMIANS APP

PHP Functions
What will be the output of the following PHP code?
function foo($msg) {
echo "$msg";
}
$var1 = "foo";
$var1("will this work");

Will this work
0
$msg
Error

ANSWER DOWNLOAD EXAMIANS APP

PHP Functions
Type Hinting was introduced in which version of PHP?

PHP 5.3
PHP 6
PHP 5
PHP 4

ANSWER DOWNLOAD EXAMIANS APP
MORE MCQ ON PHP Functions

DOWNLOAD APP

  • APPLE
    from app store
  • ANDROID
    from play store

SEARCH

LOGIN HERE


  • GOOGLE

FIND US

  • 1.70K
    FOLLOW US
  • EXAMIANSSTUDY FOR YOUR DREAMS.
  • SUPPORT :SUPPORT EMAIL ACCOUNT : examians@yahoo.com

OTHER WEBSITES

  • GUJARATI MCQ
  • ACCOUNTIANS

QUICK LINKS

  • HOME
  • QUIZ
  • PRIVACY POLICY
  • DISCLAIMER
  • TERMS & CONDITIONS
  • CONTACT US
↑