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

ANSWER DOWNLOAD EXAMIANS APP

PHP Functions
What will be the output of the following PHP code ?
function TV($string)
{
echo "my favourite TV show is ".$string;
function b()
{
echo " I am here to spoil this code";
}
}
a("Sherlock");
b();

None of the mentioned
Error
my favourite TV show is SherlockI am here ro spoil this code
I am here to spoil this code

ANSWER DOWNLOAD EXAMIANS APP

PHP Functions
What will be the output of the following PHP code ?
$var = 10;
function one()
{
echo $var;
}
one();

No Output
Error
None of the Mentioned
10

ANSWER DOWNLOAD EXAMIANS APP

PHP Functions
What will be the output of the following PHP code?
function onespan>() {
define("const","I am awesome!");
echo constant("const");
}
one();

const
I am awesome!!
const, I am awesome!!
“const”,”I am awesome!”

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
phpinfo() will display about?
1. OS version information
2. PHP installation
3. Variables
4. HTTP headers

All listed here
Option 2
Option 1
Option 4

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
↑