Mecha CMS

Helper functions.

n

String normalization.

2.0.0

n(string $value = null, string $tab = '    ');

This function does the following tasks:

  • Removes multiple UTF-8 BOM sequences.
  • Replaces \t characters to $t.
  • Normalizes line-break characters to \n character.