[TYPO3-core] Double backslash for namespace

Bernhard Kraft kraftb at think-open.at
Tue Jun 17 11:17:18 CEST 2014


On 06/17/2014 11:07 AM, Bernhard Kraft wrote:

> So if we stick to single-quoted strings as usual in TYPO3 world it would
> be ok to have only one backslash.

Some examples:
http://paste.ubuntu.com/7657458/
Note that only the last example would yield an error


According to this:
http://www.php.net/manual/de/language.types.string.php#language.types.string.syntax.single

The only reason for having a double backslash would be to

* have a literal backslash before a literal single qoute
* Have a backslash at the end of a string

None of those woule be required for namespacing.


greetings,
Bernhard


More information about the TYPO3-team-core mailing list