]>
granicus.if.org Git - php/log
Nikita Popov [Sun, 24 Jun 2018 20:29:07 +0000 (22:29 +0200)]
Merge branch 'PHP-7.2'
Nikita Popov [Sun, 24 Jun 2018 20:28:49 +0000 (22:28 +0200)]
Merge branch 'PHP-7.1' into PHP-7.2
Nikita Popov [Sun, 24 Jun 2018 20:26:45 +0000 (22:26 +0200)]
Fixed bug #76502
Nikita Popov [Sun, 24 Jun 2018 11:34:32 +0000 (13:34 +0200)]
Remove expr_without_variable
We no longer need this distinction.
Anatol Belski [Fri, 22 Jun 2018 15:56:18 +0000 (17:56 +0200)]
Remove obsolete version checks in tests
Anatol Belski [Fri, 22 Jun 2018 15:33:57 +0000 (17:33 +0200)]
[ci skip] Update NEWS
Anatol Belski [Fri, 22 Jun 2018 15:27:41 +0000 (17:27 +0200)]
If there's no setlocale, char tables are not used
Nikita Popov [Fri, 22 Jun 2018 14:22:50 +0000 (16:22 +0200)]
Merge branch 'PHP-7.2'
Nikita Popov [Fri, 22 Jun 2018 14:22:04 +0000 (16:22 +0200)]
Fixed bug #76520
Anatol Belski [Fri, 22 Jun 2018 13:13:29 +0000 (15:13 +0200)]
Don't discard char tables just generated
Remi Collet [Fri, 22 Jun 2018 12:58:30 +0000 (14:58 +0200)]
add note about php_url struct changes
Anatol Belski [Fri, 22 Jun 2018 12:37:59 +0000 (14:37 +0200)]
Improve locale character tables handling and reduce pattern cache size
If a locale other than C is active, character tables are saved into the
compile context. Every compiled pattern will have a pointer to the
character table, that was present in the context at the time of the
pattern compilation. Thus, the cache entries don't need to carry char
tables pointer, which reduces their size to 8 bytes on 64-bit. Instead,
the generated character tables are tracked in a separate HashTable. If a
character table was generated before, it'll be assigned to the compile
context when the locale changes. Otherwise a new char table will be
generated and cached.
Dmitry Stogov [Fri, 22 Jun 2018 11:29:54 +0000 (14:29 +0300)]
Reduced overhead of magic method calls (__get/__set/__unset/__isset/__dectructor/__clone).
Dmitry Stogov [Fri, 22 Jun 2018 11:28:29 +0000 (14:28 +0300)]
retval shouldn't be NULL
Dmitry Stogov [Fri, 22 Jun 2018 10:19:53 +0000 (13:19 +0300)]
Reduce spl_autoload() overhead
Anatol Belski [Fri, 22 Jun 2018 08:56:42 +0000 (10:56 +0200)]
Fixed bug #76514 Regression in preg_match makes it fail with PREG_JIT_STACKLIMIT_ERROR
Looks like some patterns might require more stack for JIT execution. It
is a regression, as the same pattern was passing using JIT.
Dmitry Stogov [Fri, 22 Jun 2018 09:04:49 +0000 (12:04 +0300)]
Merge branch 'PHP-7.2'
* PHP-7.2:
Added parenthesis
Dmitry Stogov [Fri, 22 Jun 2018 09:04:39 +0000 (12:04 +0300)]
Merge branch 'PHP-7.1' into PHP-7.2
* PHP-7.1:
Added parenthesis
Dmitry Stogov [Fri, 22 Jun 2018 09:04:23 +0000 (12:04 +0300)]
Added parenthesis
Dmitry Stogov [Thu, 21 Jun 2018 23:46:59 +0000 (02:46 +0300)]
Avoid duplication of "shadow" property_info
Christoph M. Becker [Thu, 21 Jun 2018 22:01:51 +0000 (00:01 +0200)]
Fix line endings in new PHPT
Christoph M. Becker [Thu, 21 Jun 2018 17:18:15 +0000 (19:18 +0200)]
Fix #76512: \w no longer includes unicode characters
The migration from PCRE to PCRE2 missed to rename once occurrence of
`PCRE_UCP` to `PCRE2_UCP`. We fix that. We also revert the changes to
bug52971.phpt which had been incorrectly made in commit
a5bc5ae [1].
[1] <http://git.php.net/?p=php-src.git;a=commit;h=
a5bc5aed71f7a15f14f33bb31b8e17bf5f327e2d >
Jakub Zelenka [Thu, 21 Jun 2018 16:03:07 +0000 (17:03 +0100)]
Merge branch 'PHP-7.2'
Jakub Zelenka [Thu, 21 Jun 2018 16:02:44 +0000 (17:02 +0100)]
Make new openssl ext tests in 7.2 consitent
Jakub Zelenka [Thu, 21 Jun 2018 15:50:45 +0000 (16:50 +0100)]
Merge branch 'PHP-7.2'
Jakub Zelenka [Thu, 21 Jun 2018 15:47:08 +0000 (16:47 +0100)]
Merge branch 'PHP-7.1' into PHP-7.2
Jakub Zelenka [Thu, 21 Jun 2018 15:43:32 +0000 (16:43 +0100)]
Use unix NL in all openssl ext tests
Jakub Zelenka [Thu, 21 Jun 2018 15:38:19 +0000 (16:38 +0100)]
Make code in openssl ext tests more consistent
Mainly use spaces for indent and fix some other CS issues. Also
drop checks for unsupported OpenSSL library versions.
Charles R. Portwood II [Fri, 15 Jun 2018 20:46:42 +0000 (15:46 -0500)]
RFC: Argon2 Password Hash Enhancements Implementation of Argon2id per RFC https://wiki.php.net/rfc/argon2_password_hash_enhancements
- m4 and Windows configure scripts now forces Argon2 reference library version >=
20161029
- Implementation tested against
20161029 and
20171227 for Argon2id support
- Updates Argon2 ext/standard/password/tests to run tests for both Argon2i and Argon2id
Peter Kokot [Tue, 19 Jun 2018 23:32:26 +0000 (01:32 +0200)]
Bump phar and hash extension version to match PHP version
Dmitry Stogov [Thu, 21 Jun 2018 10:09:25 +0000 (13:09 +0300)]
Avoid reusing zend_function.common.prototype for magic things (use reserved fields instead).
Anatol Belski [Thu, 21 Jun 2018 09:47:10 +0000 (11:47 +0200)]
Gereralize VA macro expansion mechanism
Avoids code duplication and makes in usable elsewhere.
Xinchen Hui [Thu, 21 Jun 2018 09:27:18 +0000 (17:27 +0800)]
Update NEWS
Xinchen Hui [Thu, 21 Jun 2018 09:26:57 +0000 (17:26 +0800)]
Merge branch 'PHP-7.2'
* PHP-7.2:
Update NEWS
Fixed bug #76505 (array_merge_recursive() is duplicating sub-array keys)
Xinchen Hui [Thu, 21 Jun 2018 09:26:45 +0000 (17:26 +0800)]
Update NEWS
Xinchen Hui [Thu, 21 Jun 2018 09:26:27 +0000 (17:26 +0800)]
Merge branch 'PHP-7.1' into PHP-7.2
* PHP-7.1:
Fixed bug #76505 (array_merge_recursive() is duplicating sub-array keys)
Xinchen Hui [Thu, 21 Jun 2018 09:26:05 +0000 (17:26 +0800)]
Fixed bug #76505 (array_merge_recursive() is duplicating sub-array keys)
Stanislav Malyshev [Wed, 20 Jun 2018 17:42:04 +0000 (10:42 -0700)]
Merge branch 'PHP-7.2'
* PHP-7.2:
Revert "ICU 59+ requires C++11 and errors out without the option"
Stanislav Malyshev [Wed, 20 Jun 2018 17:41:59 +0000 (10:41 -0700)]
Merge branch 'PHP-7.1' into PHP-7.2
* PHP-7.1:
Revert "ICU 59+ requires C++11 and errors out without the option"
Stanislav Malyshev [Wed, 20 Jun 2018 17:41:41 +0000 (10:41 -0700)]
Revert "ICU 59+ requires C++11 and errors out without the option"
This reverts commit
5dd1ef90caec3021e6ce55c8554e695edf641eaf .
Nikita Popov [Wed, 20 Jun 2018 14:03:50 +0000 (16:03 +0200)]
Remove unnnecessary DEREF parameter
Nikita Popov [Wed, 20 Jun 2018 13:05:08 +0000 (15:05 +0200)]
Remove code duplication
And fix indentation
Nikita Popov [Wed, 20 Jun 2018 10:31:31 +0000 (12:31 +0200)]
Merge branch 'PHP-7.2'
Nikita Popov [Wed, 20 Jun 2018 10:30:19 +0000 (12:30 +0200)]
Merge branch 'PHP-7.1' into PHP-7.2
Nikita Popov [Tue, 12 Jun 2018 18:34:01 +0000 (20:34 +0200)]
Fixed bug #73342
Directly listen on socket, instead of duping it to STDIN and
listening on that.
Stanislav Malyshev [Wed, 20 Jun 2018 05:43:20 +0000 (22:43 -0700)]
Merge branch 'pull-request/3281'
* pull-request/3281:
Revert braces inside condition
Use .= where possible
Remove unncecessary parantheses
Remove unused variable old_php
Fix property name
Stanislav Malyshev [Tue, 19 Jun 2018 23:50:16 +0000 (16:50 -0700)]
Merge branch 'pull-request/3274'
* pull-request/3274:
Added const modifier
76363: added jsm extension to list of mime types
Stanislav Malyshev [Tue, 19 Jun 2018 23:43:52 +0000 (16:43 -0700)]
Merge branch 'pull-request/3288'
* pull-request/3288:
Fix bug #75481: makedev warning
Stanislav Malyshev [Tue, 19 Jun 2018 23:42:28 +0000 (16:42 -0700)]
Merge branch 'pull-request/3309'
* pull-request/3309:
phar module, unsignedness check changes. while at it, correcting seemingly subtle bug when checking extension validity.
Sara Golemon [Tue, 19 Jun 2018 22:20:38 +0000 (18:20 -0400)]
Move class constant definition to the right enum file
Christoph M. Becker [Tue, 19 Jun 2018 13:36:31 +0000 (15:36 +0200)]
Update NEWS for 7.3.0alpha3
Gabriel Caruso [Fri, 30 Mar 2018 20:44:31 +0000 (17:44 -0300)]
Report unknown variables passed to compact()
Robert Lu [Fri, 15 Jun 2018 06:08:49 +0000 (14:08 +0800)]
Fix bug #44217: Output after stdout/stderr closed cause immediate exit with status 0
We exit with status 255 instead.
David Carlier [Mon, 18 Jun 2018 14:08:50 +0000 (14:08 +0000)]
phar module, unsignedness check changes.
while at it, correcting seemingly subtle bug when checking
extension validity.
Dmitry Stogov [Mon, 18 Jun 2018 08:21:23 +0000 (11:21 +0300)]
Fixed bug #76466 (Loop variable confusion)
Xinchen Hui [Mon, 18 Jun 2018 04:14:17 +0000 (12:14 +0800)]
Fixed typo
Xinchen Hui [Mon, 18 Jun 2018 04:14:00 +0000 (12:14 +0800)]
use defined macro
Xinchen Hui [Mon, 18 Jun 2018 03:33:48 +0000 (11:33 +0800)]
Fixed bug #76437 (token_get_all with TOKEN_PARSE flag fails to recognise close tag)
Stanislav Malyshev [Sun, 17 Jun 2018 23:43:46 +0000 (16:43 -0700)]
Merge branch 'PHP-7.2'
* PHP-7.2:
ICU 59+ requires C++11 and errors out without the option
Fix #76300 - Dont attempt to change visibility of a parent private
Stanislav Malyshev [Sun, 17 Jun 2018 23:42:49 +0000 (16:42 -0700)]
Merge branch 'PHP-7.1' into PHP-7.2
* PHP-7.1:
ICU 59+ requires C++11 and errors out without the option
Stanislav Malyshev [Sun, 17 Jun 2018 23:00:06 +0000 (16:00 -0700)]
ICU 59+ requires C++11 and errors out without the option
Pedro Magalhães [Thu, 3 May 2018 20:25:12 +0000 (21:25 +0100)]
Fix #76300 - Dont attempt to change visibility of a parent private
Stanislav Malyshev [Sun, 17 Jun 2018 22:47:03 +0000 (15:47 -0700)]
Merge branch 'PHP-7.2'
* PHP-7.2:
Fix #76300 - Dont attempt to change visibility of a parent private
Stanislav Malyshev [Sun, 17 Jun 2018 22:26:42 +0000 (15:26 -0700)]
Merge branch 'pull-request/3233' into PHP-7.2
* pull-request/3233:
Fix #76300 - Dont attempt to change visibility of a parent private
Stanislav Malyshev [Sun, 17 Jun 2018 21:12:45 +0000 (14:12 -0700)]
Merge branch 'pull-request/3268'
* pull-request/3268:
Sync sysvsem and sysvshm versions in phpinfo
Stanislav Malyshev [Sun, 17 Jun 2018 21:11:07 +0000 (14:11 -0700)]
Merge branch 'pull-request/3295'
* pull-request/3295:
Remove old and unused warnings when building apache
Stanislav Malyshev [Sun, 17 Jun 2018 21:06:40 +0000 (14:06 -0700)]
Merge branch 'pull-request/3307'
* pull-request/3307:
Bump snmp extension version to PHP version
Stanislav Malyshev [Sun, 17 Jun 2018 21:05:01 +0000 (14:05 -0700)]
Merge branch 'pull-request/3296'
* pull-request/3296:
Bump fileinfo extension version to PHP release version
Stanislav Malyshev [Sun, 17 Jun 2018 20:54:04 +0000 (13:54 -0700)]
Merge branch 'pull-request/3304'
* pull-request/3304:
Bump intl extension version to PHP release version
Xinchen Hui [Sun, 17 Jun 2018 03:39:08 +0000 (11:39 +0800)]
only warning when the flag is true
Peter Kokot [Tue, 12 Jun 2018 18:01:37 +0000 (20:01 +0200)]
Remove old SVN keywords substitutions
When the PHP source code was versioned in Subversion, there was
possible to substitute certain keywords such as $Id$ with revision
number, last change time and author name. Such approach is not used
in Git so this patch removes these outdated artifacts from source
code files.
Peter Kokot [Tue, 12 Jun 2018 13:06:07 +0000 (15:06 +0200)]
Remove Git ident attribute from the iconv extension
Peter Kokot [Tue, 12 Jun 2018 14:09:30 +0000 (16:09 +0200)]
Remove SVN revision from phar phpinfo output
The SVN revision was utilized with Subversion. The Git ident
attribute applies only for particular file and since other core
extensions don't output this information anymore this patch
removes it from the phpinfo output to sync and make the phpinfo
core extensions more consistent.
Nikita Popov [Sun, 24 Sep 2017 13:24:51 +0000 (15:24 +0200)]
Fixed bug #75218
I've introduced a new CompileError type, from which ParseError
inherits. These errors are not parse errors in the narrow sense
of the term, even though they happen to be generated during
parsing in our implementation. Additionally reusing the ParseError
class for this purpose would change existing error messages (if
the exception is not caught) from a "Fatal error:" to a "Parse
error:" prefix, and also the error kind from E_COMPILE_ERROR to
E_PARSE.
Peter Kokot [Wed, 13 Jun 2018 08:05:40 +0000 (10:05 +0200)]
Remove old SVN keywords substitutions from the zip tests
David Carlier [Thu, 14 Jun 2018 20:17:25 +0000 (21:17 +0100)]
Add NEWS entries
[ci skip]
Tom Van Looy [Thu, 14 Jun 2018 20:04:30 +0000 (22:04 +0200)]
[ci skip] Mention new hrtime() in NEWS
Peter Kokot [Fri, 15 Jun 2018 10:55:21 +0000 (12:55 +0200)]
Bump snmp extension version to PHP version
This patch syncs the snmp extension to match it with the PHP release
version.
Xinchen Hui [Fri, 15 Jun 2018 09:21:59 +0000 (17:21 +0800)]
Remove assertion
Xinchen Hui [Fri, 15 Jun 2018 08:32:27 +0000 (16:32 +0800)]
Update NEWS
Xinchen Hui [Fri, 15 Jun 2018 08:31:58 +0000 (16:31 +0800)]
Merge branch 'PHP-7.2'
* PHP-7.2:
Fixed bug #76477 (Opcache causes empty return value)
Xinchen Hui [Fri, 15 Jun 2018 08:31:31 +0000 (16:31 +0800)]
Fixed bug #76477 (Opcache causes empty return value)
Anatol Belski [Fri, 15 Jun 2018 05:30:10 +0000 (07:30 +0200)]
[ci skip] Update NEWS
Victor Csiky [Wed, 30 May 2018 05:49:56 +0000 (07:49 +0200)]
Fixe bug #76386
..that is also a duplicate of #67122
Peter Kokot [Thu, 14 Jun 2018 03:20:14 +0000 (05:20 +0200)]
Bump fileinfo extension version to PHP release version
To sync core extensions and their versioning more the fileinfo extension
can be versioned same way as PHP releases.
Peter Kokot [Thu, 14 Jun 2018 21:35:29 +0000 (23:35 +0200)]
Bump intl extension version to PHP release version
This patch syncs and simplifies the intl core extension versioning
to match the PHP release version.
Nikita Popov [Thu, 14 Jun 2018 21:22:35 +0000 (23:22 +0200)]
Fix unspecialized executor
If we conditionally fetch a value, we also need to conditionally
free it.
Stanislav Malyshev [Thu, 14 Jun 2018 19:30:41 +0000 (12:30 -0700)]
Merge branch 'pull-request/3299'
* pull-request/3299:
Bump extension, module and PHP API numbers for 7.3
Jakub Zelenka [Thu, 14 Jun 2018 19:25:59 +0000 (20:25 +0100)]
Bump PHP_JSON_VERSION to 1.7.0
Michael Moravec [Thu, 14 Jun 2018 12:31:49 +0000 (14:31 +0200)]
Bump extension, module and PHP API numbers for 7.3
Peter Kokot [Thu, 14 Jun 2018 02:45:28 +0000 (04:45 +0200)]
Remove old and unused warnings when building apache
The configure script already warns users at the beginning with
unrecognized options warning so additional check is not required. These
sapis were also removed from the PHP core.
Dmitry Stogov [Wed, 13 Jun 2018 23:41:14 +0000 (02:41 +0300)]
Merge branch 'PHP-7.2'
* PHP-7.2:
Fixed invalid free introduced by
d6e81f0bfd0cb90586dd83d4fd47a4302605261a (avoid keeping "invalid" pointer)
Dmitry Stogov [Wed, 13 Jun 2018 23:40:59 +0000 (02:40 +0300)]
Merge branch 'PHP-7.1' into PHP-7.2
* PHP-7.1:
Fixed invalid free introduced by
d6e81f0bfd0cb90586dd83d4fd47a4302605261a (avoid keeping "invalid" pointer)
Dmitry Stogov [Wed, 13 Jun 2018 23:38:39 +0000 (02:38 +0300)]
Fixed invalid free introduced by
d6e81f0bfd0cb90586dd83d4fd47a4302605261a (avoid keeping "invalid" pointer)
Dmitry Stogov [Wed, 13 Jun 2018 23:34:17 +0000 (02:34 +0300)]
Avoid useless stream buffer copying and workaround with chunk_size manipulation.
Nat Zimmermann [Wed, 13 Jun 2018 22:37:14 +0000 (23:37 +0100)]
Revert braces inside condition
Nikita Popov [Wed, 13 Jun 2018 21:48:37 +0000 (23:48 +0200)]
Merge branch 'PHP-7.2'
Nikita Popov [Wed, 13 Jun 2018 21:48:28 +0000 (23:48 +0200)]
Merge branch 'PHP-7.1' into PHP-7.2
Nikita Popov [Wed, 13 Jun 2018 21:47:20 +0000 (23:47 +0200)]
Make $locale parameter to BreakIterator ctors optional
It's documented as such and already accepts null.
Dmitry Stogov [Wed, 13 Jun 2018 15:26:48 +0000 (18:26 +0300)]
php_json_escape_string() optimization