Code blocks

One key thing to note is that PHP makes extensive use of code blocks - chunks of PHP code that are separate from the rest of the script. As you read the following sections in this chapter, you will notice that PHP uses braces, { and }, to open and close code blocks - I will be explaining it more when you see it.

 

Next chapter: Opening and closing code islands >>

Previous chapter: Brief introduction to variable types

Jump to:

 

Home: Table of Contents

Follow us on Identi.ca or Twitter

Username:   Password:
Create Account | About TuxRadar