Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Add warning to the class comment | Davey Shafik | 2017-01-08 | 1 | -2/+8 |
| | |||||
* | Use extension_loaded | Davey Shafik | 2017-01-08 | 1 | -1/+1 |
| | |||||
* | Code cleanup | Davey Shafik | 2017-01-08 | 1 | -60/+61 |
| | |||||
* | Add third argument to `mysql_db_name()` | Davey Shafik | 2017-01-08 | 1 | -5/+5 |
| | | | | Fixes #23 | ||||
* | Add/update file header comments | Davey Shafik | 2017-01-08 | 1 | -0/+13 |
| | |||||
* | Replaced array operator with explicit array() to lower required PHP version. ↵ | philip | 2017-01-08 | 1 | -9/+9 |
| | | | | Should be 5.4 or 5.3 now, we'll see | ||||
* | Replaced variadics/splat references to lower the required PHP version; splat ↵ | philip | 2017-01-08 | 1 | -28/+28 |
| | | | | was added in PHP 5.6 | ||||
* | Added the result type to the mysql_fetch_array function (#16) | Swen van Zanten | 2016-10-03 | 1 | -2/+2 |
| | | | | | | * Added the result type to the mysql_fetch_array function * Changed the 'resultType' variable to camelCase, added extra tests * Fixed the mysql_fetch tests | ||||
* | Add comments | Davey Shafik | 2016-10-03 | 1 | -0/+3 |
| | |||||
* | mysql_connect should return FALSE when mysqli_connect fails. (#15) | Михаил Красильников | 2016-10-03 | 1 | -2/+6 |
| | |||||
* | Fix issues found by <insight.sensiolabs.com> | Davey Shafik | 2016-07-04 | 1 | -2/+2 |
| | |||||
* | Support database names with hyphens | Stefan Schramm | 2016-07-03 | 1 | -7/+13 |
| | | | | | * Support database names with hyphens * Fix mysql_list_tables and mysql_list_fields | ||||
* | use array_key_exists() instead of isset() because value can be null | Gregor Harlan | 2016-04-18 | 1 | -1/+1 |
| | |||||
* | Reset field pointer before iterating | Davey Shafik | 2016-03-10 | 1 | -0/+1 |
| | | | | Fixes #7 | ||||
* | Refactor `Dshafik\MySQL::escapeString()` | Davey Shafik | 2016-02-05 | 1 | -26/+30 |
| | |||||
* | Simplify `\Dshafik\MySQL::getFieldType()` | Davey Shafik | 2016-02-05 | 1 | -43/+36 |
| | |||||
* | Simplify `\Dshafik\MySQL::getFieldFlags()` | Davey Shafik | 2016-02-05 | 1 | -50/+21 |
| | |||||
* | add unit test for mysqli defaults | Gordon Franke | 2016-02-03 | 1 | -6/+6 |
| | |||||
* | added default values from php.ini file if none provided | D060938 | 2016-02-03 | 1 | -0/+9 |
| | |||||
* | Fix escaping not copying non-escapeable chars to the escaped string | Davey Shafik | 2016-02-02 | 1 | -6/+10 |
| | |||||
* | Add/Fix all constants | Davey Shafik | 2016-02-02 | 1 | -4/+7 |
| | |||||
* | Fix return values for `mysql_fetch_*` functions | Davey Shafik | 2016-02-02 | 1 | -8/+5 |
| | | | | | | The methods `mysql_fetch_* and `mysqli_fetch_*` have different return values, if there is no [more] results to fetch. Therefore the **null** return value of `mysqli` needs to be matched to the **false** return value of `mysql`. Thanks to @muhammedalialat | ||||
* | code cleanup | Gordon Franke | 2016-02-02 | 1 | -1/+0 |
| | |||||
* | Update mysql.php | Muhammed Ali Alat | 2016-01-26 | 1 | -2/+9 |
| | |||||
* | Handle weirdness with `mysql_table_name()`, especially on HHVM | Davey Shafik | 2015-12-07 | 1 | -3/+3 |
| | |||||
* | More tests, more fixes | Davey Shafik | 2015-12-07 | 1 | -12/+115 |
| | | | | - Reimplement original `mysql_escape_string()` based on C-code as close as possible - For some reason `mysql_fetch_object()` has a different error than all the other `mysql_fetch_*()` functions when passed an invalid result. ಠ_ಠ | ||||
* | Add more tests and fixes | Davey Shafik | 2015-12-06 | 1 | -126/+143 |
| | |||||
* | Fix args for aliases | Davey Shafik | 2015-12-06 | 1 | -37/+22 |
| | |||||
* | Update README | Davey Shafik | 2015-12-06 | 1 | -16/+19 |
| | |||||
* | Upto 20% functions/59% lines coverage, more issues revealed | Davey Shafik | 2015-12-06 | 1 | -41/+278 |
| | |||||
* | Add more tests, and fixed many issues revealed by them | Davey Shafik | 2015-12-05 | 1 | -11/+63 |
| | |||||
* | Initial commit of ext/mysql shim for PHP 7 | Davey Shafik | 2015-12-04 | 1 | -0/+416 |