• 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
The below statement will return.$Var = substr(""abcdef"", -4, 1);

returns "d"
returns "cd"
returns "f"
returns "c"

ANSWER DOWNLOAD EXAMIANS APP

PHP Functions
The arguments in a function are evaluated from .....

right to left
left to right
sometimes left to right and sometimes right to left
Always right to left

ANSWER DOWNLOAD EXAMIANS APP

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

0.23568451142521
0.46364760900081
1
0.11845976421345

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();

HelloWorld
sayHello
Error
No Output

ANSWER DOWNLOAD EXAMIANS APP

PHP Functions
strlen() returns the length of the string on success and . . . . if the string is empty.

0
-1
Garbage value
NULL

ANSWER DOWNLOAD EXAMIANS APP

PHP Functions
What will be the output of the following PHP code?
echo lcfirst("welcome to my India");

Welcome to my india
welcome to my India
Welcome to my India
welcome to my india

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
↑