• 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
. . . . returns a new DateTime object.

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

ANSWER DOWNLOAD EXAMIANS APP

PHP Functions
What will be the output of the following PHP code?
echo ucwords("i love my country");

I love my Country
i love my Country
I Love My Country
I love my country

ANSWER DOWNLOAD EXAMIANS APP

PHP Functions
What will be the output of the following PHP code?
function calc($price, $tax="") {
$total = $price + ($price * $tax);
echo "$total";
}
calc(42);

84
Error
42
0

ANSWER DOWNLOAD EXAMIANS APP

PHP Functions
What will be the output of the following PHP code?
echo ucwords("i love all country");

I love all Country
I Love All Country
i love all Country
I love all country

ANSWER DOWNLOAD EXAMIANS APP

PHP Functions
What will be the output of the following PHP code?
function sayHello() {
echo "HelloWorld";
}
$function_holder = "sayHello";
$function_holder();

sayHello
No Output
Error
HelloWorld

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

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
↑