Course Content

  • learnvern
  • products master

Course Content


The type of data that a variable can store is defined by its data types. PHP supports eight different data types.

In PHP, void is not a data type.

A PHP variable's values can be of several data kinds, ranging from simple string and numeric types to more complicated data types like arrays and objects. Integer, Floating point number or Float, String, Booleans, Array, Object, resource, and NULL are the eight primitive data types supported by PHP.

A data type is a categorization in programming that determines the type of value a variable possesses and the types of mathematical, relational, and logical operations that can be performed on it without creating an error.

A data type is a property that instructs a computer system how to interpret the value of a piece of data. Understanding data types ensures that data is collected in the desired format and that each property's value is as expected.

Recommended Courses

Share With Friend

Have a friend to whom you would want to share this course?

Download LearnVern App

App Preview Image
App QR Code Image
Code Scan or Download the app
Google Play Store
Apple App Store
598K+ Downloads
App Download Section Circle 1
4.57 Avg. Ratings
App Download Section Circle 2
15K+ Reviews
App Download Section Circle 3
  • Learn anywhere on the go
  • Get regular updates about your enrolled or new courses
  • Share content with your friends
  • Evaluate your progress through practice tests
  • No internet connection needed
  • Enroll for the webinar and join at the time of the webinar from anywhere