• 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 "c"
returns "f"

ANSWER DOWNLOAD EXAMIANS APP

PHP Functions
Above usleep() function pauses PHP for .usleep(1000000);

1 microseconds
10 seconds
1 second
100 microseconds

ANSWER DOWNLOAD EXAMIANS APP

PHP Functions
What will be the output of the following PHP code ?
function time($string)
{
echo strtr("Towe Pa55", "ow5", $string);
}
time("ims");

Towe Pa55
Time Pass
Towe Pass
Time Pa55

ANSWER DOWNLOAD EXAMIANS APP

PHP Functions
What will be the output of the following PHP code ?
function _func()
{
echo "Hello World";
}
_func();

Hello World
No Output
ERROR
None of the mentioned

ANSWER DOWNLOAD EXAMIANS APP

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

Option 1
Option 4
Option 2
All listed here

ANSWER DOWNLOAD EXAMIANS APP

PHP Functions
. . . . . converts the keys of an array into values and the values into keys.

array_trans()
array_transpose()
array_flip()
array_flips()

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
↑