34,333
edits
Changes
→Changing the Type of a PHP Variable
== Changing the Type of a PHP Variable ==
<google>ADSDAQBOX_FLOW</google>
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 in the next chapter ([[Understanding PHP Variable Types]]). First we are going to look at changing the type of a variable after it has been created.