हिंदी

List the supported data types in PHP. - Information Technology

Advertisements
Advertisements

प्रश्न

List the supported data types in PHP.

संक्षेप में उत्तर

उत्तर

  1. String: A string is a sequence of characters. A string can be any text inside quotes. You can use single or double-quotes.
  2. Integer: An integer data type is a non-decimal number between -2,147,483,648 and 2,147,483,647.
  3. Float (floating point numbers): A float (floating-point number) is a number with a decimal point or a number in exponential form.
  4. Boolean: A Boolean represents two possible states. TRUE or FALSE.
  5. Array: An array stores multiple values in one single variable.
  6. NULL: Null is a special data type which can have only one value NULL. A variable of data type NULL is a variable that has no value assigned to it.
shaalaa.com
PHP Data Types
  क्या इस प्रश्न या उत्तर में कोई त्रुटि है?
अध्याय 5: Server-Side Scripting (PHP) - Exercises [पृष्ठ ७८]

APPEARS IN

बालभारती Information Technology (IT) (Science) [English] 12 Standard HSC Maharashtra State Board
अध्याय 5 Server-Side Scripting (PHP)
Exercises | Q 6.4 | पृष्ठ ७८
Share
Notifications

Englishहिंदीमराठी


      Forgot password?
Use app×