Skip to content

Commit

Permalink
Added constant "\PDO::MYSQL_ATTR_SSL_VERIFY_SERVER_CERT"
Browse files Browse the repository at this point in the history
  • Loading branch information
Geolim4 committed Apr 20, 2018
1 parent 5268a32 commit 8ff0989
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions PDO/PDO.php
Original file line number Diff line number Diff line change
Expand Up @@ -710,6 +710,18 @@ class PDO {
*/
const MYSQL_ATTR_MULTI_STATEMENTS = 1015;

/**
* <p>
* Disables SSL peer verification when set to FALSE.
* </p>
* <p>
* Note, this constant is not yet documented on the php.net documentation.
* </p>
* @since 7.0.18 and 7.1.4
* @link https://bugs.php.net/bug.php?id=71003
*/
const MYSQL_ATTR_SSL_VERIFY_SERVER_CERT = 1016;

/**
* @deprecated 5.6.0 Use PDO::ATTR_EMULATE_PREPARES instead.
*/
Expand Down

0 comments on commit 8ff0989

Please sign in to comment.