package php;

/**
	This class contains externs for native PHP constants defined in global namespace.
	For native PHP functions in global namespace see `php.Global`.
**/
@:phpGlobal
extern class Const {
	/**
		If this constant is defined and equals `true` then Haxe will not set error handler automatically.
	**/
	static final HAXE_CUSTOM_ERROR_HANDLER : Bool;
	/**
		@see http://php.net/manual/en/reserved.constants.php
	**/
	static final PHP_VERSION_ID : Int;
	static final PHP_OS : String;
	static final PHP_SAPI : String;
	static final PHP_BINARY : String;
	static final PHP_EOL : String;
	static final PHP_INT_MAX : Int;
	static final PHP_INT_MIN : Int;
	static final PHP_INT_SIZE : Int;
	/**
		@see http://php.net/manual/en/language.constants.predefined.php
	**/
	static final __LINE__ : Int;
	static final __FILE__ : String;
	static final __DIR__ : String;
	static final __FUNCTION__ : String;
	static final __CLASS__ : String;
	static final __TRAIT__ : String;
	static final __METHOD__ : String;
	static final __NAMESPACE__ : String;
	/**
		@see https://php.net/manual/en/dir.constants.php
	**/
	static final DIRECTORY_SEPARATOR : String;
	static final PATH_SEPARATOR : String;
	static final SCANDIR_SORT_ASCENDING : Int;
	static final SCANDIR_SORT_DESCENDING : Int;
	static final SCANDIR_SORT_NONE : Int;
	/**
		@see http://php.net/manual/en/errorfunc.constants.php
	**/
	static final E_ERROR : Int;
	static final E_WARNING : Int;
	static final E_PARSE : Int;
	static final E_NOTICE : Int;
	static final E_CORE_ERROR : Int;
	static final E_CORE_WARNING : Int;
	static final E_COMPILE_ERROR : Int;
	static final E_COMPILE_WARNING : Int;
	static final E_USER_ERROR : Int;
	static final E_USER_WARNING : Int;
	static final E_USER_NOTICE : Int;
	static final E_STRICT : Int;
	static final E_RECOVERABLE_ERROR : Int;
	static final E_DEPRECATED : Int;
	static final E_USER_DEPRECATED : Int;
	static final E_ALL : Int;
	/**
		@see http://php.net/manual/en/function.count.php
	**/
	static final COUNT_NORMAL : Int;
	static final COUNT_RECURSIVE : Int;
	/**
		@see http://php.net/manual/en/function.array-filter.php
	**/
	static final ARRAY_FILTER_USE_KEY : Int;
	static final ARRAY_FILTER_USE_BOTH : Int;
	/**
		@see http://php.net/manual/en/function.debug-backtrace.php
	**/
	static final DEBUG_BACKTRACE_PROVIDE_OBJECT : Int;
	static final DEBUG_BACKTRACE_IGNORE_ARGS : Int;
	/**
		@see http://php.net/manual/en/math.constants.php
	**/
	static final M_PI : Float;
	static final M_E : Float;
	static final M_LOG2E : Float;
	static final M_LOG10E : Float;
	static final M_LN2 : Float;
	static final M_LN10 : Float;
	static final M_PI_2 : Float;
	static final M_PI_4 : Float;
	static final M_1_PI : Float;
	static final M_2_PI : Float;
	static final M_SQRTPI : Float;
	static final M_2_SQRTPI : Float;
	static final M_SQRT2 : Float;
	static final M_SQRT3 : Float;
	static final M_SQRT1_2 : Float;
	static final M_LNPI : Float;
	static final M_EULER : Float;
	static final PHP_ROUND_HALF_UP : Int;
	static final PHP_ROUND_HALF_DOWN : Int;
	static final PHP_ROUND_HALF_EVEN : Int;
	static final PHP_ROUND_HALF_ODD : Int;
	static final NAN : Float;
	static final INF : Float;
	/**
		@see http://php.net/manual/en/function.setlocale.php
	**/
	static final LC_ALL : Int;
	static final LC_COLLATE : Int;
	static final LC_CTYPE : Int;
	static final LC_MONETARY : Int;
	static final LC_NUMERIC : Int;
	static final LC_TIME : Int;
	static final LC_MESSAGES : Int;
	/**
		@see http://php.net/manual/en/features.commandline.io-streams.php
	**/
	static final STDIN : Resource;
	static final STDOUT : Resource;
	static final STDERR : Resource;
	/**
		@see http://php.net/manual/en/function.preg-match-all.php
	**/
	static final PREG_PATTERN_ORDER : Int;
	static final PREG_SET_ORDER : Int;
	static final PREG_OFFSET_CAPTURE : Int;
	/**
		@see http://php.net/manual/en/function.preg-split.php
	**/
	static final PREG_SPLIT_NO_EMPTY : Int;
	static final PREG_SPLIT_DELIM_CAPTURE : Int;
	static final PREG_SPLIT_OFFSET_CAPTURE : Int;
	/**
		@see http://php.net/manual/en/function.preg-last-error.php
	**/
	static final PREG_NO_ERROR : Int;
	static final PREG_INTERNAL_ERROR : Int;
	static final PREG_BACKTRACK_LIMIT_ERROR : Int;
	static final PREG_RECURSION_LIMIT_ERROR : Int;
	static final PREG_BAD_UTF8_ERROR : Int;
	static final PREG_BAD_UTF8_OFFSET_ERROR : Int;
	static final PREG_JIT_STACKLIMIT_ERROR : Int;
	/**
		@see http://php.net/manual/en/function.htmlspecialchars.php
	**/
	static final ENT_COMPAT : Int;
	static final ENT_QUOTES : Int;
	static final ENT_NOQUOTES : Int;
	static final ENT_IGNORE : Int;
	static final ENT_SUBSTITUTE : Int;
	static final ENT_DISALLOWED : Int;
	static final ENT_HTML401 : Int;
	static final ENT_XML1 : Int;
	static final ENT_XHTML : Int;
	static final ENT_HTML5 : Int;
	/**
		@see http://php.net/manual/en/function.str-pad.php
	**/
	static final STR_PAD_RIGHT : Int;
	static final STR_PAD_LEFT : Int;
	static final STR_PAD_BOTH : Int;
	/**
		@see http://php.net/manual/en/function.feof.php
	**/
	static final SEEK_SET : Int;
	static final SEEK_CUR : Int;
	static final SEEK_END : Int;
	/**
		@see http://php.net/manual/en/function.stream-socket-server.php
	**/
	static final STREAM_SERVER_BIND : Int;
	static final STREAM_SERVER_LISTEN : Int;
	/**
		@see http://php.net/manual/en/function.stream-socket-client.php
	**/
	static final STREAM_CLIENT_CONNECT : Int;
	static final STREAM_CLIENT_ASYNC_CONNECT : Int;
	static final STREAM_CLIENT_PERSISTENT : Int;
	/**
		@see http://php.net/manual/en/sockets.constants.php
	**/
	static final SOCK_STREAM : Int;
	static final SOCK_DGRAM : Int;
	static final SOCK_SEQPACKET : Int;
	static final SOCK_RAW : Int;
	static final SOCK_RDM : Int;
	static final AF_INET : Int;
	static final AF_INET6 : Int;
	static final AF_UNIX : Int;
	static final SOL_TCP : Int;
	static final SOL_SOCKET : Int;
	static final SO_RCVTIMEO : Int;
	static final SO_SNDTIMEO : Int;
	static final TCP_NODELAY : Int;
	static final PHP_BINARY_READ : Int;
	/**
		@see http://php.net/manual/en/json.constants.php
	**/
	static final JSON_ERROR_NONE : Int;
	static final JSON_ERROR_DEPTH : Int;
	static final JSON_ERROR_STATE_MISMATCH : Int;
	static final JSON_ERROR_CTRL_CHAR : Int;
	static final JSON_ERROR_SYNTAX : Int;
	static final JSON_ERROR_UTF8 : Int;
	static final JSON_ERROR_RECURSION : Int;
	static final JSON_ERROR_INF_OR_NAN : Int;
	static final JSON_ERROR_UNSUPPORTED_TYPE : Int;
	static final JSON_HEX_TAG : Int;
	static final JSON_HEX_AMP : Int;
	static final JSON_HEX_APOS : Int;
	static final JSON_HEX_QUOT : Int;
	static final JSON_FORCE_OBJECT : Int;
	static final JSON_NUMERIC_CHECK : Int;
	static final JSON_BIGINT_AS_STRING : Int;
	static final JSON_PRETTY_PRINT : Int;
	static final JSON_UNESCAPED_SLASHES : Int;
	static final JSON_UNESCAPED_UNICODE : Int;
	static final JSON_PARTIAL_OUTPUT_ON_ERROR : Int;
	static final JSON_PRESERVE_ZERO_FRACTION : Int;
	/**
		@see http://php.net/manual/en/mysqli.constants.php
	**/
	static final MYSQLI_READ_DEFAULT_GROUP : Int;
	static final MYSQLI_READ_DEFAULT_FILE : Int;
	static final MYSQLI_OPT_CONNECT_TIMEOUT : Int;
	static final MYSQLI_OPT_LOCAL_INFILE : Int;
	static final MYSQLI_INIT_COMMAND : Int;
	static final MYSQLI_CLIENT_SSL : Int;
	static final MYSQLI_CLIENT_COMPRESS : Int;
	static final MYSQLI_CLIENT_INTERACTIVE : Int;
	static final MYSQLI_CLIENT_IGNORE_SPACE : Int;
	static final MYSQLI_CLIENT_NO_SCHEMA : Int;
	static final MYSQLI_CLIENT_MULTI_QUERIES : Int;
	static final MYSQLI_STORE_RESULT : Int;
	static final MYSQLI_USE_RESULT : Int;
	static final MYSQLI_ASSOC : Int;
	static final MYSQLI_NUM : Int;
	static final MYSQLI_BOTH : Int;
	static final MYSQLI_NOT_NULL_FLAG : Int;
	static final MYSQLI_PRI_KEY_FLAG : Int;
	static final MYSQLI_UNIQUE_KEY_FLAG : Int;
	static final MYSQLI_MULTIPLE_KEY_FLAG : Int;
	static final MYSQLI_BLOB_FLAG : Int;
	static final MYSQLI_UNSIGNED_FLAG : Int;
	static final MYSQLI_ZEROFILL_FLAG : Int;
	static final MYSQLI_AUTO_INCREMENT_FLAG : Int;
	static final MYSQLI_TIMESTAMP_FLAG : Int;
	static final MYSQLI_SET_FLAG : Int;
	static final MYSQLI_NUM_FLAG : Int;
	static final MYSQLI_PART_KEY_FLAG : Int;
	static final MYSQLI_GROUP_FLAG : Int;
	static final MYSQLI_TYPE_DECIMAL : Int;
	static final MYSQLI_TYPE_NEWDECIMAL : Int;
	static final MYSQLI_TYPE_BIT : Int;
	static final MYSQLI_TYPE_TINY : Int;
	static final MYSQLI_TYPE_SHORT : Int;
	static final MYSQLI_TYPE_LONG : Int;
	static final MYSQLI_TYPE_FLOAT : Int;
	static final MYSQLI_TYPE_DOUBLE : Int;
	static final MYSQLI_TYPE_NULL : Int;
	static final MYSQLI_TYPE_TIMESTAMP : Int;
	static final MYSQLI_TYPE_LONGLONG : Int;
	static final MYSQLI_TYPE_INT24 : Int;
	static final MYSQLI_TYPE_DATE : Int;
	static final MYSQLI_TYPE_TIME : Int;
	static final MYSQLI_TYPE_DATETIME : Int;
	static final MYSQLI_TYPE_YEAR : Int;
	static final MYSQLI_TYPE_NEWDATE : Int;
	static final MYSQLI_TYPE_INTERVAL : Int;
	static final MYSQLI_TYPE_ENUM : Int;
	static final MYSQLI_TYPE_SET : Int;
	static final MYSQLI_TYPE_TINY_BLOB : Int;
	static final MYSQLI_TYPE_MEDIUM_BLOB : Int;
	static final MYSQLI_TYPE_LONG_BLOB : Int;
	static final MYSQLI_TYPE_BLOB : Int;
	static final MYSQLI_TYPE_VAR_STRING : Int;
	static final MYSQLI_TYPE_STRING : Int;
	static final MYSQLI_TYPE_CHAR : Int;
	static final MYSQLI_TYPE_GEOMETRY : Int;
	static final MYSQLI_NEED_DATA : Int;
	static final MYSQLI_NO_DATA : Int;
	static final MYSQLI_DATA_TRUNCATED : Int;
	static final MYSQLI_ENUM_FLAG : Int;
	static final MYSQLI_BINARY_FLAG : Int;
	static final MYSQLI_CURSOR_TYPE_FOR_UPDATE : Int;
	static final MYSQLI_CURSOR_TYPE_NO_CURSOR : Int;
	static final MYSQLI_CURSOR_TYPE_READ_ONLY : Int;
	static final MYSQLI_CURSOR_TYPE_SCROLLABLE : Int;
	static final MYSQLI_STMT_ATTR_CURSOR_TYPE : Int;
	static final MYSQLI_STMT_ATTR_PREFETCH_ROWS : Int;
	static final MYSQLI_STMT_ATTR_UPDATE_MAX_LENGTH : Int;
	static final MYSQLI_SET_CHARSET_NAME : Int;
	static final MYSQLI_REPORT_INDEX : Int;
	static final MYSQLI_REPORT_ERROR : Int;
	static final MYSQLI_REPORT_STRICT : Int;
	static final MYSQLI_REPORT_ALL : Int;
	static final MYSQLI_REPORT_OFF : Int;
	static final MYSQLI_DEBUG_TRACE_ENABLED : Int;
	static final MYSQLI_SERVER_QUERY_NO_GOOD_INDEX_USED : Int;
	static final MYSQLI_SERVER_QUERY_NO_INDEX_USED : Int;
	static final MYSQLI_REFRESH_GRANT : Int;
	static final MYSQLI_REFRESH_LOG : Int;
	static final MYSQLI_REFRESH_TABLES : Int;
	static final MYSQLI_REFRESH_HOSTS : Int;
	static final MYSQLI_REFRESH_STATUS : Int;
	static final MYSQLI_REFRESH_THREADS : Int;
	static final MYSQLI_REFRESH_SLAVE : Int;
	static final MYSQLI_REFRESH_MASTER : Int;
	static final MYSQLI_TRANS_COR_AND_CHAIN : Int;
	static final MYSQLI_TRANS_COR_AND_NO_CHAIN : Int;
	static final MYSQLI_TRANS_COR_RELEASE : Int;
	static final MYSQLI_TRANS_COR_NO_RELEASE : Int;
	static final MYSQLI_TRANS_START_READ_ONLY : Int;
	static final MYSQLI_TRANS_START_READ_WRITE : Int;
	static final MYSQLI_TRANS_START_CONSISTENT_SNAPSHOT : Int;
	/**
		@see http://php.net/manual/en/sqlite3.constants.php
	**/
	static final SQLITE3_ASSOC : Int;
	static final SQLITE3_NUM : Int;
	static final SQLITE3_BOTH : Int;
	static final SQLITE3_INTEGER : Int;
	static final SQLITE3_FLOAT : Int;
	static final SQLITE3_TEXT : Int;
	static final SQLITE3_BLOB : Int;
	static final SQLITE3_NULL : Int;
	static final SQLITE3_OPEN_READONLY : Int;
	static final SQLITE3_OPEN_READWRITE : Int;
	static final SQLITE3_OPEN_CREATE : Int;
	/**
		@see http://php.net/manual/en/function.glob.php
	**/
	static final GLOB_MARK : Int;
	static final GLOB_NOSORT : Int;
	static final GLOB_NOCHECK : Int;
	static final GLOB_NOESCAPE : Int;
	static final GLOB_BRACE : Int;
	static final GLOB_ONLYDIR : Int;
	static final GLOB_ERR : Int;
	/**
		@see http://php.net/manual/en/zlib.constants.php
	**/
	static final FORCE_GZIP : Int;
	static final FORCE_DEFLATE : Int;
	static final ZLIB_ENCODING_RAW : Int;
	static final ZLIB_ENCODING_DEFLATE : Int;
	static final ZLIB_ENCODING_GZIP : Int;
	static final ZLIB_FILTERED : Int;
	static final ZLIB_HUFFMAN_ONLY : Int;
	static final ZLIB_FIXED : Int;
	static final ZLIB_RLE : Int;
	static final ZLIB_DEFAULT_STRATEGY : Int;
	static final ZLIB_BLOCK : Int;
	static final ZLIB_NO_FLUSH : Int;
	static final ZLIB_PARTIAL_FLUSH : Int;
	static final ZLIB_SYNC_FLUSH : Int;
	static final ZLIB_FULL_FLUSH : Int;
	static final ZLIB_FINISH : Int;
}
