Commit Graph
89991 Commits
Author SHA1 Message Date
Dmitry Stogov 06ef3aa6b0 Fixed string handling (string cached in SHM marked as permanent, strings stored in CG(arena) as not)
Fixed anonymous class support
2015-05-12 13:45:52 +03:00
Xinchen Hui 3c027e1e4e Merge branch 'phpize-zts-display' of https://github.com/monque/php-src 2015-05-12 17:42:23 +08:00
Yuchen Wang 2bd097c9f6 Fix wrong display in ZTS checking 2015-05-12 17:32:01 +08:00
Julien Pauli 79fc9662a3 Updated NEWS 2015-05-12 11:29:47 +02:00
Mats Lindh 7a57061a1f Add comment about SEARCH HTTP Verb being possible as well 2015-05-12 11:24:27 +02:00
Mats Lindh b6018144cd Add test for the SEARCH HTTP verb in the CLI HTTP server. 2015-05-12 11:24:27 +02:00
Mats Lindh 98d015c5b7 Add "SEARCH" as supported HTTP verb.
The "SEARCH" HTTP request method is described in RFC5323 as part of
WebDAV, and allows a client to initiate a server side search.
2015-05-12 11:24:27 +02:00
Julien Pauli 7ff82e2020 Updated UPGRADING 2015-05-12 11:20:12 +02:00
Julien Pauli 0b22cf04e3 Fixed tests 2015-05-12 11:18:35 +02:00
Stanislav Malyshev ef8bb69a14 Ban rebinding closures to different internal classes 2015-05-12 10:54:59 +02:00
Julien Pauli 649b82ce4c Updated UPGRADING 2015-05-12 10:47:35 +02:00
Christoph M. Becker 613f747579 prohibit empty cookie names for setcookie() 2015-05-12 10:47:35 +02:00
Xinchen Hui 1b9a88ed1c Merge branch 'fpm-trace' of https://github.com/laruence/php-src 2015-05-12 16:38:40 +08:00
Xinchen Hui 16265a59ac Use explicit type here 2015-05-12 16:35:57 +08:00
Andreas Heigl 983b101f8e Implements extended error messages
This commit introduces a new constant that can be used to retrieve more
detailed error messages.

This fixes #47222

The new constant LDAP_OPT_DIAGNOSTIC_MESSAGE is defined in PHP when the
underlying library provides (and understands) it. This is the case in
the current OpenLDAP-implementation.

Tanks to Johnny Willer who provided the solution at http://stackoverflow.com/questions/28765077/get-number-of-ad-errors-with-ldap-and-php-ldap-function-return-unprecise-error/28816473#28816473
2015-05-12 10:06:54 +02:00
Loïck Piera 5cf78b81ea Fix typo in INSTALL 2015-05-12 09:58:08 +02:00
Josef Šimánek 413d23f6f0 Remove MSIE 5-specific Cache-Control fields.
reverts 04daa55
2015-05-12 09:53:17 +02:00
Xinchen Hui 81049cdf06 Implemented fpm_trace for PHP7 2015-05-11 11:22:38 +08:00
Anatol Belski 0be37148ad catch more places for libxml headers search 2015-05-10 22:22:05 +02:00
Anatol Belski becfdeb2ff improve searchability for libxml2 headers
and bring the configs inline with the current libxml2 build
2015-05-10 22:22:03 +02:00
Anatol Belski e570bb430d fix snprintf redefinition in libxmlrpc under vc14 2015-05-10 22:22:02 +02:00
Anatol Belski f22a5bd710 fix timezone usage in soap for vc14 2015-05-10 22:22:01 +02:00
Jakub Zelenka 359df4dea8 Tidy up and regenerate json parser with latest bison version 2015-05-10 18:08:16 +01:00
Anatol Belski c93a360661 fix _timezone usage for vc14 2015-05-10 18:17:24 +02:00
Lauri Kenttä cf7e5357a4 random_int: Fix power of two check.
(x & ~x) is always 0.
((x & (~x + 1)) != x) works.
((x & (x - 1)) != 0) works too.
2015-05-10 13:00:45 +02:00
Stanislav Malyshev 8c8889e7d4 Merge branch 'PHP-5.6'
* PHP-5.6:
  Fix #48147 - implement manual handling of  //IGNORE for broken libc

Conflicts:
	ext/iconv/iconv.c
2015-05-09 19:00:40 -07:00
Stanislav Malyshev 1ceacc813a Merge branch 'fix48147'
* fix48147:
  Fix #48147 - implement manual handling of  //IGNORE for broken libc
2015-05-09 18:59:10 -07:00
Stanislav Malyshev 33594b78ec Merge branch 'PHP-5.5' into PHP-5.6
* PHP-5.5:
  Fix #48147 - implement manual handling of  //IGNORE for broken libc
2015-05-09 18:57:18 -07:00
Stanislav Malyshev 473ec539a1 Fix #48147 - implement manual handling of //IGNORE for broken libc
Conflicts:
	ext/iconv/iconv.c
2015-05-09 18:54:40 -07:00
SammyK dd2692621d Add tests for CSPRNG, fix C99 comments
Also replace one return; with RETURN_FALSE; for consistency.
2015-05-09 22:29:26 +02:00
Leigh 5f1b83e9bb Improve CSPRNG implementation 2015-05-09 21:57:59 +02:00
SammyK bc54d139aa Initial implementation for CSPRNG API 2015-05-09 21:57:50 +02:00
Stanislav Malyshev f8f1d275cf Fix #48147 - implement manual handling of //IGNORE for broken libc 2015-05-08 12:55:39 -07:00
Nikita Popov 8f9f21e8d2 Fix static closure error in call_user_func opcode
I'm assuming this is the only error that is_callable() can generate
with retval=1.

This problem manifested after making closures in static methods
not implicitly static, but would also occur when binding any non-static
closure to a scope without a $this.
2015-05-08 15:17:15 +02:00
Xinchen Hui 9d4465e480 Sorry, missed here should be checked 2015-05-08 14:03:08 +08:00
Xinchen Hui 33097bcff6 Remove not necessary checks 2015-05-08 13:54:28 +08:00
Xinchen Hui f05baec0db Reorder fields of curl 2015-05-08 13:36:55 +08:00
Xinchen Hui 0c92538e6f revert previously change to this 2015-05-08 10:33:19 +08:00
Daniel Lowrey c488172975 Improve ZBLOCK handling with zlib < 1.2.4
The original commit for this issue (62b1293) assumed Z_BLOCK was
only defined in < 1.2.4. However, this flush type *is* defined but
is only unavailable for use with deflate().

This new commit correctly checks the ZLIB_VERNUM constant to
determine if Z_BLOCK flush is available for the current deflate()
operation and triggers an appropriate error as needed.

New ZLIB_VERSION and ZLIB_VERNUM constants are also exposed in
userland to allow testing this behavior in environments running
zlib < 1.2.4 (ZLIB_VERNUM check is needed).
2015-05-07 10:31:41 -04:00
Dmitry Stogov 3cc59b3fa0 Merge branch 'master' of git.php.net:php-src
* 'master' of git.php.net:php-src:
  Add some NEWS entries
  Allow self etc in eval / file scope
  fix typo in php.ini
2015-05-07 17:27:29 +03:00
Dmitry Stogov a989c0a1a9 Improved fast path locality 2015-05-07 17:26:35 +03:00
Dmitry Stogov bdbe121098 Fixed $this release 2015-05-07 17:26:01 +03:00
Xinchen Hui d258b7a5e4 Merge branch 'php-ini-typo' of https://github.com/lazysoundsystem/php-src 2015-05-07 22:24:21 +08:00
Nikita Popov 34100be688 Add some NEWS entries 2015-05-07 15:38:16 +02:00
Nikita Popov 6ef8ae65a2 Allow self etc in eval / file scope
This fixes a regression from 16a9bc1ec2.
Together with the recent closure related changes this should allow
all usages of self etc, while previously (in PHP 5) some things like
self::class did not work.
2015-05-07 15:38:16 +02:00
Dmitry Stogov ab4ccffc4c Avoid unnecessary reference counter incrementation on $this when call methods 2015-05-07 16:28:23 +03:00
Daniel Lowrey 62b1293e3d Fix Z_BLOCK breakage when built against zlib < 1.2.4 2015-05-07 09:02:38 -04:00
Xinchen Hui fbd1f1f282 Merge branch 'master' of git.php.net:php-src 2015-05-07 19:25:41 +08:00
Xinchen Hui 460e2e6a04 Fixed test in some cases(for more children, needs more time) 2015-05-07 19:25:04 +08:00
Dmitry Stogov e5ea3f362c Merge branch 'master' of git.php.net:php-src
* 'master' of git.php.net:php-src:
  set ext/zip version to 1.13 (as we have new methods... semver...)
2015-05-07 12:19:33 +03:00