Skip to content

Instantly share code, notes, and snippets.

@technosmarter
Last active March 15, 2019 17:03
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save technosmarter/46a3d7d28e0a869df8dbfab8940c199a to your computer and use it in GitHub Desktop.
Save technosmarter/46a3d7d28e0a869df8dbfab8940c199a to your computer and use it in GitHub Desktop.
PHP data types
Variables are store the different type of data that is known as data type Various data type has performed a different task. PHP supports many data types written below.
• String
"Hello"
• Integer
int 20;
• Float (Floating point numbers )
float 34.5;
• Boolean (yes or no )
True or false
• Array
x=array();
• Object
• NULL
• Resource
PHP data types . Comment for reference with examples .
@technosmarter
Copy link
Author

technosmarter commented Mar 15, 2019

PHP data types are most useful.PHP Tutorials included various data types in PHP.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment