• 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
Above usleep() function pauses PHP for .usleep(1000000);

1 second
10 seconds
100 microseconds
1 microseconds

ANSWER DOWNLOAD EXAMIANS APP

PHP Functions
Which one of the following is the right way of defining a function in PHP?

function fumctionName(parameters) { function body }
function { function body }
data type functionName(parameters) { function body }
functionName(parameters) { function body }

ANSWER DOWNLOAD EXAMIANS APP

PHP Functions
phpinfo() will display about?
1. OS version information
2. PHP installation
3. Variables
4. HTTP headers

All listed here
Option 4
Option 2
Option 1

ANSWER DOWNLOAD EXAMIANS APP

PHP Functions
What will be the output of the following PHP code?
function do($myString) {
echo strpos($myString, "donkey",0);
}
do("The donkey looks like a horse.");

5
2
None of the mentioned
4

ANSWER DOWNLOAD EXAMIANS APP

PHP Functions
Which one of the following functions can be used to compress a string?

zip_compress()
compress()
gzcompress()
zip()

ANSWER DOWNLOAD EXAMIANS APP

PHP Functions
What will be the output of the following PHP code ?
function TV($string) {
echo "my favourite TV show is ".$string;
function b() {
echo " I am here to spoil this code";
}
}
b();

None of the mentioned
My favourite TV show isI am here to spoil this code
Error
I am here to spoil this code

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
↑