Answer: Option C Explanation:You need not specify the datatype in php.
Answer: Option D Explanation:To run PHP code you need to have PHP and a web server, both IIS and Apache are web servers.
You can choose either one according to your platform.
Answer: Option A Explanation:The numbers inside the double quotes are considered as integers and not string,
therefore the value 3 is printed and not 1+2.
Answer: Option C Explanation:The integer value at the beginning of the original $total string is used in the calculation.
However if it begins with anything but a numerical value, the value will be 0.
Answer: Option C Explanation:The (array) is a cast operator which is used for converting values from other data types to array.