Q:

Which statement is correct for specifying a string in code?

0

Which statement is correct for specifying a string in code?


  1. $my_string = \' A literal string\';
  2. $my_string = \' A literal string\";
  3. #my_string = \' A literal string\';
  4. Both a and b

All Answers

need an explanation for this answer? contact us directly to get an explanation for this answer

 (d).Both a and b

need an explanation for this answer? contact us directly to get an explanation for this answer

total answers (1)

PHP STRINGS AND REGULAR EXPRESSIONS MCQ

This question belongs to these collections

Similar questions


need a help?


find thousands of online teachers now
What does trailing means in replacement of functio... >>
<< Concatenating assignment operator is denoted by...