<<< Previous question <<< Question ID#0023.md >>> Next question >>>
Fred works as a Web developer in Fastech Inc. He writes the following script:
$s聽=聽2;
switch聽($s)聽{
聽聽聽聽聽聽case聽1:
聽聽聽聽聽聽聽聽聽print("Fred");
聽聽聽聽聽聽聽聽聽break;
聽聽聽聽聽聽case聽2:
聽聽聽聽聽聽聽聽聽print("Fast");
聽聽聽聽聽聽case聽3:
聽聽聽聽聽聽聽聽聽print("Tech");
聽聽聽聽聽聽default:聽print("default");
}What will be displayed as output when Fred attempts to run this PHP script?
- A) FastTechdefault
- B) Fast Tech
- C) default
- D) Fast
Answer
Answer: A