These constants are not case insensitive, get rid of the third argument

This commit is contained in:
wxxiong6 2019-04-03 09:22:36 +08:00 committed by GitHub
parent b2ff134d9c
commit bdf4783394
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 15 additions and 15 deletions

View File

@ -6,24 +6,24 @@
* and will only be available when the extension has either been compiled into PHP or dynamically loaded at runtime.
* @link https://secure.php.net/manual/en/yar.constants.php
*/
define('YAR_VERSION', ' 2.0.5', true);
define('YAR_CLIENT_PROTOCOL_HTTP', 1, true);
define('YAR_OPT_PACKAGER', 1, true);
define('YAR_OPT_TIMEOUT', 4, true);
define('YAR_OPT_CONNECT_TIMEOUT', 8, true);
define('YAR_VERSION', '2.0.5');
define('YAR_CLIENT_PROTOCOL_HTTP', 1);
define('YAR_OPT_PACKAGER', 1);
define('YAR_OPT_TIMEOUT', 4);
define('YAR_OPT_CONNECT_TIMEOUT', 8);
/**
* @since 2.0.4
*/
define('YAR_OPT_HEADER', 16, true);
define('YAR_PACKAGER_PHP', 'PHP', true);
define('YAR_PACKAGER_JSON', 'JSON', true);
define('YAR_ERR_OUTPUT', 8, true);
define('YAR_ERR_OKEY', 0, true);
define('YAR_ERR_TRANSPORT', 16, true);
define('YAR_ERR_REQUEST', 4, true);
define('YAR_ERR_PROTOCOL', 2, true);
define('YAR_ERR_PACKAGER', 1, true);
define('YAR_ERR_EXCEPTION', 64, true);
define('YAR_OPT_HEADER', 16);
define('YAR_PACKAGER_PHP', 'PHP');
define('YAR_PACKAGER_JSON', 'JSON');
define('YAR_ERR_OUTPUT', 8);
define('YAR_ERR_OKEY', 0);
define('YAR_ERR_TRANSPORT', 16);
define('YAR_ERR_REQUEST', 4);
define('YAR_ERR_PROTOCOL', 2);
define('YAR_ERR_PACKAGER', 1);
define('YAR_ERR_EXCEPTION', 64);
/**
* Class Yar_Server