Omen ®
  Longevity: 8 years 3 months Posts: 181087

|
PHP 7 Quick Scripting Reference, Second Edition
Год издания: 2016
Автор: Mikael Olsson
Издательство: Apress
ISBN: 978-1-484219-21-8
Серия: The Expert's Voice in Web Development
Язык: Английский
Формат: PDF
Качество: Издательский макет или текст (eBook)
Интерактивное оглавление: Да
Количество страниц: 160
Описание: 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 syntax 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
- What is new in PHP 7 and how to get started with it
- What are variables, operators, strings, arrays, conditionals, loops and other language constructs
- How to group and reuse code with functions, methods and namespaces
- How to use object-oriented features such as classes, inheritance, abstract classes and interfaces
- How to import files and retrieve user data
- What are type declarations and type conversions
- How to test variables, create references and use overloading methods
- How to store user data with cookies and sessions
- How to deal with errors through error handling, exception handling and assertions
Оглавление
Contents at a Glance
About the Author ..............................................................................xv
About the Technical Reviewer ........................................................xvii
Introduction .....................................................................................xix
■ Chapter 1: Using PHP ...................................................................... 1
■ Chapter 2: Variables ....................................................................... 5
■ Chapter 3: Operators ...................................................................... 9
■ Chapter 4: String .......................................................................... 15
■ Chapter 5: Arrays ......................................................................... 19
■ Chapter 6: Conditionals ................................................................ 23
■ Chapter 7: Loops ........................................................................... 27
■ Chapter 8: Functions .................................................................... 31
■ Chapter 9: Class ........................................................................... 39
■ Chapter 10: Inheritance ................................................................ 45
■ Chapter 11: Access Levels ............................................................ 49
■ Chapter 12: Static ......................................................................... 53
■ Chapter 13: Constants .................................................................. 57
■ Chapter 14: Interface .................................................................... 61
■ Chapter 15: Abstract .................................................................... 65
■ Chapter 16: Traits ......................................................................... 69
■ Chapter 17: Importing Files .......................................................... 71
■ Chapter 18: Type Declarations ...................................................... 75
■ Chapter 19: Type Conversions ...................................................... 79
■ Chapter 20: Variable Testing......................................................... 81
■ Chapter 21: Overloading ............................................................... 87
■ Chapter 22: Magic Methods ......................................................... 91
■ Chapter 23: User Input.................................................................. 97
■ Chapter 24: Cookies ................................................................... 103
■ Chapter 25: Sessions .................................................................. 105
■ Chapter 26: Namespaces ............................................................ 107
■ Chapter 27: References .............................................................. 113
■ Chapter 28: Advanced Variables ................................................ 117
■ Chapter 29: Error Handling ......................................................... 121
■ Chapter 30: Exception Handling ................................................. 127
■ Chapter 31: Assertions ............................................................... 131
Index .............................................................................................. 133
|
|