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.4     Brief introduction to variable types

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

Variables in PHP can be of type integer (a whole number), floating-point (usually called "float"; a fractional number), string (a set of characters), array (a group of data), object (a complex mix of data and functionality), or a resource (any outside information, such as picture data). We will be looking at data types in more depth later on; for now, you only need to know what variables are and how they work.



<< 2.6.3 Heredoc   2.6.5 Code blocks >>
Table of Contents
Top-right shadow
 
Bottom-left shadow Bottom shadow