PHP is allowing to write Boolean data type with uppercase or lowercase. But, writing with lowercase is more faster than uppercase. When found a constant, PHP do lookup hash constant name.
if ($var = TRUE) {
...
}
//this is more faster
if ($var = true) {
...
}
When using a Boolean value, 1 and 0 are more faster than true and false.
Blogger templates
Blogger news
Blogroll
Archives
-
▼
2011
(212)
-
▼
February
(21)
- Datos Enteros en Php
- Resize images on the fly in PHP
- Variables in PHP
- Create Sidebar using PHP and Dreamweaver
- PHP Code :- How to avoid Word breaking while we ar...
- Store and saving binary data (images, coding, etc....
- Boolean data type
- For creating zip file in php for the contents in a...
- Finding root parent of a child category in php
- array() in php
- getcwd() and chdir() in php
- Best & Popular PHP Frameworks
- ListFind / ListFindNoCase
- instant5dollars
- MYSQL String functions makes life easier
- acessing xml in php sent by other script
- Mengambil Pola Teks
- No title
- compound data types in php
- open files in a directory with dir() in php
- Php ini settings for large file uploads.
-
▼
February
(21)