[ Index ]

PHP Cross Reference of phpBB-3.3.11-deutsch

title

Body

[close]

/vendor/s9e/regexp-builder/src/Output/ -> Bytes.php (source)

   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\Output;
   9  
  10  use function chr;
  11  
  12  class Bytes extends BaseImplementation
  13  {
  14      /** {@inheritdoc} */
  15      protected $maxValue = 255;
  16  
  17      /**
  18      * {@inheritdoc}
  19      */
  20  	protected function outputValidValue(int $value): string
  21      {
  22          return chr($value);
  23      }
  24  }


Generated: Sat Nov 4 14:26:03 2023 Cross-referenced by PHPXref 0.7.1