$characters = trim($characters);
// Are there some to handle?
- if (strlen($characters) == 0) {
+ if (empty($characters)) {
// Nothing to handle
return;
} // END - if
// @TODO Handle characters
- die(__FUNCTION__ . ':characters[]='.strlen($characters));
+ die(__FUNCTION__ . ':characters[' . gettype($characters) . ']=' . strlen($characters));
}
// Checks if given type is valid, makes all lower-case
assert(isset($columnArray[$childKey]));
// Now is it what we are looking for?
+ //* DEBUG: */ logDebugMessage(__FUNCTION__, __LINE__, 'value=' . $value . ',key=' . $key . ',childKey=' . $childKey . ',columnArray=' . $columnArray[$childKey]);
if ($columnArray[$childKey] === $value) {
// Remember this match
$return = $key;