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

ANSWER DOWNLOAD EXAMIANS APP

PHP Functions
phpinfo() will display about?
1. OS version information
2. PHP installation
3. Variables
4. HTTP headers

Option 4
Option 2
All listed here
Option 1

ANSWER DOWNLOAD EXAMIANS APP

PHP Functions
A function in PHP which starts with ______ (double underscore) is know as.

Magic Function
Inbuilt Function
Default Function
User Defined Function

ANSWER DOWNLOAD EXAMIANS APP

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

ERROR
No Output
Hello World
None of the mentioned

ANSWER DOWNLOAD EXAMIANS APP

PHP Functions
Type Hinting was introduced in which version of PHP?

PHP 4
PHP 5
PHP 6
PHP 5.3

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 Too Seems To Work
This Works

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
↑