xref: /PHP-8.4/ext/pdo_mysql/pdo_mysql.stub.php (revision acd6ac33)
1<?php
2
3/** @generate-class-entries */
4
5namespace Pdo;
6
7/**
8 * @strict-properties
9 * @not-serializable
10 */
11class Mysql extends \PDO
12{
13    /** @cvalue PDO_MYSQL_ATTR_USE_BUFFERED_QUERY */
14    public const int ATTR_USE_BUFFERED_QUERY = UNKNOWN;
15
16    /** @cvalue PDO_MYSQL_ATTR_LOCAL_INFILE */
17    public const int ATTR_LOCAL_INFILE = UNKNOWN;
18
19    /** @cvalue PDO_MYSQL_ATTR_INIT_COMMAND */
20    public const int ATTR_INIT_COMMAND = UNKNOWN;
21
22#ifndef PDO_USE_MYSQLND
23    /** @cvalue PDO_MYSQL_ATTR_MAX_BUFFER_SIZE */
24    public const int ATTR_MAX_BUFFER_SIZE = UNKNOWN;
25
26    /** @cvalue PDO_MYSQL_ATTR_READ_DEFAULT_FILE */
27    public const int ATTR_READ_DEFAULT_FILE = UNKNOWN;
28
29    /** @cvalue PDO_MYSQL_ATTR_READ_DEFAULT_GROUP */
30    public const int ATTR_READ_DEFAULT_GROUP = UNKNOWN;
31#endif
32
33    /** @cvalue PDO_MYSQL_ATTR_COMPRESS */
34    public const int ATTR_COMPRESS = UNKNOWN;
35
36    /** @cvalue PDO_MYSQL_ATTR_DIRECT_QUERY */
37    public const int ATTR_DIRECT_QUERY = UNKNOWN;
38
39    /** @cvalue PDO_MYSQL_ATTR_FOUND_ROWS */
40    public const int ATTR_FOUND_ROWS = UNKNOWN;
41
42    /** @cvalue PDO_MYSQL_ATTR_IGNORE_SPACE */
43    public const int ATTR_IGNORE_SPACE = UNKNOWN;
44
45    /** @cvalue PDO_MYSQL_ATTR_SSL_KEY */
46    public const int ATTR_SSL_KEY = UNKNOWN;
47
48    /** @cvalue PDO_MYSQL_ATTR_SSL_CERT */
49    public const int ATTR_SSL_CERT = UNKNOWN;
50
51    /** @cvalue PDO_MYSQL_ATTR_SSL_CA */
52    public const int ATTR_SSL_CA = UNKNOWN;
53
54    /** @cvalue PDO_MYSQL_ATTR_SSL_CAPATH */
55    public const int ATTR_SSL_CAPATH = UNKNOWN;
56
57    /** @cvalue PDO_MYSQL_ATTR_SSL_CIPHER */
58    public const int ATTR_SSL_CIPHER = UNKNOWN;
59
60#if MYSQL_VERSION_ID > 50605 || defined(PDO_USE_MYSQLND)
61    /** @cvalue PDO_MYSQL_ATTR_SERVER_PUBLIC_KEY */
62    public const int ATTR_SERVER_PUBLIC_KEY = UNKNOWN;
63#endif
64
65    /** @cvalue PDO_MYSQL_ATTR_MULTI_STATEMENTS */
66    public const int ATTR_MULTI_STATEMENTS = UNKNOWN;
67#ifdef PDO_USE_MYSQLND
68    /** @cvalue PDO_MYSQL_ATTR_SSL_VERIFY_SERVER_CERT */
69    public const int ATTR_SSL_VERIFY_SERVER_CERT = UNKNOWN;
70#endif
71#if MYSQL_VERSION_ID >= 80021 || defined(PDO_USE_MYSQLND)
72    /** @cvalue PDO_MYSQL_ATTR_LOCAL_INFILE_DIRECTORY */
73    public const int ATTR_LOCAL_INFILE_DIRECTORY = UNKNOWN;
74#endif
75
76    public function getWarningCount(): int {}
77}
78