Looking for more information on how to do PHP the right way? Check out PHP: The Right Way

WebReference.com:
The Building Blocks: Data Types, Literals, Variables, and Constants - Part 2
Jan 22, 2007 @ 15:52:00

WebReference.com has posted part two in a series looking at the "building blocks" that make up PHP and its use. This time, it's a look at the containers for your data - the data types, literals, variables, and constants.

They go through each, explaining what they are, how they're used and when you'd want to use them in your code. They explain the data types and how those fit with each "container" and some basic things like valid names and how to assign things correctly.

They even get get into working with variables from GET and POST requests as well as working with the scope of variables and getting the metadata about them (is it an integer? is it empty?)

tagged: building blocks datatypes literals variables constants tutorial building blocks datatypes literals variables constants tutorial

Link:


Trending Topics: