&lt;?phpfunction fun&#40;&#41;&#123;    static $x = 0;    echo $x;    $x++;&#125;fun&#40;&#41;;fun&#40;&#41;;fun&#40;&#41;;?&gt;
A. 012
B. 123
C. 111
D. Error
Answer:A
&lt;?phpfunction fun&#40;&#41;&#123;    static $x = 0;    echo $x;    $x++;&#125;fun&#40;&#41;;fun&#40;&#41;;fun&#40;&#41;;?&gt;
A. 012 B. 123 C. 111 D. Error
Explanation: When static is used, each time the function is called, that variable will still have the information it contained from the last time the function was called.