I think you're better off downloading the php manual --- then treating us to a cookie-fest with the money you saved from the book. :)
But seriously, the manual has sample codes for the functions so it's a good 'buy' (download?). Plus it's in digital format. I <3 CTRL+F.