#
5bb41fa6 |
| 21-Sep-2020 |
Nikita Popov |
Promote PDORow property write to Error |
#
6f76817f |
| 21-Sep-2020 |
Nikita Popov |
Remove dead code The "if ever" here is the relevant bit... |
Revision tags: php-8.0.0beta4, php-7.4.11RC1, php-7.3.23RC1, php-8.0.0beta3, php-7.4.10, php-7.3.22 |
|
#
42b6b8a3 |
| 31-Aug-2020 |
Matteo Beccati |
Merge branch 'PHP-7.3' into PHP-7.4 * PHP-7.3: Fix #80027 Terrible performance using $query->fetch on queries with many bind parameters
|
#
44ade0e8 |
| 31-Aug-2020 |
Matteo Beccati |
Fix #80027 Terrible performance using $query->fetch on queries with many bind parameters Added new flags that allow skipping param_evt(s) that are not used by drivers, in a backwards and
Fix #80027 Terrible performance using $query->fetch on queries with many bind parameters Added new flags that allow skipping param_evt(s) that are not used by drivers, in a backwards and forward compatible manner. Updated the pgsql, mysql, sqlite and oci drivers to properly use the new flags. I've left out pdo_dblib, which doesn't have a param_hook, and pdo_firebird, which seems to be using PARAM_EVT_NORMALIZE in a wrong context (param type vs event type).
show more ...
|
#
ee2506cc |
| 31-Aug-2020 |
Matteo Beccati |
Fix #80027 Terrible performance using $query->fetch on queries with many bind parameters Added new flags that allow skipping param_evt(s) that are not used by drivers, in a backwards and
Fix #80027 Terrible performance using $query->fetch on queries with many bind parameters Added new flags that allow skipping param_evt(s) that are not used by drivers, in a backwards and forward compatible manner. Updated the pgsql, mysql, sqlite and oci drivers to properly use the new flags. I've left out pdo_dblib, which doesn't have a param_hook, and pdo_firebird, which seems to be using PARAM_EVT_NORMALIZE in a wrong context (param type vs event type).
show more ...
|
Revision tags: php-8.0.0beta2, php-7.3.22RC1, php-7.4.10RC1 |
|
#
670036e2 |
| 13-Aug-2020 |
Nikita Popov |
Use Z_PARAM_CLASS in PDOStatement::fetchObject() Instead of implementing custom logic. |
#
2803c8fb |
| 07-Aug-2020 |
Máté Kocsis |
Add all the missing parameter types to stubs Closes GH-5955 |
#
8b77c581 |
| 07-Aug-2020 |
Nikita Popov |
Accept zend_object* in zend_update_property |
Revision tags: php-8.0.0beta1, php-7.4.9, php-7.2.33, php-7.3.21 |
|
#
b2248789 |
| 29-Jul-2020 |
George Peter Banyard |
Implement 'Saner Numeric Strings' RFC: RFC: https://wiki.php.net/rfc/saner-numeric-strings This removes the -1 allow_error mode from is_numeric_string functions and replaces it by
Implement 'Saner Numeric Strings' RFC: RFC: https://wiki.php.net/rfc/saner-numeric-strings This removes the -1 allow_error mode from is_numeric_string functions and replaces it by a trailing boolean out argument to preserve BC in a couple of places. Most of the changes can be resumed to "numeric" strings which emitted a E_NOTICE now emit a E_WARNING and "numeric" strings which emitted a E_WARNING now throw a TypeError. This mostly affects: - String offsets - Arithmetic operations - Bitwise operations Closes GH-5762
show more ...
|
#
70a3a909 |
| 24-Jul-2020 |
Máté Kocsis |
Add the Z_PARAM_PATH_OR_NULL() and Z_PARAM_ZVAL_OR_NULL() macros |
Revision tags: php-8.0.0alpha3, php-7.4.9RC1, php-7.3.21RC1 |
|
#
777aa916 |
| 20-Jul-2020 |
Nikita Popov |
Fetch pdo stmt after zpp |
#
7d3e530f |
| 17-Jul-2020 |
Nikita Popov |
Use zpp for PDO fetch mode Also changing the function signatures to accept variadic args for the fetch params. If we're already breaking Doctrine anyway, we may as well do it properl
Use zpp for PDO fetch mode Also changing the function signatures to accept variadic args for the fetch params. If we're already breaking Doctrine anyway, we may as well do it properly.
show more ...
|
Revision tags: php-7.4.8, php-7.2.32, php-8.0.0alpha2 |
|
#
302933da |
| 07-Jul-2020 |
Nikita Popov |
Remove no_separation flag |
Revision tags: php-7.3.20 |
|
#
2b5de6f8 |
| 01-Jul-2020 |
Max Semenik |
Remove proto comments from C files Closes GH-5758 |
#
312201dc |
| 01-Jul-2020 |
Nikita Popov |
Add get_gc handle for object iterators Optional handler with the same semantics as the object handler. |
Revision tags: php-8.0.0alpha1, php-7.4.8RC1, php-7.3.20RC1, php-7.4.7, php-7.3.19, php-7.4.7RC1, php-7.3.19RC1, php-7.4.6, php-7.2.31, php-7.4.6RC1, php-7.3.18RC1, php-7.2.30, php-7.4.5, php-7.3.17, php-7.4.5RC1, php-7.3.17RC1, php-7.3.18, php-7.4.4, php-7.2.29, php-7.3.16, php-7.4.4RC1, php-7.3.16RC1 |
|
#
ff19ec2d |
| 26-Feb-2020 |
Nikita Popov |
Introduce InternalIterator Userland classes that implement Traversable must do so either through Iterator or IteratorAggregate. The same requirement does not exist for internal class
Introduce InternalIterator Userland classes that implement Traversable must do so either through Iterator or IteratorAggregate. The same requirement does not exist for internal classes: They can implement the internal get_iterator mechanism, without exposing either the Iterator or IteratorAggregate APIs. This makes them usable in get_iterator(), but incompatible with any Iterator based APIs. A lot of internal classes do this, because exposing the userland APIs is simply a lot of work. This patch alleviates this issue by providing a generic InternalIterator class, which acts as an adapater between get_iterator and Iterator, and can be easily used by many internal classes. At the same time, we extend the requirement that Traversable implies Iterator or IteratorAggregate to internal classes as well. Closes GH-5216.
show more ...
|
#
7d6a0ba8 |
| 07-Jun-2020 |
twosee |
Fix expression warnings and break warnings Close GH-5675. |
#
4a816584 |
| 29-Feb-2020 |
Máté Kocsis |
Make float to string casts locale-independent From now on, float to string casting will always behave locale-independently. RFC: https://wiki.php.net/rfc/locale_independent_float_to_stri
Make float to string casts locale-independent From now on, float to string casting will always behave locale-independently. RFC: https://wiki.php.net/rfc/locale_independent_float_to_string Closes GH-5224 Co-authored-by: George Peter Banyard <girgias@php.net>
show more ...
|
#
c6485535 |
| 12-Apr-2020 |
Máté Kocsis |
Generate method entries from stubs for curl, ffi, pdo, phar Closes GH-5375 |
#
446724bc |
| 12-Apr-2020 |
George Peter Banyard |
Fix [-Werror=missing-braces] compiler warning Partial fix to bug 79431 |
#
305b17e8 |
| 29-Mar-2020 |
Máté Kocsis |
Do not include the same stub multiple times Closes GH-5322 |
#
fb5bfcb7 |
| 31-Mar-2020 |
Nikita Popov |
Add a ZEND_UNCOMPARABLE value To explicitly indicate that objects are uncomparable. For now this has no functional difference from the usual 1 return value, but makes intent clearer. |
#
6e40ec7d |
| 22-Feb-2020 |
George Peter Banyard |
Second go at fixing [-Wmissing-field-initializers] compiler warning in PDO By 0 initializing the sub structs |
Revision tags: php-7.4.3, php-7.2.28 |
|
#
4c9699f0 |
| 10-Feb-2020 |
George Peter Banyard |
Revert "Fix [-Wmissing-field-initializers] compiler warning in ext/PDO" Seems like Travis doesn't like this and now throws a [-Werror=maybe-uninitialized] instead. This reverts
Revert "Fix [-Wmissing-field-initializers] compiler warning in ext/PDO" Seems like Travis doesn't like this and now throws a [-Werror=maybe-uninitialized] instead. This reverts commit 051b01d465661e16f65bcfd58fcf1d7e03b26f35.
show more ...
|
#
051b01d4 |
| 10-Feb-2020 |
George Peter Banyard |
Fix [-Wmissing-field-initializers] compiler warning in ext/PDO |