
PHP STRING AND OPERATORS
Authored by Tmt. (UG&PG)-SF)
Computers
University
Used 1+ times

AI Actions
Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...
Content View
Student View
15 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
10 sec • 1 pt
1. In PHP constants are defined by using _____ function.
1. In PHP constants are defined by using _____ function.
define()
DEFINE()
_define()
2.
MULTIPLE CHOICE QUESTION
10 sec • 1 pt
2. Which operator is used to concatenate two strings in PHP
2. Which operator is used to concatenate two strings in PHP
&&
.
3.
FILL IN THE BLANKS QUESTION
10 sec • 1 pt
3. (a) escape sequence is used to insert new line in PHP.
4.
FILL IN THE BLANKS QUESTION
20 sec • 1 pt
4. The (a) is a string function which is used to convert any string to lowercase.
5.
MULTIPLE CHOICE QUESTION
10 sec • 1 pt
5. The ____ is a string function used to reverse a string in PHP.
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
7. ___ operator is introduced in PHP7 and used to compare values of two variables but not their data types.
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

Continue with Google

Continue with Email

Continue with Microsoft
or continue with
%20(1).png)
Apple
Others
By signing up, you agree to our Terms of Service & Privacy Policy
Already have an account?