PHP 8 Quick Scripting Reference: A Pocket Guide to PHP Web Scripting
β Scribed by Mikael Olsson
- Publisher
- Apress
- Year
- 2021
- Tongue
- English
- Leaves
- 188
- Edition
- 3rd ed.
- Category
- Library
No coin nor oath required. For personal study only.
β¦ Synopsis
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 it
- Work with variables, operators, strings, arrays, conditionals, loops, and other constructs
- Group and reuse code with functions, methods, and namespaces
- Use object-oriented features such as classes, inheritance, abstract classes, and interfaces
- Import files and retrieve user data Make use of type declarations and type conversions
- Test variables, create references, and use overloading methods
- Store user data with cookies and sessions
- Deal 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.
β¦ Table of Contents
Front Matter ....Pages i-xviii
Using PHP (Mikael Olsson)....Pages 1-6
Variables (Mikael Olsson)....Pages 7-11
Operators (Mikael Olsson)....Pages 13-19
String (Mikael Olsson)....Pages 21-25
Arrays (Mikael Olsson)....Pages 27-30
Conditionals (Mikael Olsson)....Pages 31-37
Loops (Mikael Olsson)....Pages 39-44
Functions (Mikael Olsson)....Pages 45-56
Class (Mikael Olsson)....Pages 57-64
Inheritance (Mikael Olsson)....Pages 65-68
Access Levels (Mikael Olsson)....Pages 69-73
Static (Mikael Olsson)....Pages 75-79
Constants (Mikael Olsson)....Pages 81-85
Interface (Mikael Olsson)....Pages 87-90
Abstract (Mikael Olsson)....Pages 91-94
Traits (Mikael Olsson)....Pages 95-97
Importing Files (Mikael Olsson)....Pages 99-103
Type Declarations (Mikael Olsson)....Pages 105-112
Type Conversions (Mikael Olsson)....Pages 113-115
Variable Testing (Mikael Olsson)....Pages 117-124
Overloading (Mikael Olsson)....Pages 125-128
Magic Methods (Mikael Olsson)....Pages 129-135
User Input (Mikael Olsson)....Pages 137-144
Cookies (Mikael Olsson)....Pages 145-146
Sessions (Mikael Olsson)....Pages 147-148
Namespaces (Mikael Olsson)....Pages 149-156
References (Mikael Olsson)....Pages 157-160
Advanced Variables (Mikael Olsson)....Pages 161-163
Error Handling (Mikael Olsson)....Pages 165-171
Exception Handling (Mikael Olsson)....Pages 173-178
Assertions (Mikael Olsson)....Pages 179-180
Back Matter ....Pages 181-185
β¦ Subjects
Computer Science; Professional Computing; Web Development; Open Source
π SIMILAR VOLUMES
<p><p>The <em>PHP Quick Scripting Reference</em> is a condensed scripting code and syntax reference to the PHP scripting language, the most popular Web scripting language in use today. It presents the essential PHP script in a well-organized format that can be used as a handy reference.</p><p>You wo
The PHP Quick Scripting Reference is a condensed scripting code and syntax reference to the PHP scripting language, the most popular Web scripting language in use today. It presents the essential PHP script in a well-organized format that can be used as a handy reference. You wonβt find any technica
The PHP Quick Scripting Reference is a condensed scripting code and syntax reference to the PHP scripting language, the most popular Web scripting language in use today. It presents the essential PHP script in a well-organized format that can be used as a handy reference. You wonβt find any technica
The PHP Quick Scripting Reference is a condensed scripting code and syntax reference to the PHP scripting language, the most popular Web scripting language in use today. It presents the essential PHP script in a well-organized format that can be used as a handy reference. You won't find any technic
This pocket reference guide has been updated with the new PHP 7.0 release. It is a condensed, code-rich scripting and syntax handbook for the PHP scripting language. PHP 7 Quick Scripting Reference presents the essential PHP script in a well-organized format.<br>You wonβt find any technical jargon,