summaryrefslogtreecommitdiffstats
path: root/lib/mysql.php
diff options
context:
space:
mode:
Diffstat (limited to 'lib/mysql.php')
-rw-r--r--lib/mysql.php13
1 files changed, 13 insertions, 0 deletions
diff --git a/lib/mysql.php b/lib/mysql.php
index 08af607..f561381 100644
--- a/lib/mysql.php
+++ b/lib/mysql.php
@@ -1,4 +1,17 @@
<?php
+/**
+ * php7-mysql-shim
+ *
+ * @author Davey Shafik <me@daveyshafik.com>
+ * @copyright Copyright (c) 2017 Davey Shafik
+ * @license MIT License
+ * @link https://github.com/dshafik/php7-mysql-shim
+ */
+
+/**
+ * A drop-in replacement for ext/mysql in PHP 7+
+ * using ext/mysqli instead
+ */
namespace {
if (!function_exists('\mysql_connect')) {