Nikita Popov
2bc0a6e97f
Fix string offset signed int UB in jit as well
2019-12-20 12:11:07 +01:00
Nikita Popov
ed372541da
Merge branch 'PHP-7.4'
...
* PHP-7.4:
Fix #78982 : pdo_pgsql returns dead persistent connection
2019-12-20 12:06:24 +01:00
Nikita Popov
b0737fa35e
Merge branch 'PHP-7.3' into PHP-7.4
...
* PHP-7.3:
Fix #78982 : pdo_pgsql returns dead persistent connection
2019-12-20 12:06:05 +01:00
SATO Kentaro
37d11d123e
Fix #78982 : pdo_pgsql returns dead persistent connection
...
Call PQconsumeInput() before PQstatus() to update the status.
2019-12-20 12:05:17 +01:00
Máté Kocsis
bf645d6dc1
Remove unnecessary F0 type information from OPCache
...
Closes GH-5024
2019-12-20 12:03:08 +01:00
Máté Kocsis
297b1f8335
Fix return type of strval()
...
GH-5024
2019-12-20 12:02:35 +01:00
Máté Kocsis
d7b2082352
Add stubs for standard library
...
Closes GH-5017
2019-12-20 12:01:35 +01:00
Máté Kocsis
7bfeef602a
Promote warnings to exceptions in stream-related functions
...
GH-5017
2019-12-20 12:01:02 +01:00
Nikita Popov
566b356eca
Merge branch 'PHP-7.4'
...
* PHP-7.4:
Fix #78980 : pgsqlGetNotify() overlooks dead connection
2019-12-20 11:45:50 +01:00
Nikita Popov
f974f252dd
Merge branch 'PHP-7.3' into PHP-7.4
...
* PHP-7.3:
Fix #78980 : pgsqlGetNotify() overlooks dead connection
2019-12-20 11:45:16 +01:00
SATO Kentaro
7e39e6934d
Fix #78980 : pgsqlGetNotify() overlooks dead connection
...
pgsqlGetNotify() didn't check result of PQconsumeInput().
2019-12-20 11:44:07 +01:00
Nikita Popov
5902b35f85
Merge branch 'PHP-7.4'
...
* PHP-7.4:
Fixed bug #79000
2019-12-20 11:38:01 +01:00
Nikita Popov
10eb0b3110
Fixed bug #79000
...
Don't report EAGAIN/EWOULDBLOCK as errors for fwrite on
non-blocking socket streams. This matches behavior for fread,
as well as behavior for plain file streams.
Closes GH-5026.
2019-12-20 11:37:43 +01:00
BohwaZ
3958592487
Add setAuthorizer method to SQLite3
...
This adds the possibility to define a userland callback that will be
used to authorize or not an action on the database.
2019-12-20 11:33:23 +01:00
Nikita Popov
5f2f450554
Merge branch 'PHP-7.4'
...
* PHP-7.4:
Fix #74170 : locale information change after mime_content_type
2019-12-20 11:24:14 +01:00
Nikita Popov
d4ba1fd963
Merge branch 'PHP-7.3' into PHP-7.4
...
* PHP-7.3:
Fix #74170 : locale information change after mime_content_type
2019-12-20 11:24:03 +01:00
Sergei Turchanov
c62cd9a43a
Fix #74170 : locale information change after mime_content_type
...
Some functions in libmagic (distributed with fileinfo extension) perform this sequence of calls:
func() {
setlocale(LC_TYPE, "C")
.. do some work ..
setlocale(LC_TYPE, "")
}
It effectively resets LC_TYPE if it that was set before the function call.
To avoid manipulations with current locale at all, the problematic functions
were modified to use locale-independent functions.
2019-12-20 11:22:59 +01:00
Nikita Popov
d011f60eb1
Merge branch 'PHP-7.4'
...
* PHP-7.4:
Fix #78402 : pcntl_signal() misleading error message
2019-12-20 11:03:15 +01:00
Nikita Popov
5155097431
Merge branch 'PHP-7.3' into PHP-7.4
...
* PHP-7.3:
Fix #78402 : pcntl_signal() misleading error message
2019-12-20 11:02:57 +01:00
SATO Kentaro
cbb0efaeeb
Fix #78402 : pcntl_signal() misleading error message
...
An error message can be misleading when a handler
passed to pcntl_signal() is not callable.
2019-12-20 11:02:20 +01:00
Nikita Popov
0d8ebbaa73
Merge branch 'PHP-7.4'
...
* PHP-7.4:
Fix early free of assign_obj op_data
2019-12-20 10:35:50 +01:00
Nikita Popov
885b3451f4
Fix early free of assign_obj op_data
...
We need to make sure that op_data is only freed after populating
result, as op_data may be the only thing holding the value in the
case of an overloaded assignment.
This reverts the code to how it looked like in 7.3.
2019-12-20 10:35:34 +01:00
Máté Kocsis
2ab123b84e
Convert string|array union parameter types
...
Closes GH-4995
2019-12-20 10:15:52 +01:00
Dmitry Stogov
621842e3f5
RECV opcode optimization
2019-12-20 06:46:25 +03:00
Máté Kocsis
bc231f017b
Add upgrading note about implode() [ci skip]
2019-12-19 22:58:26 +01:00
Dmitry Stogov
a31b5eca68
Merge branch 'PHP-7.4'
...
* PHP-7.4:
Fixed bug #78999 (Cycle leak when using function result as temporary)
2019-12-19 23:19:31 +03:00
Dmitry Stogov
66d5b0608a
Merge branch 'PHP-7.3' into PHP-7.4
...
* PHP-7.3:
Fixed bug #78999 (Cycle leak when using function result as temporary)
2019-12-19 23:17:39 +03:00
Dmitry Stogov
eb846939b1
Fixed bug #78999 (Cycle leak when using function result as temporary)
2019-12-19 23:11:08 +03:00
Christoph M. Becker
77c58fc53c
Merge branch 'PHP-7.4'
...
* PHP-7.4:
Fix #78983 : pdo_pgsql config.w32 cannot find libpq-fe.h
2019-12-19 13:21:52 +01:00
Christoph M. Becker
7e05f97fa6
Merge branch 'PHP-7.3' into PHP-7.4
...
* PHP-7.3:
Fix #78983 : pdo_pgsql config.w32 cannot find libpq-fe.h
2019-12-19 13:21:23 +01:00
SATO Kentaro
3e35b08980
Fix #78983 : pdo_pgsql config.w32 cannot find libpq-fe.h
...
When configured with a path specified.
2019-12-19 13:20:43 +01:00
Nikita Popov
557a211f46
Adjust test for notice->warning change
2019-12-19 12:03:09 +01:00
Nikita Popov
e15915d21c
Merge branch 'PHP-7.4'
...
* PHP-7.4:
Avoid signed integer overflow in string offset check
2019-12-19 11:48:20 +01:00
Nikita Popov
527ad1d80c
Avoid signed integer overflow in string offset check
...
Cast to size_t before performing operations instead of afterwards.
2019-12-19 11:47:50 +01:00
Nikita Popov
89d1e6b7d0
Merge branch 'PHP-7.4'
...
* PHP-7.4:
Add destructor annotations in ini parser
2019-12-19 10:43:23 +01:00
Nikita Popov
e4b12fc62a
Merge branch 'PHP-7.3' into PHP-7.4
...
* PHP-7.3:
Add destructor annotations in ini parser
2019-12-19 10:43:14 +01:00
Nikita Popov
0f078f6e78
Add destructor annotations in ini parser
...
It would be better to switch this to use %union and %type annotations,
but not going to do that change for 7.3.
2019-12-19 10:43:05 +01:00
Nikita Popov
2a76384b87
Merge branch 'PHP-7.4'
...
* PHP-7.4:
Fix leak in assign_ref with function
2019-12-18 17:18:46 +01:00
Nikita Popov
df08d6bffe
Fix leak in assign_ref with function
...
As far as I can see, the retval copying is already done in all
callers of this function, so it should not be duplicated here.
2019-12-18 17:18:10 +01:00
Nikita Popov
655d5c8383
Merge branch 'PHP-7.4'
...
* PHP-7.4:
Fixed bug #78776
2019-12-18 15:56:10 +01:00
Nikita Popov
4a61d842e7
Fixed bug #78776
...
By using the normal inheritance check if the parent is abstract
as well.
2019-12-18 15:55:45 +01:00
Remi Collet
78fd95ced8
Merge branch 'PHP-7.4'
...
* PHP-7.4:
fix release date
fix release date
fix release date
2019-12-18 14:18:16 +01:00
Remi Collet
76eb30ded3
fix release date
2019-12-18 14:18:03 +01:00
Remi Collet
e5e1425a05
Merge branch 'PHP-7.3' into PHP-7.4
...
* PHP-7.3:
fix release date
fix release date
2019-12-18 14:17:49 +01:00
Remi Collet
bacfae8baf
fix release date
2019-12-18 14:17:31 +01:00
Remi Collet
22dec2b323
Merge branch 'PHP-7.2' into PHP-7.3
...
* PHP-7.2:
fix release date
2019-12-18 14:17:21 +01:00
Remi Collet
864f5ef12f
fix release date
2019-12-18 14:16:19 +01:00
Nikita Popov
aadd5e69e0
Merge branch 'PHP-7.4'
...
* PHP-7.4:
Fixed bug #78986
2019-12-18 11:41:11 +01:00
Nikita Popov
bd4fce4f6f
Fixed bug #78986
...
Don't assume that handlers live in the arena, they may also be in
SHM.
2019-12-18 11:40:58 +01:00
Fabien Villepinte
d02c99444c
Merge branch 'PHP-7.4'
2019-12-18 11:10:10 +01:00