Variables

Variables are structures in computer programming languages. Variables are also described as containers for things, like numbers, strings, and objects. A key aspect of the PHP programming language is that it is a loosely typed language. Loosely typed programming languages enable a variable to hold a number at one moment and a string or other data type at another. This means that you need to be careful with how you use, identify, and assign types.

The ability to change the data type of a variable is important in any programming language. The process of changing a variable from one type to another is called typecasting. In languages like Java, there are wrapper class files to enable you to explicitly change the data types of variables. ...

Get Oracle Database 10g Express Edition PHP Web Programming now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.