Code Examples from the Building Secure PHP Apps ebook