PHP 8 Quick Scripting Reference, 3rd Edition
A Pocket Guide to PHP Web Scripting
This pocket reference has been updated with the new PHP 8 release. It is a condensed, code-rich scripting and syntax handbook for the PHP scripting language. You won’t find any technical jargon, bloated samples, drawn-out history lessons or witty stories in this book. What you will find is a web scripting language reference that is concise, to the point, and highly accessible. The book is packed with useful information and is a must-have for any PHP programmer or web developer. In it, you will find a concise reference to the PHP 8 scripting language syntax. It includes short, simple, and focused code examples; a well-laid-out table of contents; and a comprehensive index allowing easy review.
PHP 8 Quick Scripting Reference presents the essentials of PHP in a well-organized format, including new features in PHP 8 such as the just in time (JIT) compiler, union types, nullsafe operator, null coalescing assignment operator, match expressions, named arguments, throw expressions, static return type, non-capturing catches, reclassified engine warnings and constructor property promotion.
What You Will Learn
Discover what is new in PHP 8 and how to get started with itWork with variables, operators, strings, arrays, conditionals, loops, and other constructsGroup and reuse code with functions, methods, and namespacesUse object-oriented features such as classes, inheritance, abstract classes, and interfacesImport files and retrieve user data Make use of type declarations and type conversions Test variables, create references, and use overloading methodsStore user data with cookies and sessionsDeal with errors through error handling, exception handling, and assertions.
Who This Book Is For
Experienced PHP programmers and web developers who may be new to PHP.