PHP Data Structures
- arrays
- objects
- Arrays are very commonly used, in everything from handling HTML forms to retrieving database query results.
- Objects are used when performing object-oriented programming.
- Resourses
- NULL
- Resource types provide a pointer-like reference to database connections, opened files and directories, dynamically-generated images, etc.
- The NULL type is represented by:
the constant NULL
-a variable not assigned a value
-a variable that has been unset
Data Type -
PHP supports eight types of data structures. Half of these are scalar types, meaning they hold only a single value. These are: Booleans (True/False), integers, floating-point numbers, and strings (any quoted character or sequence of characters).
No comments:
Post a Comment