Mecha CMS

Helper functions.

n

String normalization.

2.0.0

n(string $x = null, string $t = '    ');

This function does the following tasks:

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