// Nothing to handle
return;
} // END - if
- die('characters[]='.strlen($characters));
+
+ // @TODO Handle characters
+ die(__FUNCTION__ . ':characters[]='.strlen($characters));
}
// Checks if given type is valid, makes all lower-case
$type = strtolower(trim($type));
// Is it found?
- return (in_array($type, array('string', 'array', 'bool', 'int')));
+ return (in_array($type, array('string', 'array', 'bool', 'int', 'callback')));
}
// Checks if given condition is valid