private static function Inline::isBinaryString in Lockr 7.3
1 call to Inline::isBinaryString()
- Inline::dump in vendor/
symfony/ yaml/ Inline.php - Dumps a given PHP variable to a YAML string.
File
- vendor/
symfony/ yaml/ Inline.php, line 849
Class
- Inline
- Inline implements a YAML parser/dumper for the YAML inline syntax.
Namespace
Symfony\Component\YamlCode
private static function isBinaryString($value) {
return !preg_match('//u', $value) || preg_match('/[^\\x00\\x07-\\x0d\\x1B\\x20-\\xff]/', $value);
}