Nikita Popov
5bd7305cf0
Merge branch 'PHP-8.0'
...
* PHP-8.0:
Provide unused retvals to observers
2020-11-17 10:30:20 +01:00
Sammy Kaye Powers
58d41b8c4f
Provide unused retvals to observers
...
Make sure that the return value is available to observers, even if
it is not used by the caller.
Closes GH-6422.
2020-11-17 10:28:47 +01:00
Nikita Popov
c4b2a40fdd
Merge branch 'PHP-8.0'
...
* PHP-8.0:
Fix incorrectly optimized out live range
2020-11-17 10:20:52 +01:00
Nikita Popov
9cfb5261e4
Merge branch 'PHP-7.4' into PHP-8.0
...
* PHP-7.4:
Fix incorrectly optimized out live range
2020-11-17 10:20:23 +01:00
Nikita Popov
df7417d127
Fix incorrectly optimized out live range
...
For x ? y : z style structures, the live range starts at z, but
may also hold the value of y. Make sure that the refcounting check
takes this into account, by checking the type of a potential phi
user.
2020-11-17 10:19:57 +01:00
Sammy Kaye Powers
e974becbb1
Merge branch 'PHP-8.0'
...
* PHP-8.0:
Fire open observer end handlers after a zend_bailout
2020-11-16 15:13:29 -08:00
Sammy Kaye Powers
0425a6697a
Fire open observer end handlers after a zend_bailout
...
Closes GH-6377
2020-11-16 15:12:57 -08:00
Dmitry Stogov
977134352d
Merge branch 'PHP-8.0'
...
* PHP-8.0:
Fixed MAY_BE_INDIRECT inference
2020-11-16 18:17:17 +03:00
Dmitry Stogov
3fb1b0862c
Fixed MAY_BE_INDIRECT inference
2020-11-16 18:17:05 +03:00
Christoph M. Becker
fe27c5371e
Merge branch 'PHP-8.0'
...
* PHP-8.0:
Fix #74558 : Can't rebind closure returned by Closure::fromCallable()
2020-11-16 14:34:52 +01:00
Christoph M. Becker
c351768e4f
Merge branch 'PHP-7.4' into PHP-8.0
...
* PHP-7.4:
Fix #74558 : Can't rebind closure returned by Closure::fromCallable()
2020-11-16 14:34:28 +01:00
Christoph M. Becker
78773890f6
Fix #74558 : Can't rebind closure returned by Closure::fromCallable()
...
Failure to rebind such closures is not necessarily related to them
being created by `ReflectionFunctionAbstract::getClosure()`, so we fix
the error message.
Closes GH-6424.
2020-11-16 14:31:06 +01:00
Dmitry Stogov
6e50e2abc0
Merge branch 'PHP-8.0'
...
* PHP-8.0:
Fixed alias handling
2020-11-16 16:11:48 +03:00
Dmitry Stogov
e3c63de05b
Fixed alias handling
2020-11-16 16:11:25 +03:00
Dmitry Stogov
18d2b7f79a
Merge branch 'PHP-8.0'
...
* PHP-8.0:
Fixed reference-counting
Fixed incorrect FETCH_THIS optimization
2020-11-16 14:52:18 +03:00
Dmitry Stogov
eb6d496a93
Fixed reference-counting
2020-11-16 14:51:55 +03:00
Dmitry Stogov
edf5c1901f
Fixed incorrect FETCH_THIS optimization
2020-11-16 14:51:39 +03:00
Dmitry Stogov
04393f29a8
Merge branch 'PHP-8.0'
...
* PHP-8.0:
Fixed inconsistent VM stack state
2020-11-16 13:21:03 +03:00
Dmitry Stogov
bd321df479
Fixed inconsistent VM stack state
2020-11-16 13:19:44 +03:00
Dmitry Stogov
849b9e2bcd
Merge branch 'PHP-8.0'
...
* PHP-8.0:
Trampoline cleanup
2020-11-16 12:06:09 +03:00
Dmitry Stogov
64dc79f906
Trampoline cleanup
2020-11-16 12:05:45 +03:00
Christoph M. Becker
c3885f2316
Add --repeat flag to usage info of run-tests.php
...
Closes GH-6429.
2020-11-15 16:41:46 +01:00
Christoph M. Becker
604e66edd2
Merge branch 'PHP-8.0'
...
* PHP-8.0:
[ci skip] Add note that imagedestroy() no longer has an effect
2020-11-14 15:18:52 +01:00
Pavel Djundik
7bbed18086
[ci skip] Add note that imagedestroy() no longer has an effect
...
Closes GH-6427.
2020-11-14 15:18:20 +01:00
Nikita Popov
1a6d4875a0
Merge branch 'PHP-8.0'
...
* PHP-8.0:
Inline pair production in json parser
2020-11-13 14:57:31 +01:00
Nikita Popov
f5be0e5110
Inline pair production in json parser
...
Having this as a separate production has a noticeable performance
impact, and doesn't really make things clearer either.
2020-11-13 14:56:29 +01:00
Christoph M. Becker
1e0610fe24
Merge branch 'PHP-8.0'
...
* PHP-8.0:
Strip trailing line breaks and periods from Windows error messages
2020-11-12 16:43:57 +01:00
Christoph M. Becker
a08a2b48b4
Strip trailing line breaks and periods from Windows error messages
...
PHP error messages should not contain line breaks, so we remove these
from the Windows specific error messages. We also remove trailing
periods for the same reason.
Closes GH-6423.
2020-11-12 16:42:28 +01:00
Nikita Popov
be29853353
Merge branch 'PHP-8.0'
...
* PHP-8.0:
Don't assume libmysqlclient library name
2020-11-12 15:12:57 +01:00
Nikita Popov
34dd032e4e
Don't assume libmysqlclient library name
...
By simply dropping the additional checks, in line with the general
guideline of trusting the output of config scripts (this should
be migrated to pkg-config though).
Also drop the code for manually adding -z if mysql_config does not
-- that's not our problem.
2020-11-12 15:11:56 +01:00
Nikita Popov
4d24a6928f
Merge branch 'PHP-8.0'
...
* PHP-8.0:
Fix memory leak when user filter onCreate returns false
2020-11-12 12:18:49 +01:00
Nikita Popov
2875d0f920
Fix memory leak when user filter onCreate returns false
2020-11-12 12:18:33 +01:00
Nikita Popov
aa70770115
Merge branch 'PHP-8.0'
...
* PHP-8.0:
Fix memory leak with bcsqrt on number 0<X<1
2020-11-12 11:38:23 +01:00
Nikita Popov
3d2819e491
Fix memory leak with bcsqrt on number 0<X<1
2020-11-12 11:37:54 +01:00
Nikita Popov
4e6ea169ae
Merge branch 'PHP-8.0'
...
* PHP-8.0:
Fix reflection getDefaultValue() with user arg info
2020-11-12 11:02:50 +01:00
Nikita Popov
d033d5c07a
Fix reflection getDefaultValue() with user arg info
...
The default value is part of the op_array in that case, but we have
no way to access it. Fail gracefully.
2020-11-12 11:02:04 +01:00
Dmitry Stogov
d54e197bae
Merge branch 'PHP-8.0'
...
* PHP-8.0:
Fixed incorrectly eliminated type store
2020-11-11 20:14:40 +03:00
Dmitry Stogov
9acebe14df
Fixed incorrectly eliminated type store
2020-11-11 20:13:58 +03:00
Dmitry Stogov
9f13c8feb1
Merge branch 'PHP-8.0'
...
* PHP-8.0:
Remove assertion
2020-11-11 18:34:30 +03:00
Dmitry Stogov
03e7854381
Remove assertion
2020-11-11 18:34:16 +03:00
Nikita Popov
fe73616db6
Merge branch 'PHP-8.0'
...
* PHP-8.0:
Handle errors during next_result()
2020-11-11 16:03:32 +01:00
Nikita Popov
d776c31a34
Merge branch 'PHP-7.4' into PHP-8.0
...
* PHP-7.4:
Handle errors during next_result()
2020-11-11 16:03:10 +01:00
Nikita Popov
eda7492604
Handle errors during next_result()
2020-11-11 16:02:52 +01:00
Dmitry Stogov
fa355615a4
Merge branch 'PHP-8.0'
...
* PHP-8.0:
Fixed incorrect invariant guard motion
2020-11-11 17:35:14 +03:00
Dmitry Stogov
2d2d42b268
Fixed incorrect invariant guard motion
2020-11-11 17:34:46 +03:00
Dmitry Stogov
aa84e2c364
Merge branch 'PHP-8.0'
...
* PHP-8.0:
Stop on fake frame
Fixed reference-counting propagation
2020-11-11 14:55:08 +03:00
Dmitry Stogov
de359c00b4
Stop on fake frame
2020-11-11 14:54:54 +03:00
Dmitry Stogov
a0de82ad75
Fixed reference-counting propagation
2020-11-11 14:54:00 +03:00
Nikita Popov
01de00073f
Merge branch 'PHP-8.0'
...
* PHP-8.0:
Fix double free when socket_accept fails
2020-11-11 12:48:44 +01:00
Nikita Popov
800cf5a20f
Fix double free when socket_accept fails
2020-11-11 12:48:25 +01:00