Search Header Logo

PHP STRING AND OPERATORS

Authored by Tmt. (UG&PG)-SF)

Computers

University

Used 1+ times

PHP STRING AND OPERATORS
AI

AI Actions

Add similar questions

Adjust reading levels

Convert to real-world scenario

Translate activity

More...

15 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

10 sec • 1 pt

  1. 1. In PHP constants are defined by using _____ function.

define()

DEFINE()

_define()

2.

MULTIPLE CHOICE QUESTION

10 sec • 1 pt

  1. 2. Which operator is used to concatenate two strings in PHP

&&

.

3.

FILL IN THE BLANKS QUESTION

10 sec • 1 pt

  1. 3. (a)   escape sequence is used to insert new line in PHP.

4.

FILL IN THE BLANKS QUESTION

20 sec • 1 pt

  1. 4. The (a)   is a string function which is used to convert any string to lowercase.

5.

MULTIPLE CHOICE QUESTION

10 sec • 1 pt

  1. 5. The ____ is a string function used to reverse a string in PHP.

strrev()

Strev()

strreverse()

6.

FILL IN THE BLANKS QUESTION

20 sec • 1 pt

6.Compound assignment operator are also known as (a)   assignment operator.

7.

MULTIPLE CHOICE QUESTION

10 sec • 1 pt

  1. 7. ___ operator is introduced in PHP7 and used to compare values of two variables but not their data types.

<==>

<-->

<=>

Access all questions and much more by creating a free account

Create resources

Host any resource

Get auto-graded reports

Google

Continue with Google

Email

Continue with Email

Microsoft

Continue with Microsoft

or continue with

Facebook

Facebook

Apple

Apple

Others

Others

By signing up, you agree to our Terms of Service & Privacy Policy

Already have an account?