Junior PHP Developer Question:
Do you know what’s the difference between __sleep and __wakeup?
Answer:
__sleep returns the array of all the variables that need to be saved, while __wakeup retrieves them.
Previous Question | Next Question |
Explain me what is the difference between $_FILES[‘userfile’][‘name’] and $_FILES[‘userfile’][‘tmp_name’]? | Explain what does the function get_magic_quotes_gpc() means? |