This document provides an overview of PHP basics covered in Session One of a CFPHP ZCE Training. It introduces PHP files and data types like integers, floats, strings, booleans, and arrays. It also covers variables, constants, operators, and basic control structures like conditionals and loops. The document concludes with an overview of error handling in PHP.
8. Statement Termination
• Semicolons terminate PHP statements
• function_call();
• $a = 123;
• There are few exceptions
• Control Structures
• Last Line in PHP Script
8
26. Constants
• Similar to variables, but not
• Values Stored once, may never be
changed
• Names are suggested to be in ALL_CAPS
• define(), defined()
26