]>
granicus.if.org Git - php/log
Nikita Popov [Sun, 18 Feb 2018 15:41:53 +0000 (16:41 +0100)]
Fix constant() func info
Since PHP 5.6 this can also be an array.
Nikita Popov [Sun, 18 Feb 2018 14:27:53 +0000 (15:27 +0100)]
Handle overloaded GMP operators in type inference
Nikita Popov [Sun, 18 Feb 2018 14:13:14 +0000 (15:13 +0100)]
Disable negative range inference
The negative range inference implementation does not work correctly,
and it's not clear right now how it can be fixed. As such, disable
it entirely for now.
Nikita Popov [Sat, 17 Feb 2018 22:04:31 +0000 (23:04 +0100)]
Fix COUNT range inference
count() on objects may return a negative number :(
Nikita Popov [Sat, 17 Feb 2018 21:53:14 +0000 (22:53 +0100)]
Fix hash_init() and hash_copy() func info
These functions were switched to use objects instead of resources.
Nikita Popov [Sat, 17 Feb 2018 21:50:17 +0000 (22:50 +0100)]
Fix curl_multi_close() func info
Returns false on failure
Nikita Popov [Sat, 17 Feb 2018 17:44:48 +0000 (18:44 +0100)]
Fix get_object_vars() func info
Numeric keys will be converted to integer nowadays.
Nikita Popov [Sat, 17 Feb 2018 17:42:08 +0000 (18:42 +0100)]
Add RC flags in init_func_return_info
Nikita Popov [Sat, 17 Feb 2018 17:36:17 +0000 (18:36 +0100)]
Fix array_values() and array_keys() func info
Can return RCN for empty/packed arrays
Anatol Belski [Sat, 17 Feb 2018 12:12:29 +0000 (13:12 +0100)]
Merge branch 'PHP-7.1' into PHP-7.2
* PHP-7.1:
Remove duplicated assignment
Anatol Belski [Sat, 17 Feb 2018 12:10:59 +0000 (13:10 +0100)]
Remove duplicated assignment
Xinchen Hui [Sat, 17 Feb 2018 08:35:42 +0000 (16:35 +0800)]
Update NEWS
Xinchen Hui [Sat, 17 Feb 2018 08:33:39 +0000 (16:33 +0800)]
Merge branch 'PHP-7.1' into PHP-7.2
* PHP-7.1:
Fixed bug #75961 (Strange references behavior)
Xinchen Hui [Sat, 17 Feb 2018 08:31:59 +0000 (16:31 +0800)]
Fixed bug #75961 (Strange references behavior)
Nikita Popov [Fri, 16 Feb 2018 19:30:23 +0000 (20:30 +0100)]
Merge branch 'PHP-7.1' into PHP-7.2
Nikita Popov [Fri, 16 Feb 2018 19:27:13 +0000 (20:27 +0100)]
Fixed bug #75969
Move NOP stripping out of zend_optimize_block: NOP stripping may
move instructions, which may invalidate a Tsource shared across
an extended basic block.
Anatol Belski [Fri, 16 Feb 2018 12:41:13 +0000 (13:41 +0100)]
Merge branch 'PHP-7.1' into PHP-7.2
* PHP-7.1:
Wrap var depending on conditional compilation
Anatol Belski [Fri, 16 Feb 2018 12:37:38 +0000 (13:37 +0100)]
Wrap var depending on conditional compilation
Joe Watkins [Thu, 15 Feb 2018 07:57:43 +0000 (08:57 +0100)]
Merge branch 'PHP-7.1' into PHP-7.2
* PHP-7.1:
Fixed print_const_table function and zval types in ____printzv_contents
Mitch Hagstrand [Wed, 14 Feb 2018 20:39:01 +0000 (14:39 -0600)]
Fixed print_const_table function and zval types in ____printzv_contents
1. Fixed print_const_table to work in ZE3
2. Removed ____print_const_table to use more generic ____print_ht
3. Fixed up zval types in ____printzv_contents
Joe Watkins [Thu, 15 Feb 2018 07:56:08 +0000 (08:56 +0100)]
Merge branch 'PHP-7.1' into PHP-7.2
* PHP-7.1:
bump versions
Gabriel Caruso [Sun, 4 Feb 2018 09:05:51 +0000 (07:05 -0200)]
Remove getmxrr alias dns_get_mx test
The test is currently failing, and the same functionality is
already tested (in a better way) in the getmxrr() test.
Remi Collet [Wed, 14 Feb 2018 12:28:21 +0000 (13:28 +0100)]
add pkg-config example in extension skeleton
Remi Collet [Wed, 14 Feb 2018 12:15:09 +0000 (13:15 +0100)]
factorization of duplicated code
Remi Collet [Wed, 14 Feb 2018 07:59:24 +0000 (08:59 +0100)]
Sara Golemon [Tue, 13 Feb 2018 19:37:00 +0000 (14:37 -0500)]
Now working on 7.2.4-dev
Sara Golemon [Tue, 13 Feb 2018 19:32:37 +0000 (14:32 -0500)]
Now working on 7.2.4-dev
Joe [Tue, 13 Feb 2018 19:24:34 +0000 (20:24 +0100)]
bump versions
Anatol Belski [Tue, 13 Feb 2018 13:04:51 +0000 (14:04 +0100)]
Extend skipif check
Joe [Mon, 12 Feb 2018 08:17:56 +0000 (09:17 +0100)]
Merge branch 'PHP-7.1' into PHP-7.2
* PHP-7.1:
Fixed bug #68406 calling var_dump on a DateTimeZone object modifies it
jhdxr [Thu, 21 Sep 2017 18:15:22 +0000 (02:15 +0800)]
Fixed bug #68406 calling var_dump on a DateTimeZone object modifies it
Christoph M. Becker [Sun, 11 Feb 2018 11:49:41 +0000 (12:49 +0100)]
Merge branch 'PHP-7.1' into PHP-7.2
* PHP-7.1:
Fix #75857: Timezone gets truncated when formatted
Gabriel Caruso [Thu, 8 Feb 2018 12:05:00 +0000 (10:05 -0200)]
Fix #75857: Timezone gets truncated when formatted
Use sizeof buffer instead of hard-coded lenghts
Nikita Popov [Sat, 10 Feb 2018 18:30:57 +0000 (19:30 +0100)]
Merge branch 'PHP-7.1' into PHP-7.2
Pedro Lacerda [Wed, 7 Feb 2018 02:55:31 +0000 (23:55 -0300)]
Fixed bug #75928
Nikita Popov [Sat, 10 Feb 2018 18:19:09 +0000 (19:19 +0100)]
Merge branch 'PHP-7.1' into PHP-7.2
Mitch Hagstrand [Fri, 9 Feb 2018 17:30:45 +0000 (11:30 -0600)]
Enhancements and fixes for print_pi in gdbinit
1) Outputs the default value and the offset of a property
2) Fixed output of property flags
Nikita Popov [Fri, 9 Feb 2018 14:10:23 +0000 (15:10 +0100)]
Fixed bug #75938
New modulus range inference implementation has been verified using
https://gist.github.com/nikic/
67947ff92cf0e1f7e931f2f0d4cf817f .
The computed bounds are not tight, but it seems to be very hard to
compute tight bounds on modulus operations.
Joe [Thu, 8 Feb 2018 09:50:47 +0000 (10:50 +0100)]
Merge branch 'PHP-7.1' into PHP-7.2
* PHP-7.1:
Fixes bug #75871 Use pkg-config for libxml2 if available
Pedro Magalhães [Tue, 6 Feb 2018 19:16:22 +0000 (19:16 +0000)]
Fixes bug #75871 Use pkg-config for libxml2 if available
Joe [Thu, 8 Feb 2018 09:42:25 +0000 (10:42 +0100)]
Merge branch 'PHP-7.1' into PHP-7.2
* PHP-7.1:
Fixed bug #49876 lib path on 64bit distros
David Zuelke [Wed, 13 Sep 2017 22:03:37 +0000 (00:03 +0200)]
Fixed bug #49876 lib path on 64bit distros
Joe [Thu, 8 Feb 2018 09:32:44 +0000 (10:32 +0100)]
Merge branch 'PHP-7.1' into PHP-7.2
* PHP-7.1:
Fixed bug #65414
Bishop Bettini [Fri, 2 Feb 2018 02:29:37 +0000 (21:29 -0500)]
Fixed bug #65414
Bishop Bettini [Fri, 2 Feb 2018 02:29:37 +0000 (21:29 -0500)]
Fixed bug #65414
Joe [Thu, 8 Feb 2018 09:17:50 +0000 (10:17 +0100)]
Merge branch 'PHP-7.1' into PHP-7.2
* PHP-7.1:
Fixed bug #74519 strange behavior of AppendIterator
CHU Zhaowei [Tue, 19 Dec 2017 16:22:27 +0000 (00:22 +0800)]
Fixed bug #74519 strange behavior of AppendIterator
CHU Zhaowei [Sun, 10 Dec 2017 18:22:55 +0000 (02:22 +0800)]
fix #74519 strange behavior of AppendIterator
Nikita Popov [Mon, 5 Feb 2018 20:41:44 +0000 (21:41 +0100)]
Fixed bug #75893
It is not sufficient to just add the additional types for aliased
variables at the end of type inference, because types of derived
variables may depend on them. Make sure the additional types are
always added whenever the type of an aliased variable is updated.
Nikita Popov [Mon, 5 Feb 2018 20:08:18 +0000 (21:08 +0100)]
Fixed bug #75729
Don't try to evaluate substr() and strpos() at compile-time if
mbstring function overloading is enabled. I'm reusing the
COMPILE_NO_BUILTIN_STRLEN for the detection of mbstring function
overloading here, even if it's technically only about strlen()...
Anatol Belski [Mon, 5 Feb 2018 09:40:45 +0000 (10:40 +0100)]
Merge branch 'PHP-7.1' into PHP-7.2
* PHP-7.1:
Finer conditions, so /Qspectre is already usable with latest vc15
Anatol Belski [Mon, 5 Feb 2018 09:38:06 +0000 (10:38 +0100)]
Finer conditions, so /Qspectre is already usable with latest vc15
Michael Wallner [Mon, 5 Feb 2018 08:07:00 +0000 (09:07 +0100)]
Merge branch 'PHP-7.1' into PHP-7.2
* PHP-7.1:
fix bug #75916 DNS_CAA record results contain garbage
Michael Wallner [Mon, 5 Feb 2018 08:04:07 +0000 (09:04 +0100)]
fix bug #75916 DNS_CAA record results contain garbage
It is assumed that DNS_CAA record values are zero terminated,
while its length is defined as (RDATA_LENGTH - tag_length - 2).
Nikita Popov [Fri, 2 Feb 2018 21:31:40 +0000 (22:31 +0100)]
Merge branch 'PHP-7.1' into PHP-7.2
Chris Lamb [Fri, 2 Feb 2018 11:20:58 +0000 (11:20 +0000)]
Fix SOURCE_DATE_EPOCH to not vary on timezones
Anatol Belski [Fri, 2 Feb 2018 13:09:20 +0000 (14:09 +0100)]
Merge branch 'PHP-7.1' into PHP-7.2
* PHP-7.1:
Switch to the new PHP SDK version on AppVeyor
Anatol Belski [Fri, 2 Feb 2018 13:06:53 +0000 (14:06 +0100)]
Switch to the new PHP SDK version on AppVeyor
Anatol Belski [Thu, 1 Feb 2018 14:30:01 +0000 (15:30 +0100)]
Ensure there are no line breaks in the error msg
Anatol Belski [Thu, 1 Feb 2018 14:26:12 +0000 (15:26 +0100)]
[ci skip] Update NEWS
Anatol Belski [Thu, 1 Feb 2018 14:25:55 +0000 (15:25 +0100)]
Merge branch 'PHP-7.1' into PHP-7.2
* PHP-7.1:
[ci skip] Update NEWS
Fix race conditions with Apache vhost vs. per dir config
Anatol Belski [Thu, 1 Feb 2018 14:25:15 +0000 (15:25 +0100)]
[ci skip] Update NEWS
Anatol Belski [Wed, 31 Jan 2018 19:15:30 +0000 (20:15 +0100)]
Fix race conditions with Apache vhost vs. per dir config
If the same php_value/php_flag is present in httpd.conf and .htaccess,
the key is potentially shared between threads. Unfortunately we can't
intern these keys using the current mechanism, because the MPM is setup
before the SAPI module setup is even started. A more elegant way were
to implement a kind of string pool for the thread safe Apache SAPI
config directives with the mechanism similar to what is done for the
SAPI setup now, but doing a separate management.
(cherry picked from commit
73eb5a78b9caa18d35624765f9b972c1ba48855d )
Anatol Belski [Wed, 31 Jan 2018 19:15:30 +0000 (20:15 +0100)]
Fix race conditions with Apache vhost vs. per dir config
If the same php_value/php_flag is present in httpd.conf and .htaccess,
the key is potentially shared between threads. Unfortunately we can't
intern these keys using the current mechanism, because the MPM is setup
before the SAPI module setup is even started. A more elegant way were
to implement a kind of string pool for the thread safe Apache SAPI
config directives with the mechanism similar to what is done for the
SAPI setup now, but doing a separate management.
Derick Rethans [Wed, 31 Jan 2018 11:55:35 +0000 (11:55 +0000)]
Sync with timelib 2017.06
Jakub Zelenka [Tue, 30 Jan 2018 20:08:19 +0000 (20:08 +0000)]
Use correct certs for SNI server tests with separate key and cert
Jakub Zelenka [Tue, 30 Jan 2018 20:02:34 +0000 (20:02 +0000)]
Merge branch 'PHP-7.1' into PHP-7.2
Jakub Zelenka [Tue, 30 Jan 2018 19:58:40 +0000 (19:58 +0000)]
Use correct certs for SNI server tests
Thomas Punt [Mon, 29 Jan 2018 11:13:22 +0000 (11:13 +0000)]
Merge branch 'PHP-7.1' into PHP-7.2
* PHP-7.1:
Use the correct freeing function
Thomas Punt [Mon, 29 Jan 2018 11:13:10 +0000 (11:13 +0000)]
Use the correct freeing function
Bishop Bettini [Sat, 6 Jan 2018 07:21:30 +0000 (02:21 -0500)]
Fixed bug #54289
If a directory is passed to Phar::extractTo(), loop over all
entries and extract all files with the given prefix.
Anatol Belski [Sat, 27 Jan 2018 16:24:29 +0000 (17:24 +0100)]
[ci skip] Update NEWS.
Sam Ding [Tue, 23 Jan 2018 21:46:55 +0000 (16:46 -0500)]
fixed Big_endian issue on s390x for stream test cases
Christoph M. Becker [Sat, 27 Jan 2018 12:12:09 +0000 (13:12 +0100)]
Merge branch 'PHP-7.1' into PHP-7.2
* PHP-7.1:
Revert "Fix #75878: RecursiveTreeIterator::setPostfix has wrong signature"
Christoph M. Becker [Sat, 27 Jan 2018 12:11:30 +0000 (13:11 +0100)]
Revert "Fix #75878: RecursiveTreeIterator::setPostfix has wrong signature"
This reverts commit
4bd7658e1b44b72ff76913036c1b41f74318b065 .
To avoid the BC break we apply the fix to master only.
Christoph M. Becker [Sat, 27 Jan 2018 11:40:20 +0000 (12:40 +0100)]
Merge branch 'PHP-7.1' into PHP-7.2
* PHP-7.1:
Fix #75878: RecursiveTreeIterator::setPostfix has wrong signature
Christoph M. Becker [Sat, 27 Jan 2018 11:33:36 +0000 (12:33 +0100)]
Fix #75878: RecursiveTreeIterator::setPostfix has wrong signature
Nikita Popov [Fri, 26 Jan 2018 21:28:48 +0000 (22:28 +0100)]
Merge branch 'PHP-7.1' into PHP-7.2
Philip Prindeville [Thu, 25 Jan 2018 01:47:19 +0000 (18:47 -0700)]
Be consistent in clearing out in php_iconv_string()
Dmitry Stogov [Fri, 26 Jan 2018 12:22:36 +0000 (15:22 +0300)]
Restore initial values on graceful server restart.
Michael Orlitzky [Fri, 19 Jan 2018 23:53:22 +0000 (18:53 -0500)]
ext/session: catch incompatible configure flags earlier.
The session extension has a --with-mm flag that tells it to build
the mm backend ("mm" is the name of the library). However, that
backend is not thread-safe, and mod_mm.c will refuse to compile if
the --enable-maintainer-zts flag was also passed to the configure
script.
Rather than crash halfway through the build, this commit adds a check
to the session extension's config.m4 file. If both --with-mm and
--enable-maintainer-zts are "on," then the configure script will
die and explain that they can't be used together.
PHP-bug: 14269
Derick Rethans [Wed, 24 Jan 2018 13:57:07 +0000 (13:57 +0000)]
Updated to version 2018.3 (2018c)
Derick Rethans [Wed, 24 Jan 2018 13:57:07 +0000 (13:57 +0000)]
Empty merge
Derick Rethans [Wed, 24 Jan 2018 13:57:06 +0000 (13:57 +0000)]
Updated to version 2018.3 (2018c)
Sara Golemon [Tue, 23 Jan 2018 16:11:37 +0000 (11:11 -0500)]
Merge branch 'PHP-7.1' into PHP-7.2
* PHP-7.1:
Fix alignment of PG struct cause by ignore_user_abort big endian fix
Sara Golemon [Tue, 23 Jan 2018 16:06:34 +0000 (11:06 -0500)]
Fix alignment of PG struct cause by ignore_user_abort big endian fix
Sara Golemon [Tue, 23 Jan 2018 14:24:47 +0000 (09:24 -0500)]
Merge branch 'PHP-7.1' into PHP-7.2
* PHP-7.1:
Use Z_EXPECTED_LONG to initialize FAST_ZPP parsing loop
Sara Golemon [Tue, 23 Jan 2018 14:24:40 +0000 (09:24 -0500)]
Merge branch 'PHP-7.0' into PHP-7.1
* PHP-7.0:
Use Z_EXPECTED_LONG to initialize FAST_ZPP parsing loop
Sara Golemon [Tue, 23 Jan 2018 14:10:36 +0000 (09:10 -0500)]
Use Z_EXPECTED_LONG to initialize FAST_ZPP parsing loop
Sara Golemon [Tue, 23 Jan 2018 13:58:53 +0000 (08:58 -0500)]
Merge branch 'PHP-7.1' into PHP-7.2
* PHP-7.1:
BigEndian fix for ignore_user_abort. Use zend_bool to match OnUpdateBool
Sara Golemon [Tue, 23 Jan 2018 13:46:38 +0000 (08:46 -0500)]
BigEndian fix for ignore_user_abort. Use zend_bool to match OnUpdateBool
Anatol Belski [Mon, 22 Jan 2018 18:15:30 +0000 (19:15 +0100)]
[ci skip] Update NEWS
Anatol Belski [Mon, 22 Jan 2018 18:15:02 +0000 (19:15 +0100)]
Merge branch 'PHP-7.1' into PHP-7.2
* PHP-7.1:
[ci skip] Update NEWS
Anatol Belski [Mon, 22 Jan 2018 18:14:24 +0000 (19:14 +0100)]
[ci skip] Update NEWS
Anatol Belski [Mon, 22 Jan 2018 16:03:48 +0000 (17:03 +0100)]
Merge branch 'PHP-7.1' into PHP-7.2
* PHP-7.1:
Fixed bug #73725 Unable to retrieve value of varchar(max) type
Anatol Belski [Mon, 22 Jan 2018 16:02:54 +0000 (17:02 +0100)]
Fixed bug #73725 Unable to retrieve value of varchar(max) type
Xinchen Hui [Thu, 18 Jan 2018 02:53:58 +0000 (10:53 +0800)]
Updated NEWS
Xinchen Hui [Thu, 18 Jan 2018 02:53:39 +0000 (10:53 +0800)]
Merge branch 'PHP-7.1' into PHP-7.2
* PHP-7.1:
Fixed #75838 (Memory leak in pg_escape_bytea())
Xinchen Hui [Thu, 18 Jan 2018 02:53:23 +0000 (10:53 +0800)]
Fixed #75838 (Memory leak in pg_escape_bytea())
Anatol Belski [Wed, 17 Jan 2018 13:47:39 +0000 (14:47 +0100)]
Merge branch 'PHP-7.1' into PHP-7.2
* PHP-7.1:
Add switches for Spectre variant 1 mitigation