<<< Previous question <<< Question ID#0450.md >>> Next question >>>
What is the output of:
$a = "0";
echo strlen($a);
echo empty($a) ? $a : 5;
echo $a ?: 5;
- A) 105
- B) 100
- C) 050
- D) 005
Answer
Answer: A
What is the output of:
$a = "0";
echo strlen($a);
echo empty($a) ? $a : 5;
echo $a ?: 5;
Answer: A