35 lines
1.1 KiB
PHP
35 lines
1.1 KiB
PHP
<?php
|
|
|
|
/**
|
|
* League.Csv (https://csv.thephpleague.com)
|
|
*
|
|
* (c) Ignace Nyamagana Butera <nyamsprod@gmail.com>
|
|
*
|
|
* For the full copyright and license information, please view the LICENSE
|
|
* file that was distributed with this source code.
|
|
*/
|
|
|
|
namespace League\Csv;
|
|
|
|
use Deprecated;
|
|
|
|
/**
|
|
* Defines constants for common BOM sequences.
|
|
*
|
|
* @deprecated since version 9.16.0
|
|
* @see Bom
|
|
*/
|
|
interface ByteSequence
|
|
{
|
|
#[Deprecated(message: 'use League\Csv\Bom:Utf8 instead', since: 'league/csv:9.16.0')]
|
|
public const BOM_UTF8 = "\xEF\xBB\xBF";
|
|
#[Deprecated(message: 'use League\Csv\Bom:Utf16be instead', since: 'league/csv:9.16.0')]
|
|
public const BOM_UTF16_BE = "\xFE\xFF";
|
|
#[Deprecated(message: 'use League\Csv\Bom:Utf16Le instead', since: 'league/csv:9.16.0')]
|
|
public const BOM_UTF16_LE = "\xFF\xFE";
|
|
#[Deprecated(message: 'use League\Csv\Bom:Utf32Be instead', since: 'league/csv:9.16.0')]
|
|
public const BOM_UTF32_BE = "\x00\x00\xFE\xFF";
|
|
#[Deprecated(message: 'use League\Csv\Bom:Utf32Le instead', since: 'league/csv:9.16.0')]
|
|
public const BOM_UTF32_LE = "\xFF\xFE\x00\x00";
|
|
}
|