PHP6 vs. PHP5.3 (BYODDWS)

Do I need to use the magic_quotes code int he book? If I’m reading correctly, PHP5.3 deprecated it? Is the book outdated in that regard?

You only need to use code to undo magic quotes if you are writing code that others will be allowed to use where one or more of those may use it on an older system where magic quotes is still enabled.