PHP Data Types

  You are currently not logged in. You can view the forums, but cannot post messages. Log In | Register

09-Jun-09 00:00
This is a forum topic for discussing the article "PHP Data Types":

Lists and explains all PHP data types, and shows how to read and change data types. Also looks at PHP's loose typing.
13-Oct-12 11:29
Thank you. very much helpful

17-Jul-17 02:18
Objects are also a type of data in PHP, but it is not mentioned in this article. Arrays and function are some examples of an Object. Here is how a new Object is created.

$car = new ferrari();

17-Jul-17 05:24
Objects are [b]NOT really[b] data 'types' which is why they are not covered as simple data 'types'

'Objects' are an abstract structure of variables which are containers of scalar data types, arranged as an associative array


" but it is not mentioned in this article."

Had you actually read the article all the way through you would have found arrays and objects covered in the section headed with

"PHP's compound data types"

So long, and thanks for all the fish.

New posts
Old posts

Follow Elated