PHP interview question. Part 1

Test your skills with this PHP interview questions with short explanation.

Q1. What code will be printed?

Q2. What are values of variables $a and $b?

Q3. How to read file with size of 256MB on a server with 128MB of RAM?

Q4. Write a function with side-effects

Q5. Write decorator for DefaultMailer Class that logs every sent email

Q6. Can the GET method contain Body?

Q7. What are differences between abstract class and interface?