summaryrefslogtreecommitdiff
path: root/ext
Commit message (Collapse)AuthorAgeFilesLines
...
* | | Merge branch 'PHP-8.0'Nikita Popov2021-03-182-1/+19
|\ \ \ | |/ / | | | | | | | | | * PHP-8.0: Fix locale switch back to C in pcre
| * | Merge branch 'PHP-7.4' into PHP-8.0Nikita Popov2021-03-182-1/+19
| |\ \ | | |/ | | | | | | | | | * PHP-7.4: Fix locale switch back to C in pcre
| | * Fix locale switch back to C in pcreNikita Popov2021-03-182-1/+19
| | | | | | | | | | | | | | | | | | The compile context is shared between patterns, so we need to set the character tables unconditionally in case we switched from a non-C locale to the C locale.
* | | Deprecate OO style mysqli::get_client_info methodDharman2021-03-175-4/+40
| | | | | | | | | | | | | | | | | | Deprecate passing connection object to mysqli_get_client_info() Closes GH-6777.
* | | Merge branch 'PHP-8.0'Dmitry Stogov2021-03-172-1/+112
|\ \ \ | |/ / | | | | | | | | | * PHP-8.0: Fixed bug #80861 (erronous array key overflow in 2D array with JIT)
| * | Fixed bug #80861 (erronous array key overflow in 2D array with JIT)Dmitry Stogov2021-03-172-1/+112
| | |
| * | Fix signed/unsigned warnings in PDO ODBCNikita Popov2021-03-173-13/+15
| | | | | | | | | | | | | | | | | | Add add skipif to test. (cherry picked from commit aa58db723221ec891d4432621003bfa55dc15edf)
* | | Implement enumsIlija Tovilo2021-03-1730-31/+1084
| | | | | | | | | | | | | | | | | | | | | | | | RFC: https://wiki.php.net/rfc/enumerations Co-authored-by: Nikita Popov <nikita.ppv@gmail.com> Closes GH-6489.
* | | Use zend_string_equals() API instead of strcmp() in various placesGeorge Peter Banyard2021-03-173-3/+3
| | | | | | | | | | | | Closes GH-6784
* | | Use zend_string_equals() API instead of strcmp() in COM extensionGeorge Peter Banyard2021-03-171-3/+3
| | |
* | | Use zend_string_equals() API instead of strcmp() in Date extensionGeorge Peter Banyard2021-03-171-13/+14
| | |
* | | Use zend_string_equals() API instead of strcmp() in Filter extensionGeorge Peter Banyard2021-03-171-3/+3
| | |
* | | Use zend_string_equals() API instead of strcmp() in PGSQL extensionGeorge Peter Banyard2021-03-171-50/+50
| | | | | | | | | | | | And tiny drive by refactor at the same time for more usages
* | | Use zend_string_equals() API instead of strcmp() in SOAP extensionGeorge Peter Banyard2021-03-172-4/+4
| | |
* | | Use absolute paths in tokenizer_data_gen.phpNikita Popov2021-03-171-2/+3
| | | | | | | | | | | | To make it work with out-of-tree builds.
* | | Initalize return_value before useChristoph M. Becker2021-03-172-0/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | Otherwise we likely segfault[1]. We fix the same issue for PDO_Firebird as well. [1] <https://ci.appveyor.com/project/php/php-src/builds/38267250/job/6y3ngn1k6ryxx6j3?fullLog=true#L9783> Closes GH-6785.
* | | Merge branch 'PHP-8.0'Nikita Popov2021-03-172-3/+3
|\ \ \ | |/ / | | | | | | | | | * PHP-8.0: imagecolortransparent() cannot return null
| * | imagecolortransparent() cannot return nullNikita Popov2021-03-172-3/+3
| | |
* | | Merge branch 'PHP-8.0'Nikita Popov2021-03-177-14/+14
|\ \ \ | |/ / | | | | | | | | | * PHP-8.0: Return bool from imageinterlace()
| * | Return bool from imageinterlace()Nikita Popov2021-03-177-14/+14
| | | | | | | | | | | | | | | | | | | | | The function accepts a bool since PHP 8.0, so it should also return a bool to keep things consistent. Furthermore a null return from this functions is not possible.
* | | Merge branch 'PHP-8.0'Dmitry Stogov2021-03-172-0/+43
|\ \ \ | |/ / | | | | | | | | | * PHP-8.0: Fixed bug #80839 (PHP problem with JIT)
| * | Fixed bug #80839 (PHP problem with JIT)Dmitry Stogov2021-03-172-0/+43
| | |
* | | Merge branch 'PHP-8.0'Christoph M. Becker2021-03-172-3/+26
|\ \ \ | |/ / | | | | | | | | | * PHP-8.0: Fix #66783: UAF when appending DOMDocument to element
| * | Merge branch 'PHP-7.4' into PHP-8.0Christoph M. Becker2021-03-172-3/+26
| |\ \ | | |/ | | | | | | | | | * PHP-7.4: Fix #66783: UAF when appending DOMDocument to element
| | * Fix #66783: UAF when appending DOMDocument to elementChristoph M. Becker2021-03-172-3/+26
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | According to the DOM standard, elements may only contain element, text, processing instruction and comment nodes[1]. It is also specified that a HierarchyRequestError should be thrown if a document is to be inserted[2]. We follow that standard, and prevent the use-after-free this way. [1] <https://dom.spec.whatwg.org/#node-trees> [2] <https://dom.spec.whatwg.org/#mutation-algorithms> Closes GH-6765.
* | | Avoid unnecessary static_variables persistenceNikita Popov2021-03-173-30/+32
| | | | | | | | | | | | | | | | | | | | | static_variables should be treated the same way as all other op_array components nowadays (only static_variables_ptr is special). There's no need to persist/serialize it is separately per shared op_array.
* | | Simplify attribute persistenceNikita Popov2021-03-171-27/+23
| | | | | | | | | | | | | | | For an inherited op_array, directly fetch the xlat entry, as we do for everything else.
* | | Fix PDO test under libmysqlclientNikita Popov2021-03-171-2/+6
| | |
* | | Declare PDORow::queryString propertyMáté Kocsis2021-03-175-16/+26
| | | | | | | | | | | | Relates GH-6742
* | | Merge branch 'PHP-8.0'Dmitry Stogov2021-03-173-59/+79
|\ \ \ | |/ / | | | | | | | | | * PHP-8.0: Fixed bug #80847 (CData structs with fields of type struct can't be passed as C function argument)
| * | Fixed bug #80847 (CData structs with fields of type struct can't be passed ↵Dmitry Stogov2021-03-173-59/+79
| | | | | | | | | | | | as C function argument)
| * | Fix refcount inference for typed propertiesNikita Popov2021-03-161-4/+3
| | | | | | | | | | | | | | | We were not adding RC1/RCN if the MAY_BE_OBJECT came from a class type and there was no other refcounted type in the union.
* | | Add API to fetch bool value for PDO attribute valuesGeorge Peter Banyard2021-03-179-15/+67
| | | | | | | | | | | | Closes GH-6766
* | | Use standard PDO way for fetching integer attribute valuesGeorge Peter Banyard2021-03-176-13/+61
| | |
* | | Validate string is numeric for integer PDO attribute valueGeorge Peter Banyard2021-03-175-19/+43
| | |
* | | Promote DOM invalid state errors during property accessMáté Kocsis2021-03-1619-81/+113
| | | | | | | | | | | | Closes GH-6780
* | | Change Zend Stream API to use zend_string* instead of char*.Dmitry Stogov2021-03-1617-223/+188
| | | | | | | | | | | | | | | This allows to eliminate re-calculation of string lenght and hash value. See the detailed list of changes in UPGRADING.INTERNALS.
* | | Add tokenizer_data_gen to build processIlija Tovilo2021-03-164-80/+97
| | | | | | | | | | | | Closes GH-6723.
* | | Revert "Remove some unnecessary explicit header dependencies"Nikita Popov2021-03-161-0/+2
| | | | | | | | | | | | | | | | | | | | | This reverts commit c386b1fb177ec0dccc840cbec801e69609ced5c3. It looks like at least some of these might be needed for ordering in a clean build?
* | | Remove some unnecessary explicit header dependenciesNikita Popov2021-03-161-2/+0
| | | | | | | | | | | | These are now automatically tracked by the build system.
* | | Merge branch 'PHP-8.0'Máté Kocsis2021-03-164-4/+25
|\ \ \ | |/ / | | | | | | | | | * Fix crash in LDAP search functions during argument validation * Fix ldap_next_entry() parameter name
| * | Fix ldap_next_entry() parameter nameMáté Kocsis2021-03-162-4/+7
| | |
| * | Fix crash in LDAP search functions during argument validationMáté Kocsis2021-03-162-0/+18
| | |
* | | Merge branch 'PHP-8.0'Máté Kocsis2021-03-152-0/+4
|\ \ \ | |/ /
| * | Add missing skipif sections to ext/dom testsMáté Kocsis2021-03-152-0/+4
| | |
* | | Merge branch 'PHP-8.0'Christoph M. Becker2021-03-151-2/+2
|\ \ \ | |/ / | | | | | | | | | * PHP-8.0: Fix #80817: dba_popen() may cause segfault during RSHUTDOWN
| * | Merge branch 'PHP-7.4' into PHP-8.0Christoph M. Becker2021-03-151-2/+2
| |\ \ | | |/ | | | | | | | | | * PHP-7.4: Fix #80817: dba_popen() may cause segfault during RSHUTDOWN
| | * Fix #80817: dba_popen() may cause segfault during RSHUTDOWNChristoph M. Becker2021-03-151-2/+2
| | | | | | | | | | | | We need to close persistent streams with the proper flag.
* | | Add comment explaining empty default caseGeorge Peter Banyard2021-03-151-3/+2
| | |
* | | Boolify pdo_dbh_attribute_set()George Peter Banyard2021-03-151-32/+33
| | |