• 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
Which one of the following functions can be used to compress a string?

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

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

Time Pa55
Towe Pass
Time Pass
Towe Pa55

ANSWER DOWNLOAD EXAMIANS APP

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

Hello World
None of the mentioned
ERROR
No Output

ANSWER DOWNLOAD EXAMIANS APP

PHP Functions
What will be the output of the following PHP code?
echo ord ("hi");

106
103
209
104

ANSWER DOWNLOAD EXAMIANS APP

PHP Functions
What will be the output of the following PHP code ?
function email()
{
$email = ’contact@examians.com’;
$new = strstr($email, ‘@');
echo $new;
}
email();

contact@examians.com
examians.com
@examians.com
contact

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
↑