diff options
author | Davey Shafik <me@daveyshafik.com> | 2015-12-06 02:16:13 -0500 |
---|---|---|
committer | Davey Shafik <me@daveyshafik.com> | 2015-12-06 02:25:14 -0500 |
commit | c8e04f5038999573f44a32527a47e0f5a0121b59 (patch) | |
tree | ff2f4921a66abe085512fd460aa50b75a16742ea /README.md | |
parent | 418d40a4eca04d28e9f079bd0942c0c2ec02e9c4 (diff) | |
download | php7-mysql-shim-c8e04f5038999573f44a32527a47e0f5a0121b59.zip php7-mysql-shim-c8e04f5038999573f44a32527a47e0f5a0121b59.tar.gz php7-mysql-shim-c8e04f5038999573f44a32527a47e0f5a0121b59.tar.bz2 |
Update README
Diffstat (limited to 'README.md')
-rw-r--r-- | README.md | 11 |
1 files changed, 7 insertions, 4 deletions
@@ -1,3 +1,6 @@ +[](https://travis-ci.org/dshafik/php7-mysql-shim) +[](https://scrutinizer-ci.com/g/dshafik/php7-mysql-shim/?branch=master) +[](https://scrutinizer-ci.com/g/dshafik/php7-mysql-shim/?branch=master) # PHP 7 Shim for ext/mysql This library attempts to create a drop-in replacement for ext/mysql on PHP 7 using mysqli. @@ -21,7 +24,7 @@ Once the file is included, it will create `mysql_*` function if they don't alrea ## Caveats -The only things that should break are calls to `is_resource()` on MySQL connections and results, as these -are now their `mysqli` equivalents. - -Additionally, some errors are now from `ext/mysqli`, and others are `E_USER_WARNING` instead of `E_WARNING`. +- Calls to `is_resource()` and `get_resource_type()` on MySQL connections and results will fail as these are now their `mysqli` equivalents. +-Some errors are now from `ext/mysqli`, and others are `E_USER_WARNING` instead of `E_WARNING`. +- Column lengths reported by `mysql_field_len()` assume latin1 +- You must prefix all calls to `mysql_*` with a `\` (e.g. `\mysql_connect()`; |