adplus-dvertising
frame-decoration

Question

Literal string specified in PHP code by

a.

Single quotation mark

b.

Double Quotation mark

c.

Single dollar sign

d.

Both a and b

Posted under PHP

Answer: (d).Both a and b

Engage with the Community - Add Your Comment

Confused About the Answer? Ask for Details Here.

Know the Explanation? Add it Here.

Q. Literal string specified in PHP code by

Similar Questions

Discover Related MCQs

Q. Which function start its search from backward rather than from beginning?

Q. Which function takes a single string and returns its length as an integer?

Q. Strtupper ( ) function returns

Q. PHP offers printf ( ) and

Q. Dot ". " operator in strings are called as

Q. How many operators PHP offer for strings?

Q. Function Strcmp ( ) is equals to

Q. Which three functions has intimate relationship with each other?

Q. Which syntax is very useful for specifying large chunks of interpolated variable text?

Q. Strstr ( ) function selects a substring by its

Q. Operator that is used for heredoc syntax

Q. PHP has long supported two regular expression implementations known as _______ and _______

i) Perl
ii) PEAR
iii) Pearl
iv) POSIX

Q. Which one of the following regular expression matches any string containing zero or one p?

Q. [:alpha:] can also be specified as..

Q. How many functions does PHP offer for searching strings using POSIX style regular expression?

Q. POSIX implementation was deprecated in which version of PHP?

Q. POSIX stands for

Q. Which of the following would be a potential match for the Perl-based regular expression /fo{2,4}/ ?

i) fol
ii) fool
iii) fooool
iv) fooooool

Q. Which among the following is/are not a metacharacter?

i) \a
ii) \A
iii) \b
iv) \B

Q. How many functions does PHP offer for searching and modifying strings using Perl-compatible regular expressions.