Changes

An Introduction to PHP Variables

422 bytes added, 16:59, 25 May 2007
Accessing PHP Variable Values
<tt>The Circle is the 6th shape.</tt>
 
== Changing the Type of a PHP Variable ==
 
As we mentioned at the beginning of this chapter PHP supports a number of different variable types (specifically integer, float, boolean, array, object, resource and string). We will look at these types in detail later in this chapter. First we are going to look at changing the type of a variable after it has been created.
 
PHP is what is termed a ''loosely typed'' language.