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

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

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
Error
I am b

ANSWER DOWNLOAD EXAMIANS APP

PHP Functions
What will be the output of the following PHP code?
echo str_pad("Salad", 5)." is good for health.";

Salad is good for health
is good for health Salad
is good for health SaladSaladSaladSaladSalad
SaladSaladSaladSaladSalad is good for health

ANSWER DOWNLOAD EXAMIANS APP

PHP Functions
Which of the following PHP functions can be used to get the current memory usage?

get_peak_usage()
get_memory_peak_usage()
get_usage()
get_memory_usage()

ANSWER DOWNLOAD EXAMIANS APP

PHP Functions
What will be the output of the following PHP code ?
function test($int)
{
if ($int == 1)
echo "This Works";
if ($int == 2)
echo "This Too Seems To Work";
}
test(1);
TEST(2);

ERROR
This WorksThis Too Seems To Work
This Works
This Too Seems To Work

ANSWER DOWNLOAD EXAMIANS APP

PHP Functions
What will be the output of the following PHP code?
$str = "Hello World";
echo wordwrap($str,5,"n");

Hello World
HelloWorld
Hell 0 Wo rld
World

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
↑