php-src/Zend/zend_constants.stub.php
Máté Kocsis 2cb4d00693
Improve detection of predefined constants
In order to include constants documented at https://www.php.net/manual/en/reserved.constants.php, as well as constants which share the same varlistentry (just like what
https://www.php.net/manual/en/class.datetimeinterface.php#datetimeinterface.constants.atom does). In the same time, special constants like
true, false, null are excluded, since the manual uses their entity (&true;, &false, &null;, respectively), and gen_stub.php couldn't detect
them.
2023-09-07 10:00:55 +02:00

139 lines
1.8 KiB
PHP

<?php
/** @generate-class-entries */
/**
* @var int
* @cvalue E_ERROR
*/
const E_ERROR = UNKNOWN;
/**
* @var int
* @cvalue E_WARNING
*/
const E_WARNING = UNKNOWN;
/**
* @var int
* @cvalue E_PARSE
*/
const E_PARSE = UNKNOWN;
/**
* @var int
* @cvalue E_NOTICE
*/
const E_NOTICE = UNKNOWN;
/**
* @var int
* @cvalue E_CORE_ERROR
*/
const E_CORE_ERROR = UNKNOWN;
/**
* @var int
* @cvalue E_CORE_WARNING
*/
const E_CORE_WARNING = UNKNOWN;
/**
* @var int
* @cvalue E_COMPILE_ERROR
*/
const E_COMPILE_ERROR = UNKNOWN;
/**
* @var int
* @cvalue E_COMPILE_WARNING
*/
const E_COMPILE_WARNING = UNKNOWN;
/**
* @var int
* @cvalue E_USER_ERROR
*/
const E_USER_ERROR = UNKNOWN;
/**
* @var int
* @cvalue E_USER_WARNING
*/
const E_USER_WARNING = UNKNOWN;
/**
* @var int
* @cvalue E_USER_NOTICE
*/
const E_USER_NOTICE = UNKNOWN;
/**
* @var int
* @cvalue E_STRICT
*/
const E_STRICT = UNKNOWN;
/**
* @var int
* @cvalue E_RECOVERABLE_ERROR
*/
const E_RECOVERABLE_ERROR = UNKNOWN;
/**
* @var int
* @cvalue E_DEPRECATED
*/
const E_DEPRECATED = UNKNOWN;
/**
* @var int
* @cvalue E_USER_DEPRECATED
*/
const E_USER_DEPRECATED = UNKNOWN;
/**
* @var int
* @cvalue E_ALL
*/
const E_ALL = UNKNOWN;
/**
* @var int
* @cvalue DEBUG_BACKTRACE_PROVIDE_OBJECT
*/
const DEBUG_BACKTRACE_PROVIDE_OBJECT = UNKNOWN;
/**
* @var int
* @cvalue DEBUG_BACKTRACE_IGNORE_ARGS
*/
const DEBUG_BACKTRACE_IGNORE_ARGS = UNKNOWN;
/**
* @var bool
* @cvalue ZTS_V
*/
const ZEND_THREAD_SAFE = UNKNOWN;
/**
* @var bool
* @cvalue ZEND_DEBUG
*/
const ZEND_DEBUG_BUILD = UNKNOWN;
/* Special constants true/false/null. */
/**
* @var bool
* @undocumentable
*/
const TRUE = true;
/**
* @var bool
* @undocumentable
*/
const FALSE = false;
/**
* @var null
* @undocumentable
*/
const NULL = null;