Sail E0 Webinar
Question
What will be the output of the following PHP code?$line = "You like dogs. I hate dogs. We should marry."$sen = preg_split('/./', $line);print_r($sen);
Options:
A .  Error
B .  Array([0]=>You like dogs. [1]=>I hate dogs. [2]=>We should marry.)
C .  You like dogs. I hate dogs. We should marry.
D .  Array([0]=>You like dogs. I hate dogs. We should marry.)
Answer: Option B

Submit Your Solution Below and Earn Points !
Next Question

Submit Solution

Your email address will not be published. Required fields are marked *

Latest Videos

Latest Test Papers