Function __global->has_smart_quotes
Definitions
sources/commandr.php
- Find whether some text is using Unicode smart quotes.
- Visibility: public
- Is abstract?: No
- Is static?: No
- Is final?: No
- Returns: bool
Parameters
| Name | Type | Passed by reference? | Variadic? | Default | Set | Range | Description |
|---|---|---|---|---|---|---|---|
| $str | string | No | No | required parameter | N/A | N/A | Text |
Returns
- Whether it has Unicode smart quotes
- Type: boolean
- Set: N/A
- Range: N/A
Preview
Code (PHP)
/**
* Find whether some text is using Unicode smart quotes.
*
* @param string $str Text
* @return boolean Whether it has Unicode smart quotes
*/
function has_smart_quotes(string $str) : bool
* Find whether some text is using Unicode smart quotes.
*
* @param string $str Text
* @return boolean Whether it has Unicode smart quotes
*/
function has_smart_quotes(string $str) : bool

