PHP 7 Quick Syntax Reference, Second Edition

  • 1h 17m
  • Mikael Olsson
  • Apress
  • 2016

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

  • 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

Who this book is for

This book is a handy, pocket quick scripting syntax reference for experienced PHP as well as perhaps other programmers and Web developers even new to PHP.

About the Author

Mikael Olsson is a professional web entrepreneur, programmer, and author. He works for an R&D company in Finland where he specializes in software development. In his spare time he writes books and creates websites that summarize various fields of interest. The books he writes are focused on teaching their subject in the most efficient way possible, by explaining only what is relevant and practical without any unnecessary repetition or theory.

In this Book

  • PHP 7 Quick Scripting Reference, Second Edition
  • Introduction
  • Using PHP
  • Variables
  • Operators
  • String
  • Arrays
  • Conditionals
  • Loops
  • Functions
  • Class
  • Inheritance
  • Access Levels
  • Static
  • Constants
  • Interface
  • Abstract
  • Traits
  • Importing Files
  • Type Declarations
  • Type Conversions
  • Variable Testing
  • Overloading
  • Magic Methods
  • User Input
  • Cookies
  • Sessions
  • Namespaces
  • References
  • Advanced Variables
  • Error Handling
  • Exception Handling
  • Assertions
SHOW MORE
FREE ACCESS