Abstract
Data types form the backbone of any programming language, providing the programmer with a means by which to represent various types of information. PHP provides support for six general data types:
-
Integers
-
Floating-point numbers
-
Strings
-
Arrays
-
Objects
-
Booleans
One of the pillars of any programming language is its support for numbers. PHP supports both integers and real (double) numbers. Each of these number formats is described in further detail later.
This is a preview of subscription content, log in via an institution.
Buying options
Tax calculation will be finalised at checkout
Purchases are for personal use only
Learn about institutional subscriptionsPreview
Unable to display preview. Download preview PDF.
Rights and permissions
Copyright information
© 2001 W. J. Gilmore
About this chapter
Cite this chapter
Gilmore, W.J. (2001). Variables and Data Types. In: A Programmer’s Introduction to PHP 4.0. Apress, Berkeley, CA. https://doi.org/10.1007/978-1-4302-0856-3_2
Download citation
DOI: https://doi.org/10.1007/978-1-4302-0856-3_2
Publisher Name: Apress, Berkeley, CA
Print ISBN: 978-1-893115-85-9
Online ISBN: 978-1-4302-0856-3
eBook Packages: Springer Book Archive