1
0
mirror of https://github.com/php/php-src.git synced 2026-04-24 16:38:25 +02:00
Commit Graph

51035 Commits

Author SHA1 Message Date
Peter Kokot 39caedac3e Merge branch 'PHP-7.4'
* PHP-7.4:
  Little detection change proposal.
2019-04-27 21:18:47 +02:00
David Carlier bb06030bf7 Little detection change proposal.
As pointed out, the further path is called by open rather than shm_open.
2019-04-27 21:18:27 +02:00
Christoph M. Becker 9396535033 Merge branch 'PHP-7.4'
* PHP-7.4:
  Fix #77944: Wrong meta pdo_type for bigint on LLP64
2019-04-27 18:48:39 +02:00
Christoph M. Becker 3464929d64 Merge branch 'PHP-7.3' into PHP-7.4
* PHP-7.3:
  Fix #77944: Wrong meta pdo_type for bigint on LLP64
2019-04-27 18:48:09 +02:00
Christoph M. Becker e561d4100b Merge branch 'PHP-7.2' into PHP-7.3
* PHP-7.2:
  Fix #77944: Wrong meta pdo_type for bigint on LLP64
2019-04-27 18:47:32 +02:00
Christoph M. Becker 16609880f8 Fix #77944: Wrong meta pdo_type for bigint on LLP64
When actually fetching the data, bigint (unsigned) column values are
returned as integers on LLP64 architectures, so their pdo_type has to
be PDO::PARAM_INT accordingly.
2019-04-27 18:46:27 +02:00
Nikita Popov 8047cf9ba4 Merge branch 'PHP-7.4' 2019-04-26 15:05:56 +02:00
Nikita Popov 2371c65a28 Fix file name clash in zlib tests 2019-04-26 15:05:42 +02:00
Christoph M. Becker 0e2ff0dd94 Merge branch 'PHP-7.4'
* PHP-7.4:
  Fix VirtualProtect() related Phar issues
2019-04-26 09:09:35 +02:00
Christoph M. Becker be74a00464 Fix VirtualProtect() related Phar issues
We must not (try to) modify shared values, but rather have to use our
own copies, if unixified filenames are required on Windows.  To avoid
excessive string duplication, we add checks whether the filenames are
already unixified (i.e. do not contain backslashes).  To improve the
performance if we need to copy strings, we use do_alloca() and friends.

Besides generally being somewhat messy, the handling of unixified
filenames is still suboptimal performance-wise, but we leave this for a
future cleanup, and focus on fixing the issue at hand for now.

We also enable opcache.protect_memory for the AppVeyor CI.
2019-04-26 09:09:22 +02:00
Christoph M. Becker 6bfb59b51c Merge branch 'PHP-7.4'
* PHP-7.4:
  Fix #77940: test using outdated mon_thousands_sep for Swedish
2019-04-25 23:29:42 +02:00
Christoph M. Becker 09345d70fd Merge branch 'PHP-7.3' into PHP-7.4
* PHP-7.3:
  Fix #77940: test using outdated mon_thousands_sep for Swedish
2019-04-25 23:29:25 +02:00
Christoph M. Becker 70239ea1d3 Merge branch 'PHP-7.2' into PHP-7.3
* PHP-7.2:
  Fix #77940: test using outdated mon_thousands_sep for Swedish
2019-04-25 23:29:03 +02:00
Christoph M. Becker 7ddfe73e69 Fix #77940: test using outdated mon_thousands_sep for Swedish
Of course, we should expect a comma, not a period.
2019-04-25 23:28:41 +02:00
Christoph M. Becker 7db0fa023b Merge branch 'PHP-7.4'
* PHP-7.4:
  Fix #77940: test using outdated mon_thousands_sep for Swedish
2019-04-25 19:41:01 +02:00
Christoph M. Becker f532618776 Merge branch 'PHP-7.3' into PHP-7.4
* PHP-7.3:
  Fix #77940: test using outdated mon_thousands_sep for Swedish
2019-04-25 19:40:37 +02:00
Christoph M. Becker 3e31ae5d70 Merge branch 'PHP-7.2' into PHP-7.3
* PHP-7.2:
  Fix #77940: test using outdated mon_thousands_sep for Swedish
2019-04-25 19:40:05 +02:00
Christoph M. Becker bfbfb9dabd Fix #77940: test using outdated mon_thousands_sep for Swedish
This time so that it works for all Windows 10 versions (hopefully).
2019-04-25 19:39:42 +02:00
Christoph M. Becker a777322f16 Merge branch 'PHP-7.4'
* PHP-7.4:
  Fix #77940: test using outdated mon_thousands_sep for Swedish
2019-04-25 09:00:02 +02:00
Christoph M. Becker 627c0017b0 Merge branch 'PHP-7.3' into PHP-7.4
* PHP-7.3:
  Fix #77940: test using outdated mon_thousands_sep for Swedish
2019-04-25 08:59:35 +02:00
Christoph M. Becker dcba479848 Merge branch 'PHP-7.2' into PHP-7.3
* PHP-7.2:
  Fix #77940: test using outdated mon_thousands_sep for Swedish
2019-04-25 08:59:09 +02:00
Christoph M. Becker 37ca6a7a2a Fix #77940: test using outdated mon_thousands_sep for Swedish 2019-04-25 08:58:13 +02:00
Christoph M. Becker 297be5adc0 Merge branch 'PHP-7.4'
* PHP-7.4:
  Fix #77938: socket_get_option error
2019-04-25 00:08:05 +02:00
Christoph M. Becker 6dbb1d9318 Merge branch 'PHP-7.3' into PHP-7.4
* PHP-7.3:
  Fix #77938: socket_get_option error
2019-04-25 00:06:15 +02:00
Christoph M. Becker ad0acc0aa9 Merge branch 'PHP-7.2' into PHP-7.3
* PHP-7.2:
  Fix #77938: socket_get_option error
2019-04-25 00:04:37 +02:00
Christoph M. Becker fe202d99c8 Fix #77938: socket_get_option error
Since tcp_socket/ssl streams are not representable, we suppress the
redirect to fix the test case.
2019-04-25 00:03:45 +02:00
Dmitry Stogov 395dd416aa Merge branch 'PHP-7.4'
* PHP-7.4:
  Use better macros
2019-04-24 22:28:05 +03:00
Dmitry Stogov 21c36341af Use better macros 2019-04-24 22:27:40 +03:00
Dmitry Stogov a6e0df9a92 Merge branch 'PHP-7.4'
* PHP-7.4:
  settype() optimization
2019-04-24 22:24:05 +03:00
Dmitry Stogov 9e9407c22e settype() optimization 2019-04-24 22:23:49 +03:00
Dmitry Stogov e188e4170f Use ZEND_TRY_ASSIGN_REF_... macros for arguments passed to internal function by reference 2019-04-24 18:28:29 +03:00
Dmitry Stogov 2e4686b566 Use ZEND_TRY_ASSIGN_REF_... macros for arguments passed to internal function by reference 2019-04-24 18:16:47 +03:00
Dmitry Stogov 34db07567d Use ZEND_TRA_ASSIGN_REF_... macros for by reference arguments of internal functions. 2019-04-24 16:14:48 +03:00
David Carlier 3a2cc1614a JIT profiling other BSD build fixes 2019-04-24 14:52:50 +02:00
Dmitry Stogov dd7cbadc02 Merge branch 'PHP-7.4'
* PHP-7.4:
  Optimize constant SWITCH_LONG and SWITCH_STRING
2019-04-24 00:09:12 +03:00
Dmitry Stogov db2ffcf157 Optimize constant SWITCH_LONG and SWITCH_STRING 2019-04-24 00:08:17 +03:00
Dmitry Stogov 26353a2640 Fixed test (Warning -> Exception) 2019-04-23 22:44:30 +03:00
Dmitry Stogov 16e0fe0baa Merge branch 'PHP-7.4'
* PHP-7.4:
  Don't eliminate BIND_STATIC if it may cause undefined constant warning
2019-04-23 22:40:11 +03:00
Dmitry Stogov 4d0d7ce349 Don't eliminate BIND_STATIC if it may cause undefined constant warning 2019-04-23 22:39:14 +03:00
Peter Kokot fe54a66720 Merge branch 'PHP-7.4'
* PHP-7.4:
  Simplify libxmlrpc bundling and building
2019-04-23 20:18:38 +02:00
Peter Kokot 96a9fb2052 Simplify libxmlrpc bundling and building
The xmlrpc library is a forked, modified and bundled into the PHP source
code. Instead of having a separate *nix build system files in the xmlrpc
library this patch removes unneeded build checks.

- AC_PROG_CC is not needed to be called by the extension itself since it
  is already part of the main configure.ac and the phpize's
  configure.ac.
- UNDEF_THREADS_HACK is not used in the current codebase.
- Symbols defined by XMLRPC_HEADER_CHECKS are not used in the current
  code.
- Symbols defined by XMLRPC_FUNCTION_CHECKS are not used in the current
  code.
- AC_PROG_RANLIB is already done by the TSRM's files and isn't needed
  for the xmlrpc extension to work.
- AC_PROG_LN_S is already done by the PHP main configure.ac and also
  isn't needed by the xmlrpc extension to be built.
2019-04-23 20:17:33 +02:00
Dmitry Stogov 4c25fc5479 Implemented JIT for SWITCH_LONG/SWITCH_STRING 2019-04-23 17:40:10 +03:00
Nikita Popov 3a8304c35a Merge branch 'PHP-7.4' 2019-04-23 13:15:09 +02:00
Nikita Popov 3cfbbf2956 Make DateInterval objects uncomparable
Arbitrary DateInterval objects don't have well-defined comparison
semantics. Throw a warning and treat the objects as uncomparable.

Support for comparing DateInterval objects returned by
DateTime::diff() may be added in the future.
2019-04-23 13:12:06 +02:00
Nikita Popov 7208826fde Merge branch 'PHP-7.4' 2019-04-23 12:44:26 +02:00
Nikita Popov eb7d57eb77 Merge branch 'PHP-7.3' into PHP-7.4 2019-04-23 12:43:37 +02:00
Nikita Popov 68892410f7 Merge branch 'PHP-7.2' into PHP-7.3 2019-04-23 12:43:32 +02:00
Nikita Popov 4831e150c5 Fixed bug #77843 2019-04-23 12:43:07 +02:00
Nikita Popov 15c0135d5b Merge branch 'PHP-7.4' 2019-04-23 11:40:56 +02:00
Nikita Popov a7a318d3c0 Merge branch 'PHP-7.3' into PHP-7.4 2019-04-23 11:40:43 +02:00