1
0
mirror of https://github.com/php/php-src.git synced 2026-04-28 02:33:17 +02:00
Commit Graph

121935 Commits

Author SHA1 Message Date
Dmitry Stogov 02fa213d36 Merge branch 'PHP-8.0'
* PHP-8.0:
  Added missing deoptimization code for trampoline handling
2020-11-19 12:32:49 +03:00
Dmitry Stogov 069f9cbaa5 Added missing deoptimization code for trampoline handling 2020-11-19 12:32:36 +03:00
Nikita Popov 72ce6a131e Merge branch 'PHP-8.0'
* PHP-8.0:
  Export zend_is_callable_at_frame
2020-11-19 10:30:38 +01:00
Nikita Popov 46b9e0c874 Export zend_is_callable_at_frame
Export the zend_is_callable_impl() function as
zend_is_callable_at_frame() for use by extension. As twose pointed
out, an extension may want to retrieve fcc for a private method.
2020-11-19 10:29:32 +01:00
Nikita Popov 8579f3d331 Merge branch 'PHP-8.0'
* PHP-8.0:
  Fix curl_multi_getcontent() parameter name
2020-11-19 10:18:10 +01:00
Nikita Popov 06c4a501fd Fix curl_multi_getcontent() parameter name
While the function name starts with curl_multi_*, the function
actually accepts a CurlHandle. As such, it should also use just
$handle as the parameter name.

Closes GH-6435.
2020-11-19 10:17:17 +01:00
Christoph M. Becker 9b5f96e465 Fix inclusion order for phpize builds on Windows
`configure` for `phpize` builds on Windows creates Makefile and
config.pickle.h and includes the latter via the command line option
`/FI`.  That implies that config.pickle.h is always included before
config.w32.h, which means that standard definitions always override
extension specific definitions, while it should be the other way round.

Therefore, we change the inclusion order by including config.pickle.h
at the end of config.w32.h if the former is available, and also make
sure to avoid any potential C4005 warnings by `#undef`ining the macros
before defining them.

Closes GH-6269.
2020-11-18 12:50:26 +01:00
Nikita Popov a6bcad4a9e Merge branch 'PHP-8.0'
* PHP-8.0:
  Short-circuit get_gc for currently running generator
2020-11-18 12:46:32 +01:00
Nikita Popov bbc0dd402a Merge branch 'PHP-7.4' into PHP-8.0
* PHP-7.4:
  Short-circuit get_gc for currently running generator
2020-11-18 12:46:12 +01:00
Nikita Popov 99a8ec6e24 Short-circuit get_gc for currently running generator 2020-11-18 12:45:29 +01:00
Dmitry Stogov 511a50d0d2 Merge branch 'PHP-8.0'
* PHP-8.0:
  Fixed register clobbering
2020-11-18 10:22:41 +03:00
Dmitry Stogov feed041fc8 Fixed register clobbering 2020-11-18 10:22:25 +03:00
Dmitry Stogov fa7af81c22 Merge branch 'PHP-8.0'
* PHP-8.0:
  Fixed trampoline handling
2020-11-17 23:56:39 +03:00
Dmitry Stogov 9841e8e411 Fixed trampoline handling 2020-11-17 23:56:05 +03:00
Dmitry Stogov d96ff29cc2 Merge branch 'PHP-8.0'
* PHP-8.0:
  Update NEWS for 8.0.0
  Update NEWS for PHP 8.0.0RC5
2020-11-17 23:54:48 +03:00
Gabriel Caruso fd75589b1f Update NEWS for 8.0.0 2020-11-17 16:34:55 +00:00
Gabriel Caruso 0a9b688bee Update NEWS for PHP 8.0.0RC5 2020-11-17 16:23:11 +00:00
Dmitry Stogov 0ef67ba841 Merge branch 'PHP-8.0'
* PHP-8.0:
  Fixed allocated register clobbering
2020-11-17 18:32:01 +03:00
Dmitry Stogov e364af91b5 Fixed allocated register clobbering 2020-11-17 18:31:14 +03:00
Dmitry Stogov 87ae111a5c Merge branch 'PHP-8.0'
* PHP-8.0:
  Fixed false pasitive ASAN NULL pointer dereference warning
2020-11-17 16:24:44 +03:00
Dmitry Stogov 1523733bc4 Fixed false pasitive ASAN NULL pointer dereference warning 2020-11-17 16:23:30 +03:00
Nikita Popov 14458ec7e9 Merge branch 'PHP-8.0'
* PHP-8.0:
  Fix #80312: change default engine from MyISAM to InnoDB in tests
2020-11-17 13:16:32 +01:00
Nikita Popov f4a600be04 Merge branch 'PHP-7.4' into PHP-8.0
* PHP-7.4:
  Fix #80312: change default engine from MyISAM to InnoDB in tests
2020-11-17 13:16:17 +01:00
Darek Slusarczyk 79a606bd95 Fix #80312: change default engine from MyISAM to InnoDB in tests
Change mysqli and pdo_mysql tests configuration to use by default
InnoDB instead of MyISAM.

Closes GH-6405.
2020-11-17 13:15:15 +01:00
Nikita Popov 5e84975aed Merge branch 'PHP-8.0'
* PHP-8.0:
  Fixed bug #80370: Segmentation fault reflecting attributes of dynamic property
2020-11-17 10:54:38 +01:00
Benjamin Eberlei 1727d96d0e Fixed bug #80370: Segmentation fault reflecting attributes of dynamic property
Closes GH-6428.
2020-11-17 10:54:27 +01:00
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