Archive for the 'DATA TYPE' Category

Wanted

Friday, August 29th, 2008

By James Berardinelli

Wanted provides the jolt of adrenaline one expects from solid summer entertainment. It exists solely to keep the heart pounding as it shifts from one gear to the next, decelerating only when exposition demands a reduction in pace. The movie marries the superhero origin film with the revenge thriller, blending them with hints of [...]

Booleans (Data Type)

Saturday, May 3rd, 2008

A Boolean value represents a “truth value” it says whether something is true or not. Like most programming languages, PHP defines some values as true and others as false. Truth and falseness determine the outcome of conditional code such as:
  if ($alive) { … } 

Strings (Data Type)

Saturday, May 3rd, 2008

Strings are common in web applications, PHP includes core-level support for creating and manipulating strings. A string is a sequence of characters of arbitrary length. String literals are delimited by either single or double quotes:
   ‘big dog’
  “fat hog”