Function __global->_unichrm_hex
Definitions
sources/character_sets.php
- Convert a unicode character hex-number to a utf-8 HTML-entity enabled string. Callback for preg_replace.
- Visibility: public
- Is abstract?: No
- Is static?: No
- Is final?: No
Parameters
| Name | Type | Passed by reference? | Variadic? | Default | Set | Range | Description |
|---|---|---|---|---|---|---|---|
| $matches | array | No | No | required parameter | N/A | N/A | Regular expression match array |
Returns
- Converted data (false: could not convert)
- Type: ~string
- Set: N/A
- Range: N/A
Preview
Code (PHP)
/**
* Convert a unicode character hex-number to a utf-8 HTML-entity enabled string. Callback for preg_replace.
*
* @param array $matches Regular expression match array
* @return ~string Converted data (false: could not convert)
*/
function _unichrm_hex(array $matches)
* Convert a unicode character hex-number to a utf-8 HTML-entity enabled string. Callback for preg_replace.
*
* @param array $matches Regular expression match array
* @return ~string Converted data (false: could not convert)
*/
function _unichrm_hex(array $matches)

