Posts Learn Components Snippets Categories Tags Tools About

PHP Data Types

There are many different data types in PHP and they are String, Integer, Float, Boolean, Array, Object and NULL and Resources

Created on Jun 15, 2021


There are many data types in PHP and below are some of the most commonly used data types.
  • String
  • Integer
  • Float
  • Boolean
  • Array
  • Object
  • NULL
  • Resources

Code Example

Created by

PostSrc poster


Full stack developer mainly focusing on the front end side of the web. The main author of PostSrc and loves writing tutorial and guides online.

Load comments for PHP Data Types

PHP Basics cover

PHP Basics

Learn the basics of PHP language and get a firm foundation of the features and functionalities