Book description
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.
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 7 scripting language syntax. It includes short, simple and focused code examples and a well laid out table of contents and a comprehensive index allowing easy review.
What you'll learn
Discover what is new in PHP 7 and how to get started with it
Work with variables, operators, strings, arrays, conditionals, loops and other language 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
- Cover
- Frontmatter
- 1. Using PHP
- 2. Variables
- 3. Operators
- 4. String
- 5. Arrays
- 6. Conditionals
- 7. Loops
- 8. Functions
- 9. Class
- 10. Inheritance
- 11. Access Levels
- 12. Static
- 13. Constants
- 14. Interface
- 15. Abstract
- 16. Traits
- 17. Importing Files
- 18. Type Declarations
- 19. Type Conversions
- 20. Variable Testing
- 21. Overloading
- 22. Magic Methods
- 23. User Input
- 24. Cookies
- 25. Sessions
- 26. Namespaces
- 27. References
- 28. Advanced Variables
- 29. Error Handling
- 30. Exception Handling
- 31. Assertions
- Backmatter
Product information
- Title: PHP 7 Quick Scripting Reference, Second Edition
- Author(s):
- Release date: May 2016
- Publisher(s): Apress
- ISBN: 9781484219225
You might also like
book
PHP Quick Scripting Reference
The PHP Quick Scripting Reference is a condensed scripting code and syntax reference to the PHP …
book
PHP Phrasebook: Essential Code and Commands
If you were traveling in Spain, but couldn't speak Spanish very well, you'd probably carry a …
book
PHP 7 Programming Cookbook
Over 80 recipes that will take your PHP 7 web development skills to the next level! …
book
PHP Development Tool Essentials
Learn PHP development best practices, such as version control, development environment virtualization, and coding standards. You'll …