P

Returns a placeholder character.

This constant returns a standard substitute character. You can use this character to mark parts of the text that you don’t want to replace. After the replacement process is done, you can then delete the placeholder character from the text.

$content = strtr($content, ['http://' => 'http:' . P . '//']);
$content = strtr($content, [':/' => '<i class="icon icon-confused"></i>']);
$content = strtr($content, [P => ""]); // Remove placeholder(s)!

D

Returns the directory separator.

ENGINE

Returns the engine folder path.

LOT

Returns the lot folder path.

N

Returns the line ending character of current operating system.

P

Returns a placeholder character.

PATH

Returns the application root path without the trailing directory separator.

S

Returns an empty space character.

TEST

Disables or enables test mode.

VERSION

Returns the current application version.