Home >> PHP >> What are data types in PHP

What are data types in PHP

The following data types:

1-Integer-Whole number not decimal number like 4,10.

2-Double-Floating point number like 2.14.

3-Boolean-Only two possible values either true or false.

4-NULL-Special data type.

5-String-Sequence of characters like 'Hello world'

6-Array-Collections of data type.

7-Objects-Instances of classes

8-Resourse-Special data type.

Post Your Comment

Next Questions
What are super global variable
$GLOBALS super global variable
$_SERVER super global variable
$_REQUEST super global variable
$_POST super global variable
$_GET super global variable
$_FILES super global variable
$_ENV super global variable
$_COOKIE super global variable
$_SESSION super global variable
Ternary operator
Variable types
What is password encrypt and decrypt function
Difference between echo and print
How can destroy and unset the variable of a session
Function
isset() function
unset() function
empty() function
What are function for controlling script execution
exit() function
die() function
fun_num_args() function
ereg_replace() function
ereg_ireplace() function

Copyright ©2022 coderraj.com. All Rights Reserved.