Dmitry Stogov
d5d31ea3b3
Cleanup observer API and add JIT support
2020-09-18 12:55:58 +03:00
Máté Kocsis
b4c2670f85
Fix UNKNOWN default values in ext/pdo_pgsql
...
Closes GH-6159
2020-09-18 11:13:27 +02:00
Máté Kocsis
d9628b9ca9
Update the default values of xmlwriter_write_dtd_entity()
...
Its default method handling had already been fixed not long ago, but only the stub of its method counterpart was updated.
2020-09-18 11:13:27 +02:00
Nikita Popov
34bb5ba2ea
Remove support for EXT_NOP
...
This is an annoying edge case that regularly gets broken. As we're
not aware of significant users of this API, and there are other
ways to hook this, remove support for EXT_NOP.
2020-09-18 11:03:08 +02:00
Dmitry Stogov
a9cbdafa69
Support for ZEND_COMPILE_EXTENDED_STMT
2020-09-17 23:19:28 +03:00
Nikita Popov
a03c1ed7aa
Remove vestiges of embedded mysql from tests
2020-09-17 19:02:20 +02:00
Dmitry Stogov
0f9aefa64f
Fixed incorrect live-range construction
2020-09-17 19:39:44 +03:00
Dmitry Stogov
23429b5818
Fixed incorrect register allocation
2020-09-17 18:36:45 +03:00
Sara Golemon
bfa8e42a55
Use ephemeral ports during curl tests with dev server
2020-09-17 14:44:12 +00:00
Sara Golemon
95f2583743
Allow http tests to run in parallel by using ephemeral ports
2020-09-17 14:38:54 +00:00
Nikita Popov
e9ac7d27ba
Merge branch 'PHP-7.4'
...
* PHP-7.4:
Fix mysqli_release_savepoint() on mysqlnd
2020-09-17 16:09:41 +02:00
Nikita Popov
33069575d5
Merge branch 'PHP-7.3' into PHP-7.4
...
* PHP-7.3:
Fix mysqli_release_savepoint() on mysqlnd
2020-09-17 16:03:26 +02:00
Nikita Popov
c3944c4c4f
Fix mysqli_release_savepoint() on mysqlnd
...
mysqli_release_savepoint() was not actually releasing a savepoint...
2020-09-17 15:59:09 +02:00
Nikita Popov
86e002729f
Fix some tests for libmysql
2020-09-17 15:27:02 +02:00
Nikita Popov
e2b3c0e291
Remove checks for old libmysqlclient versions in tests
2020-09-17 15:02:35 +02:00
Nikita Popov
b0661a9667
Fix warnings when building against libmysqlclient
...
At least for version 8.0 this is warning free now.
2020-09-17 15:02:35 +02:00
Christoph M. Becker
c584e84043
Merge branch 'PHP-7.4' into master
...
* PHP-7.4:
Update to PCRE2 10.35
2020-09-17 14:08:32 +02:00
Christoph M. Becker
9f2d03952d
Update to PCRE2 10.35
...
We also backport the fix for bug #79846 , and add a test case for the
related bug #79363 .
2020-09-17 14:07:05 +02:00
Nikita Popov
d4e5b5b6fc
Fix compilation warnings in odbc
...
SQLCHAR* cast all the things.
2020-09-17 12:52:31 +02:00
Christoph M. Becker
f601d7c743
Merge branch 'PHP-7.4' into master
...
* PHP-7.4:
Fix #80115 : mysqlnd.debug doesn't recognize absolute paths with slashes
2020-09-17 12:39:25 +02:00
Christoph M. Becker
c3c76dbfb9
Merge branch 'PHP-7.3' into PHP-7.4
...
* PHP-7.3:
Fix #80115 : mysqlnd.debug doesn't recognize absolute paths with slashes
2020-09-17 12:38:16 +02:00
Christoph M. Becker
efdbc3688b
Fix #80115 : mysqlnd.debug doesn't recognize absolute paths with slashes
2020-09-17 12:37:02 +02:00
Nikita Popov
5cb8b04646
Drop support for libmysqlclient < 5.5
...
Given how little maintenance the libmysqlclient driver sees, be
more aggressive in dropping old version support here.
2020-09-17 12:05:30 +02:00
Nikita Popov
e7f98f82ac
Add missing mysqlnd checks to stubs
2020-09-17 11:40:14 +02:00
Nikita Popov
3ad57f9f31
Merge branch 'PHP-7.4'
...
* PHP-7.4:
pdo_mysql/mysqli (native) libmysqlclient_r no-longer used
mysql: native mysql-8.0 uses _Bool
mysqli: use native api
2020-09-17 11:35:03 +02:00
Nikita Popov
d591e1c4f5
Merge branch 'PHP-7.3' into PHP-7.4
...
* PHP-7.3:
pdo_mysql/mysqli (native) libmysqlclient_r no-longer used
mysql: native mysql-8.0 uses _Bool
mysqli: use native api
2020-09-17 11:32:01 +02:00
Daniel Black
1aab7db6c8
pdo_mysql/mysqli (native) libmysqlclient_r no-longer used
...
The mysqlclient_r library exists in mysql-5.6 for compatibility only.
Later versions have it removed.
2020-09-17 11:27:31 +02:00
Daniel Black
c9abb0c0ac
mysql: native mysql-8.0 uses _Bool
...
MySQL-8.0 removes option MYSQLI_OPT_SSL_VERIFY_SERVER_CERT
2020-09-17 11:27:31 +02:00
Daniel Black
202a0697f3
mysqli: use native api
...
Tested with:
* mysql-5.6.49-linux-glibc2.12-x86_64
* mysql-5.7.31-linux-glibc2.12-x86_64
* mysql-8.0.21-linux-glibc2.17-x86_64
* mariadb-10.5.6
configure --with-mysqli=/usr/local/$version/bin/mysql_config --with-pdo-mysql=/usr/local/$version
MySQL-8.0 removed my_bool
Some options where deprecated in mysql-8.0
MY_CHARSET_INFO used with exposed api mysql_get_character_set_info
rather than internal structures.
2020-09-17 11:27:31 +02:00
Máté Kocsis
8d37c37bcd
Fix a few UNKNOWN default values in ext/pgsql
...
Closes GH-6149
2020-09-17 11:00:59 +02:00
Dmitry Stogov
e9820bf470
Fixed memory leak in ext/spl/tests/bug77263.phpt
2020-09-17 11:55:50 +03:00
Nikita Popov
e55a658115
Merge branch 'PHP-7.4'
...
* PHP-7.4:
ext/soap: Compare Set-Cookie header case-insensitively
2020-09-17 10:31:48 +02:00
Nikita Popov
f0d2efbadc
Merge branch 'PHP-7.3' into PHP-7.4
...
* PHP-7.3:
ext/soap: Compare Set-Cookie header case-insensitively
2020-09-17 10:31:30 +02:00
Gabríel Arthúr Pétursson
efc52f1754
ext/soap: Compare Set-Cookie header case-insensitively
...
Closes GH-6143.
2020-09-17 10:31:06 +02:00
Nikita Popov
801cf66ab8
Merge branch 'PHP-7.4'
...
* PHP-7.4:
Fixed bug #80083
2020-09-17 10:14:19 +02:00
Nikita Popov
9c136f10cd
Merge branch 'PHP-7.3' into PHP-7.4
...
* PHP-7.3:
Fixed bug #80083
2020-09-17 10:13:53 +02:00
Nikita Popov
a4f806aa79
Fixed bug #80083
...
Add db2_execute() to the list of functions accessing the local
scope. Ideally the API wouldn't do that, but it seems most
pragmatic to address this on the opcache side at this point.
2020-09-17 10:12:10 +02:00
Dharman
8f56b7a755
mysqli: Promote warning in field_seek
...
Aligning the behaviour of fetch_field and field_seek.
2020-09-17 09:42:42 +02:00
Máté Kocsis
46d22e435f
Change int parameter types to bool when the parameter behaves as bool
...
Closes GH-6148
2020-09-17 09:38:18 +02:00
Máté Kocsis
36fd95b524
Generate arginfos
2020-09-16 21:28:27 +02:00
Máté Kocsis
de912821e0
Display string default values in stubs more uniformly
...
Settling on using quoted string
2020-09-16 21:27:01 +02:00
Máté Kocsis
c76910cd96
Display types in stubs more uniformly
...
In preparation for generating method signatures for the manual.
This change gets rid of bogus false|null return types, a few unnecessary trailing backslashes, and settles on using ? when possible for nullable types.
2020-09-16 21:19:36 +02:00
Nikita Popov
0286decdb4
Accept GMP|string|int union in GMP functions
...
This changes GMP functions to accept a GMP|string|int union with
standard semantics (and thus also uses it in function signatures).
Relative to the previous behavior, this means that GMP functions
in weak mode now also accept float and null, and in strict mode no
longer accept bool, and have full type information.
Closes GH-6139.
2020-09-16 17:17:07 +02:00
Máté Kocsis
e7e3099299
Update xmlreader arginfo hash
...
My git client (GitHub Desktop) decided to commit and push my staged changes, so arginfo generation was not done with the previous commit.
2020-09-16 13:51:36 +02:00
Máté Kocsis
81d6ceedec
Update php_xmlreader.stub.php
2020-09-16 13:47:58 +02:00
Máté Kocsis
7a48381e22
XMLReader::getAttributeNs() can no longer return false
2020-09-16 13:45:13 +02:00
Dmitry Stogov
f786c0e097
Optimize code for FETCH_THIS + INIT_METHOD_CALL/ASSIGN_OBJ_OP/etc
2020-09-16 14:22:36 +03:00
Dharman
0d99a5618f
Changed the wording of the error message
...
"cannot be used in MYSQLI_USE_RESULT mode" sounds more correct than "cannot be used with MYSQLI_USE_RESULT"
Closes GH-6137.
2020-09-16 11:10:11 +02:00
Nikita Popov
f08e666e4b
Remove unused GMP_ABS() macro
2020-09-16 11:05:47 +02:00
Dmitry Stogov
f896b982cc
Exclude trait methods from call-graph
2020-09-16 12:04:29 +03:00