What will be the output of the following PHP code?
<?php $line = "You like dogs. I hate dogs. We should marry." $sen = preg_split('/./', $line); print_r($sen); ?>
A.You like dogs. I hate dogs. We should marry.
B.Array([0]=>You like dogs. I hate dogs. We should marry.)
C.Array([0]=>You like dogs. [1]=>I hate dogs. [2]=>We should marry.)
D.Error
Answers
Answered by
0
option B is correct according to this output
Answered by
20
Hi friend this is ur answer
Option (B)
Hope it helps u
Option (B)
Hope it helps u
Similar questions
English,
7 months ago
Physics,
7 months ago
English,
7 months ago
Computer Science,
1 year ago
Computer Science,
1 year ago
English,
1 year ago