[ Index ] |
PHP Cross Reference of phpBB-3.3.14-deutsch |
[Summary view] [Print] [Text view]
1 <?php declare(strict_types=1); 2 3 /** 4 * @package s9e\RegexpBuilder 5 * @copyright Copyright (c) 2016-2022 The s9e authors 6 * @license http://www.opensource.org/licenses/mit-license.php The MIT License 7 */ 8 namespace s9e\RegexpBuilder\Input; 9 10 use function array_map, str_split; 11 12 class Bytes extends BaseImplementation 13 { 14 /** 15 * {@inheritdoc} 16 */ 17 public function split(string $string): array 18 { 19 if ($string === '') 20 { 21 return []; 22 } 23 24 return array_map('ord', str_split($string, 1)); 25 } 26 }
title
Description
Body
title
Description
Body
title
Description
Body
title
Body
Generated: Mon Nov 25 19:05:08 2024 | Cross-referenced by PHPXref 0.7.1 |