© Andrew Beak 2017
Andrew BeakPHP 7 Zend Certification Study Guidehttps://doi.org/10.1007/978-1-4842-3246-0_1

1. PHP Basics

Andrew Beak
(1)
Grafham, Cambridgeshire, UK
 

Introduction

This chapter focuses on the nitty gritty details of PHP as a language. This is a big chapter and it covers one of the most important aspects of the exam. The best advice that I can give is not to skim over it. There are a lot of places where PHP has some peculiarities and even with a few years of experience you might not have encountered them all.

Basic Language Features

All statements in PHP must be terminated with a semicolon. An exception to this is if the statement happens to be the last statement before a closing tag.
Whitespace has no semantic meaning in PHP. There ...

Get PHP 7 Zend Certification Study Guide: Ace the ZCE 2017-PHP Exam now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.