What will be the output of the following PHP code?

What will be the output of the following PHP code? Correct Answer Array([0]=>You like dogs. [1]=>I hate dogs. [2]=>We should marry.)

Answer: Option 3

We use a ‘.’ period to split the data, therefor giving each sentence it’s own array entry.

Related Questions