• 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
strlen() returns the length of the string on success and . . . . if the string is empty.

NULL
-1
Garbage value
0

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

ANSWER DOWNLOAD EXAMIANS APP

PHP Functions
. . . . returns a new DateTime object.

date_create()
date_sunrise()
date()
getdate()

ANSWER DOWNLOAD EXAMIANS APP

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

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

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
Towe Pass
Time Pass
Time Pa55

ANSWER DOWNLOAD EXAMIANS APP

PHP Functions
Which of the following PHP functions can be used for generating unique id’s?

mdid()
id()
md5()
uniqueid()

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
↑