<<< Previous question <<< Question ID#0719.md >>> Next question >>>
What is the output of the following snippet ?
$a = strlen(NULL);
echo $a++;
- A) 0
- B) 1
- C) Fatal Error - The strlen function expects a string, NULL given
- D) null
Answer
Answer: A
What is the output of the following snippet ?
$a = strlen(NULL);
echo $a++;
Answer: A