Escapes an identifier value without adding the surrounding quotes.
Description
- Permitted characters in quoted identifiers include the full Unicode Basic Multilingual Plane (BMP), except U+0000.
- To quote the identifier itself, you need to double the character, e.g.
a``b
.
Parameters
$identifier
stringrequired- Identifier to escape.
Source
private function _escape_identifier_value( $identifier ) {
return str_replace( '`', '``', $identifier );
}
Changelog
Version | Description |
---|---|
6.2.0 | Introduced. |
User Contributed Notes
You must log in before being able to contribute a note or feedback.