summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
...
* | | Add comment explaining empty default caseGeorge Peter Banyard2021-03-151-3/+2
| | |
* | | Boolify pdo_dbh_attribute_set()George Peter Banyard2021-03-151-32/+33
| | |
* | | Boolify pdo_hash_methods()George Peter Banyard2021-03-152-5/+5
| | |
* | | Boolify pdo_stmt_describe_columns()George Peter Banyard2021-03-153-5/+5
| | |
* | | Voidify internal pdo_sqlstate_init_error_table()George Peter Banyard2021-03-153-7/+3
| | | | | | | | | | | | This always returned SUCCESS
* | | Remove php_pdo_str_tolower_dup() functionGeorge Peter Banyard2021-03-152-8/+2
| | |
* | | Change the default error mode of mysqliDharman2021-03-154-2/+9
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Make MYSQLI_REPORT_ERROR | MYSQLI_REPORT_STRICT the new mysqli error reporting default. Explicitly call mysqli_report(MYSQLI_REPORT_OFF) to preserve previous behavior. RFC: https://wiki.php.net/rfc/mysqli_default_errmode Closes GH-6629.
* | | Merge branch 'PHP-8.0'Nikita Popov2021-03-152-0/+16
|\ \ \ | |/ / | | | | | | | | | * PHP-8.0: Fix bug #80866
| * | Merge branch 'PHP-7.4' into PHP-8.0Nikita Popov2021-03-153-0/+20
| |\ \ | | |/ | | | | | | | | | * PHP-7.4: Fix bug #80866
| | * Fix bug #80866Dharman2021-03-153-0/+20
| | | | | | | | | | | | Closes GH-6774.
* | | Merge branch 'PHP-8.0'Nikita Popov2021-03-152-1/+39
|\ \ \ | |/ / | | | | | | | | | * PHP-8.0: Fix bug #80837
| * | Merge branch 'PHP-7.4' into PHP-8.0Nikita Popov2021-03-153-1/+43
| |\ \ | | |/ | | | | | | | | | * PHP-7.4: Fix bug #80837
| | * Fix bug #80837Dharman2021-03-153-1/+41
| | | | | | | | | | | | The error needs to be reported on the statement, not the connection.
* | | Assert that stmt is set in PDORowNikita Popov2021-03-151-78/+75
| | |
* | | Merge branch 'PHP-8.0'Nikita Popov2021-03-150-0/+0
|\ \ \ | |/ / | | | | | | | | | | | | * PHP-8.0: Update ubuntu on i386 job Downgrade security level in tests using TLS < 1.2
| * | Merge branch 'PHP-7.4' into PHP-8.0Nikita Popov2021-03-150-0/+0
| |\ \ | | |/ | | | | | | | | | | | | * PHP-7.4: Update ubuntu on i386 job Downgrade security level in tests using TLS < 1.2
| | * Update ubuntu on i386 jobNikita Popov2021-03-151-1/+1
| | | | | | | | | | | | | | | | | | There is a failure with apt on PHP-7.4 that's not present on PHP-8.0/master. Switching to a newer ubuntu version on PHP-7.4 avoids the issue.
| | * Downgrade security level in tests using TLS < 1.2Nikita Popov2021-03-155-4/+14
| | | | | | | | | | | | | | | | | | | | | A few additional tests have been added on master that require lower security level. (cherry picked from commit c2a6395dcbab20549702e56006f7cd389cefebcd)
* | | Use typed properties in ext/mysqliMáté Kocsis2021-03-158-290/+201
| | | | | | | | | | | | Closes GH-6739
* | | Use zend_objects_not_comparable in PDONikita Popov2021-03-152-18/+3
| | |
* | | Add CLEAN sections to mysqli and PDO mysql testsDharman2021-03-1514-17/+88
| | | | | | | | | | | | Closes GH-6756.
* | | Merge branch 'PHP-8.0'Nikita Popov2021-03-151-1/+1
|\ \ \ | |/ / | | | | | | | | | * PHP-8.0: ext/opcache: fix configure output while checking mmap MAP_ANON support
| * | ext/opcache: fix configure output while checking mmap MAP_ANON supportMichael Heimpold2021-03-151-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | It seems that f3efb9e3fb introduced a "typo" which may result in the following confusing message: checking for mmap() using MAP_ANON shared memory support... no=yes Let's fix this. Signed-off-by: Michael Heimpold <mhei@heimpold.de> Closes GH-6758.
* | | Deprecate mysqli driver_version propertyDharman2021-03-154-6/+8
| | | | | | | | | | | | | | | The driver version hasn't been updated in 13 years, so this number is essentially meaningless. Check PHP_VERSION_ID instead.
* | | Remove dead mysqli_driver_construct() functionNikita Popov2021-03-151-12/+0
| | | | | | | | | | | | | | | This function was never registered with PHP, and the body is commented out.
* | | Clean up mysqli_driver test casesDharman2021-03-153-171/+170
| | | | | | | | | | | | | | | And remove an unnecessary test case that is already covered by the other two.
* | | Remove redundant macros in mysqli_driver implementationDharman2021-03-151-47/+21
| | | | | | | | | | | | | | | This class doesn't define many properties, and the macros make customization hard.
* | | Remove unused mysqli globalDharman2021-03-152-13/+8
| | | | | | | | | | | | And fix formatting issues.
* | | client_info is a constant and doesn't need a connectionDharman2021-03-153-12/+9
| | | | | | | | | | | | Closes GH-6767.
* | | Use zend_string* & more legible API for php_get_display_errors_mode()George Peter Banyard2021-03-141-17/+13
| | |
* | | Return early on php display error for better legibilityCalison2021-03-141-14/+19
| | | | | | | | | | | | | | | | | | Closes GH-6760 Signed-off-by: George Peter Banyard <girgias@php.net>
* | | hash: xxhash: Use canonicalization routine from existing APIAnatol Belski2021-03-131-44/+4
| | | | | | | | | | | | Signed-off-by: Anatol Belski <ab@php.net>
* | | Remove deprecated codeDmitry Stogov2021-03-131-6/+0
| | |
* | | Fixed compilation warningDmitry Stogov2021-03-121-0/+1
| | |
* | | Inline "array" part of FE_FETCH_R handler into HYBRID VMDmitry Stogov2021-03-112-207/+267
| | |
* | | zend_verify_recv_arg_type_helper is not "cold".Dmitry Stogov2021-03-112-2/+2
| | |
* | | Avoid repeatable work when error_reporting() is called with the same ↵Dmitry Stogov2021-03-111-1/+1
| | | | | | | | | | | | argument few times.
* | | Inheritance cache optimizationDmitry Stogov2021-03-113-31/+41
| | |
* | | Fixed assertion (ext/opcache/zend_persist.c:327: ↵Dmitry Stogov2021-03-101-2/+3
| | | | | | | | | | | | zend_accel_get_type_map_ptr: Assertion `ret > 2' failed)
* | | Merge branch 'PHP-8.0'Dmitry Stogov2021-03-103-5/+5
|\ \ \ | |/ / | | | | | | | | | * PHP-8.0: Fixed bug #80814 (threaded mod_php won't load on FreeBSD: No space available for static Thread Local Storage)
| * | Fixed bug #80814 (threaded mod_php won't load on FreeBSD: No space available ↵Dmitry Stogov2021-03-104-5/+7
| | | | | | | | | | | | for static Thread Local Storage)
* | | Use spl_filesystem_object.file_name for SPL_FS_DIR as a cache and prevent ↵Dmitry Stogov2021-03-091-9/+14
| | | | | | | | | | | | multiple file name reconstruction.
* | | Merge branch 'PHP-8.0'Christoph M. Becker2021-03-082-0/+86
|\ \ \ | |/ / | | | | | | | | | * PHP-8.0: Fix #51903: simplexml_load_file() doesn't use HTTP headers
| * | Merge branch 'PHP-7.4' into PHP-8.0Christoph M. Becker2021-03-083-0/+89
| |\ \ | | |/ | | | | | | | | | * PHP-7.4: Fix #51903: simplexml_load_file() doesn't use HTTP headers
| | * Fix #51903: simplexml_load_file() doesn't use HTTP headersChristoph M. Becker2021-03-083-0/+89
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The `encoding` attribute of the XML declaration is optional; it is good practice to use external encoding information where available if it is missing. Thus, we check for `charset` info of `Content-Type` headers, and see whether the encoding is supported. We cater to trailing parameters and quoted-strings, but not to escaped backslashes and quotes in quoted-strings, since no known character encoding contains these anyway. Co-authored-by: Michael Wallner <mike@php.net> Closes GH-6747.
* | | Merge branch 'PHP-8.0'Christoph M. Becker2021-03-082-1/+42
|\ \ \ | |/ / | | | | | | | | | * PHP-8.0: Fix #80838: HTTP wrapper waits for HTTP 1 response after HTTP 101
| * | Merge branch 'PHP-7.4' into PHP-8.0Christoph M. Becker2021-03-083-1/+44
| |\ \ | | |/ | | | | | | | | | * PHP-7.4: Fix #80838: HTTP wrapper waits for HTTP 1 response after HTTP 101
| | * Fix #80838: HTTP wrapper waits for HTTP 1 response after HTTP 101manuel2021-03-083-1/+44
| | | | | | | | | | | | | | | | | | Don't wait for further responses after a HTTP 101 (Switching Protocols) response Closes GH-6730.
* | | Merge branch 'PHP-8.0'Máté Kocsis2021-03-062-2/+2
|\ \ \ | |/ /
| * | Fix the error message of attribute flag validationMáté Kocsis2021-03-062-2/+2
| | |