You are here

public function ExporterTest::provideNonBinaryMultibyteStrings in Zircon Profile 8.0

Same name and namespace in other branches
  1. 8 vendor/sebastian/exporter/tests/ExporterTest.php \SebastianBergmann\Exporter\ExporterTest::provideNonBinaryMultibyteStrings()

File

vendor/sebastian/exporter/tests/ExporterTest.php, line 303

Class

ExporterTest
@covers SebastianBergmann\Exporter\Exporter

Namespace

SebastianBergmann\Exporter

Code

public function provideNonBinaryMultibyteStrings() {
  return array(
    array(
      implode('', array_map('chr', range(0x9, 0xd))),
      5,
    ),
    array(
      implode('', array_map('chr', range(0x20, 0x7f))),
      96,
    ),
    array(
      implode('', array_map('chr', range(0x80, 0xff))),
      128,
    ),
  );
}