PHP stores whole numbers in a platform-dependent range. This range is typically that of 32-bit signed integers. Unsigned integers are converted to signed values in certain situations; this behavior is different from other programming languages. Integer variables can be assigned using decimal (positive and negative), octal, and hexadecimal notations. Real numbers are also stored in a platform-specific range. They can be specified using floating point notation, or two forms of scientific notation. PHP has a native Boolean type that is similar to the native Boolean types in Java and C++. Using the Boolean type conversion rules, non-zero values are interpreted as true and zero as false, as in Perl and C++. The null data type represents a variable that has no value. The only value in the null data type is NULL. Variables of the "resource" type represent references to resources from external sources. These are typically created by functions from a particular extension, and can only be processed by functions from the same extension; examples include file, image, and database resources. Arrays can contain elements of any type that PHP can handle, including resources, objects, and even other arrays. Order is preserved in lists of values and in hashes with both keys and values, and the two can be intermingled. PHP also supports strings, which can be used with single quotes, double quotes, or heredoc syntax.
The Standard PHP Library (SPL) attempts to solve standard problems and implements efficient data access interfaces and classes.
Blogger templates
Blogger news
Blogroll
Archives
-
▼
2013
(219)
-
▼
October
(23)
- How to hack Facebook account
- SEO Friendly PHP content management system
- No title
- What is PHP and MySQL
- Remote GUI Activation in Ubuntoo
- Start your script with AJAX
- 隞�憭拙末���敹���� ��萄�萄��
- Mountain Hiking With Your Dog
- Avoid space in your code
- Tipos de datos en Php
- Como manejar archivos con Php
- imagecreate() or image create in php
- check array index or key with user inputs in php
- Speed optimization
- JavaScript replace() Method
- arrays display in php
- Capítulo 19: Funciones adicionales de PHP
- Fatal error: Call to undefined function mysql_conn...
- Difference between single quotes and double quotes...
- Load balancing using Mod_Rewrite and perl
- Data types
- Subhajit Das | PHP Developer Kolkata: Subhajit Das...
- PHP include_once statement
-
▼
October
(23)