PHP supports wide range of Data Types. It supports eight different primitive data types: four scalar types (boolean, integer, float, string), two command types: (array and object) and finally two special types (resource, NULL). All these data types are discussed below:
Boolean:
Boolean is data type whose value is either true or false. True and false in PHP are case insensitive. To specify a boolean literal, use the keywords TRUE or FALSE. For example:
تعليقات: 0
إرسال تعليق