Function __global->hex2bin
Definitions
sources_custom/phpstub.php
- Convert a hexadecimal representation of data (in string form) into binary data (in string form).
- Visibility: public
- Is abstract?: No
- Is static?: No
- Is final?: No
- Returns: string
Parameters
| Name | Type | Passed by reference? | Variadic? | Default | Set | Range | Description |
|---|---|---|---|---|---|---|---|
| $str | string | No | No | required parameter | N/A | N/A | Hex string |
Returns
- Binary string
- Type: string
- Set: N/A
- Range: N/A
Preview
Code (PHP)
/**
* Convert a hexadecimal representation of data (in string form) into binary data (in string form).
*
* @param string $str Hex string
* @return string Binary string
*/
function hex2bin(string $str) : string
* Convert a hexadecimal representation of data (in string form) into binary data (in string form).
*
* @param string $str Hex string
* @return string Binary string
*/
function hex2bin(string $str) : string

