EMT Practice Test
1. Question Content...
Question1: What is the output of the following code?
Question2: What is the output of the following code?
Question6: What method can be used to find the tag <any> via the DOM extension?
Question10: What is the output of the following code?
Question12: What is the output of the following code?
Question13: What is the output of the following code?
Question14: Which options do you have in PHP to set the expiry date of a session?
Question16: Which methods can be used to overload object properties? (Choose two.)
Question17: Which of the following statements about Reflection are correct?
Question18: What function is best suited for extracting data from a formatted string into an array?
Question19: Which class of HTTP status codes is used for server error conditions?
Question20: Which of the following are valid code snippets? (Choose three.)
Question21: Which of the following is NOT possible using reflection?
Question22: What exception type will catch the error raised by the expression 2 / 0?
Question23: Which of the following is NOT true about PHP traits? (Choose two.)
Question24: What can prevent PHP from being able to open a file on the hard drive? (Choose two.)
Question25: What is the length of a string returned by: md5(rand(). TRUE);
Question28: What is the output of the following code?
Question29: What function can reverse the order of values in an array so that keys are preserved?
Question31: What is the output of the following code?
Question32: What will the following function call print?
Question35: After performing the following operations:
What will be the value of $a?
Question36: What is the output of the following code?
Question38: An unbuffered database query will (choose two):
Question39: What is the output of the following code?
Question41: Which of the following can NOT be used to send a cookie from within a PHP application?








