Hudzilla.org - the homepage of Paul Hudson PHP and PHP
Contents > Introducing PHP > How PHP is written Wish List | Report Bug | About Me ]

2.6.5     Code blocks

NOTE: This is NOT the latest copy of this book; click here for the latest version.

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.



<< 2.6.4 Brief introduction to variable types   2.6.6 Opening and closing code islands >>
Table of Contents
Top-right shadow
 
Bottom-left shadow Bottom shadow