<<< Previous question <<< Question ID#0408.md >>> Next question >>>
What is the output of the following script?
$str = 'val1,val2,,val4,';
echo count(explode(',', $str));
Enter the exact script output
- A) 5
- B) 4
- C) 6
- D) 0
Answer
Answer: A
What is the output of the following script?
$str = 'val1,val2,,val4,';
echo count(explode(',', $str));
Enter the exact script output
Answer: A