public static function writeDefinitions($fp, $Definitions)
{
// Write the definitions.
uksort($Definitions, 'strcasecmp');
$LastC = '';
foreach ($Definitions as $Key => $Value) {
// Add a blank line between letters of the alphabet.
if (isset($Key[0]) && strcasecmp($LastC, $Key[0]) != 0) {
fwrite($fp, "\n");
$LastC = $Key[0];
}
$Str = '$Definition[' . var_export($Key, true) . '] = ' . var_export($Value, true) . ";\n";
fwrite($fp, $Str);
}
}