ok
Direktori : /home2/selectio/public_html/fms-worksuite/vendor/amphp/serialization/src/ |
Current File : /home2/selectio/public_html/fms-worksuite/vendor/amphp/serialization/src/functions.php |
<?php namespace Amp\Serialization; /** * @param string $data Binary data. * * @return string Unprintable characters encoded as \x##. */ function encodeUnprintableChars(string $data): string { return \preg_replace_callback("/[^\x20-\x7e]/", function (array $matches): string { return "\\x" . \dechex(\ord($matches[0])); }, $data); }