These constants are not case insensitive, get rid of the third argument
This commit is contained in:
parent
b2ff134d9c
commit
bdf4783394
30
yar/yar.php
30
yar/yar.php
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue