iFixit/php-src — pull request #6 by danielbeardsley (2014-04-07 19:59:33+00:00)
Title: Auto-escape: no escaping if passed a certain class

If an object that is an instance of a class with a name matching the
ini setting (__auto_escape_exempt_class) is passed through short-tags it
*won't* be escaped.

This effectively allows strings to be *tagged* (wrapped in a class) as
containing HTML and still used as normal without having to use ");
}

function user_name() {
return $user->name;
}

// ========= Template
// Wrapped in HtmlString == not escaped
// Regular string == escaped
```