1
0
mirror of https://github.com/php/php-src.git synced 2026-03-24 00:02:20 +01:00
Files
archived-php-src/Zend/zend_constants.stub.php
Daniel Scherzer 3f3a266a2b gen_stub: Infer constants' types from values (#19568)
Don't require `@var` with a type when the type can be inferred from a literal
value in the stub file.
2025-09-03 18:26:43 -07:00

144 lines
1.9 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
* @todo Remove in PHP 9.0
*/
#[\Deprecated(since: '8.4', message: 'the error level was removed')]
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;
/**
* @var string
* @cvalue zend_vm_kind_name[ZEND_VM_KIND]
*/
const ZEND_VM_KIND = UNKNOWN;
/* Special constants true/false/null. */
/**
* @undocumentable
*/
const TRUE = true;
/**
* @undocumentable
*/
const FALSE = false;
/**
* @undocumentable
*/
const NULL = null;