]>
granicus.if.org Git - php/log
Christoph M. Becker [Fri, 23 Aug 2019 12:49:50 +0000 (14:49 +0200)]
Fix bug77812-*.phpt
Undefined constants error as of PHP 8.0.0.
Christoph M. Becker [Fri, 23 Aug 2019 12:04:52 +0000 (14:04 +0200)]
Merge branch 'PHP-7.4'
* PHP-7.4:
Fix #77812: Interactive mode does not support PHP 7.3-style heredoc
Christoph M. Becker [Fri, 23 Aug 2019 12:02:48 +0000 (14:02 +0200)]
Merge branch 'PHP-7.3' into PHP-7.4
* PHP-7.3:
Fix #77812: Interactive mode does not support PHP 7.3-style heredoc
Christoph M. Becker [Fri, 23 Aug 2019 11:59:10 +0000 (13:59 +0200)]
Fix #77812: Interactive mode does not support PHP 7.3-style heredoc
As of PHP 7.3.0, the rules regarding the heredoc and nowdoc closing
identifier have been relaxed. While formerly, the closing identifier
was required to be placed at the beginning of a line and to be
immediately followed by (a semicolon and) a line break, it may now be
preceeded by whitespace, and may be followed by any non-word character.
We adjust the recognition logic respectively.
Tyson Andre [Fri, 23 Aug 2019 01:14:00 +0000 (21:14 -0400)]
Fix escapes for namespaced classes in gen_stub.php
Fix the string generated when the `ns\class` is passed to a macro
#define ESCAPE(x) #x
// puts(ESCAPE(ns\class)); // warning: unknown escape sequence: \c
puts(ESCAPE(ns\\class)); // Properly prints ns\class to stdout.
Christoph M. Becker [Fri, 23 Aug 2019 10:23:16 +0000 (12:23 +0200)]
Empty merge
Christoph M. Becker [Fri, 23 Aug 2019 10:22:28 +0000 (12:22 +0200)]
Merge branch 'PHP-7.3' into PHP-7.4
* PHP-7.3:
Suppress deprecation warning on IDNA2003 ICU methods for clang
Christoph M. Becker [Fri, 23 Aug 2019 10:21:57 +0000 (12:21 +0200)]
Merge branch 'PHP-7.2' into PHP-7.3
* PHP-7.2:
Suppress deprecation warning on IDNA2003 ICU methods for clang
Christoph M. Becker [Fri, 23 Aug 2019 09:14:18 +0000 (11:14 +0200)]
Suppress deprecation warning on IDNA2003 ICU methods for clang
Christoph M. Becker [Fri, 23 Aug 2019 09:41:38 +0000 (11:41 +0200)]
Merge branch 'PHP-7.4'
* PHP-7.4:
Fix #78438: Corruption when __unserializing deeply nested structures
Christoph M. Becker [Fri, 23 Aug 2019 09:30:31 +0000 (11:30 +0200)]
Fix #78438: Corruption when __unserializing deeply nested structures
When storing two temporary variables for delayed __unserialize() calls,
we have to make sure that both fit into the same linked list element.
To that end we introduce the internal API `tmp_var` which allows to
reserve `num` slots in the same list element.
We also fix the `var_dtor_entries` struct definition to use the proper
size, namely `VAR_DTOR_ENTRIES_MAX`.
George Peter Banyard [Thu, 22 Aug 2019 10:14:02 +0000 (12:14 +0200)]
Promote warnings to errors in chunk_split()
George Peter Banyard [Thu, 22 Aug 2019 10:18:12 +0000 (12:18 +0200)]
Promote warnings to errors in str_word_count()
George Peter Banyard [Thu, 22 Aug 2019 09:45:10 +0000 (11:45 +0200)]
Promote warnings to errors in wordwrap()
George Peter Banyard [Thu, 22 Aug 2019 09:58:57 +0000 (11:58 +0200)]
Promote warnings to errors in dirname()
George Peter Banyard [Thu, 22 Aug 2019 09:33:48 +0000 (11:33 +0200)]
Promote warnings to errors in str_split()
George Peter Banyard [Thu, 22 Aug 2019 10:33:46 +0000 (12:33 +0200)]
Promote warnings to errors in strtr()
George Peter Banyard [Wed, 21 Aug 2019 00:12:45 +0000 (02:12 +0200)]
Promote warnings to errors in array_pad()
George Peter Banyard [Tue, 20 Aug 2019 23:52:17 +0000 (01:52 +0200)]
Promote warnings to errors in array_column()
Christoph M. Becker [Thu, 22 Aug 2019 13:59:34 +0000 (15:59 +0200)]
Merge branch 'PHP-7.4'
* PHP-7.4:
Fix var_unserializer debug code
Christoph M. Becker [Thu, 22 Aug 2019 13:58:25 +0000 (15:58 +0200)]
Fix var_unserializer debug code
At least it now compiles and should be free of warnings.
George Peter Banyard [Thu, 22 Aug 2019 09:09:44 +0000 (11:09 +0200)]
Normalise strr(i)pos offset messages with str(i)pos ones.
Thomas Gerbet [Wed, 21 Aug 2019 19:32:57 +0000 (21:32 +0200)]
Add stub for ext zlib
Christoph M. Becker [Wed, 21 Aug 2019 20:55:25 +0000 (22:55 +0200)]
Merge branch 'PHP-7.4'
* PHP-7.4:
Fix #78441: Parse error due to heredoc identifier followed by digit
Christoph M. Becker [Wed, 21 Aug 2019 20:54:05 +0000 (22:54 +0200)]
Merge branch 'PHP-7.3' into PHP-7.4
* PHP-7.3:
Fix #78441: Parse error due to heredoc identifier followed by digit
Christoph M. Becker [Wed, 21 Aug 2019 20:51:51 +0000 (22:51 +0200)]
Fix #78441: Parse error due to heredoc identifier followed by digit
Since digits are allowed for identifiers, we have to cater to them as
well.
George Peter Banyard [Wed, 21 Aug 2019 00:18:00 +0000 (02:18 +0200)]
Promote warnings to errors in array_combine()
George Peter Banyard [Tue, 20 Aug 2019 21:35:01 +0000 (23:35 +0200)]
Promote warnings to errors in array_multisort()
George Peter Banyard [Tue, 20 Aug 2019 21:30:20 +0000 (23:30 +0200)]
Promote warning to error in array_chunk()
George Peter Banyard [Tue, 20 Aug 2019 21:11:11 +0000 (23:11 +0200)]
Promote warnings to errors in range()
George Peter Banyard [Tue, 20 Aug 2019 19:46:51 +0000 (21:46 +0200)]
Merge branch 'PHP-7.4'
* PHP-7.4:
Remove dead code in base64.c
George Peter Banyard [Tue, 20 Aug 2019 18:15:22 +0000 (20:15 +0200)]
Remove dead code in base64.c
Nikita Popov [Tue, 20 Aug 2019 15:07:39 +0000 (17:07 +0200)]
Remove some unnecessary RETURN_FALSE
Remi Collet [Tue, 20 Aug 2019 14:31:24 +0000 (16:31 +0200)]
Merge branch 'PHP-7.4'
* PHP-7.4:
ensure proper settings for test
Update NEWS for 7.4.0RC1
Update NEWS for PHP 7.4.0beta4
Remi Collet [Tue, 20 Aug 2019 14:31:11 +0000 (16:31 +0200)]
Merge branch 'PHP-7.3' into PHP-7.4
* PHP-7.3:
ensure proper settings for test
Remi Collet [Tue, 20 Aug 2019 14:30:52 +0000 (16:30 +0200)]
ensure proper settings for test
Tyson Andre [Tue, 20 Aug 2019 02:48:10 +0000 (22:48 -0400)]
Fix opcache type info for stream_bucket_make_writable()
Closes GH-4567.
Derick Rethans [Tue, 20 Aug 2019 14:10:36 +0000 (14:10 +0000)]
Update NEWS for 7.4.0RC1
Derick Rethans [Tue, 20 Aug 2019 14:09:17 +0000 (14:09 +0000)]
Update NEWS for PHP 7.4.0beta4
Christoph M. Becker [Tue, 20 Aug 2019 14:04:50 +0000 (16:04 +0200)]
Merge branch 'PHP-7.4'
* PHP-7.4:
Fix #78386: fstat mode has unexpected value on PHP 7.4
Christoph M. Becker [Tue, 20 Aug 2019 14:04:14 +0000 (16:04 +0200)]
Fix #78386: fstat mode has unexpected value on PHP 7.4
We must not assume that any file which is not a directory is a regular
file. Therefore we employ `GetFileType()` in this case to properly
distinguish between character special, FIFO special and regular files.
Simon Podlipsky [Sun, 18 Aug 2019 12:48:23 +0000 (14:48 +0200)]
Add Curl ext PHP stubs
Closes GH-4557.
Simon Podlipsky [Sat, 17 Aug 2019 10:28:49 +0000 (12:28 +0200)]
Add Calendar ext PHP stubs
Closes GH-4552.
Christoph M. Becker [Tue, 20 Aug 2019 11:59:20 +0000 (13:59 +0200)]
Merge branch 'PHP-7.4'
* PHP-7.4:
Don't use C++ style comments
Christoph M. Becker [Tue, 20 Aug 2019 11:58:54 +0000 (13:58 +0200)]
Merge branch 'PHP-7.3' into PHP-7.4
* PHP-7.3:
Don't use C++ style comments
Christoph M. Becker [Tue, 20 Aug 2019 11:58:22 +0000 (13:58 +0200)]
Don't use C++ style comments
Cf. <https://github.com/php/php-src/blob/
f45b61b8988b5b2d80dd4a1df7edd04282cf319a /CODING_STANDARDS.md#syntax-and-indentation>
cc @mcmic
Christoph M. Becker [Tue, 20 Aug 2019 11:35:53 +0000 (13:35 +0200)]
Merge branch 'PHP-7.4'
* PHP-7.4:
fix the problem for connect_attr, set db condition, and add a new attribute _server_host
Christoph M. Becker [Tue, 20 Aug 2019 11:34:42 +0000 (13:34 +0200)]
Merge branch 'PHP-7.3' into PHP-7.4
* PHP-7.3:
fix the problem for connect_attr, set db condition, and add a new attribute _server_host
Christoph M. Becker [Tue, 20 Aug 2019 11:32:53 +0000 (13:32 +0200)]
Merge branch 'PHP-7.2' into PHP-7.3
* PHP-7.2:
fix the problem for connect_attr, set db condition, and add a new attribute _server_host
Qianqian Bu [Mon, 12 Aug 2019 02:00:31 +0000 (04:00 +0200)]
fix the problem for connect_attr, set db condition, and add a new attribute _server_host
Henrique Duarte [Thu, 15 Aug 2019 17:45:22 +0000 (14:45 -0300)]
Add stubs for filter extension
Closes GH-4542.
Nikita Popov [Tue, 20 Aug 2019 08:35:27 +0000 (10:35 +0200)]
Remove some unnecessary RETURN_FALSE uses
Christoph M. Becker [Mon, 19 Aug 2019 17:59:08 +0000 (19:59 +0200)]
Merge branch 'PHP-7.4'
* PHP-7.4:
Fix #78220: Can't access OneDrive folder
Christoph M. Becker [Mon, 19 Aug 2019 17:58:20 +0000 (19:58 +0200)]
Merge branch 'PHP-7.3' into PHP-7.4
* PHP-7.3:
Fix #78220: Can't access OneDrive folder
Christoph M. Becker [Mon, 19 Aug 2019 17:56:12 +0000 (19:56 +0200)]
Merge branch 'PHP-7.2' into PHP-7.3
* PHP-7.2:
Fix #78220: Can't access OneDrive folder
Christoph M. Becker [Mon, 19 Aug 2019 17:44:37 +0000 (19:44 +0200)]
Fix #78220: Can't access OneDrive folder
As of Windows 1903, when the OneDrive on-demand feature is enabled, the
OneDrive folder is reported as reparse point by `FindFirstFile()`, but
trying to get information about the reparse point using
`DeviceIoControl()` fails with `ERROR_NOT_A_REPARSE_POINT`. We work
around this problem by falling back to `GetFileInformationByHandle()`
if that happens, but only if the reparse point is reported as cloud
reparse point, and only if PHP is running on Windows 1903 or later.
The patch has been developed in collaboration with ab@php.net.
We should keep an eye on the somewhat quirky OneDrive behavior, since
it might change again in a future Windows release.
inem0o [Mon, 19 Aug 2019 10:08:24 +0000 (12:08 +0200)]
Add sha1 arginfo stubs
inem0o [Mon, 19 Aug 2019 08:18:06 +0000 (10:18 +0200)]
Add pageinfo arginfo stubs
inem0o [Mon, 19 Aug 2019 07:38:27 +0000 (09:38 +0200)]
Add metaphone arginfo stubs
inem0o [Fri, 16 Aug 2019 10:17:45 +0000 (12:17 +0200)]
Add md5 arginfo stubs
Benjamin Eberlei [Sun, 18 Aug 2019 09:01:31 +0000 (11:01 +0200)]
Cleanup unnecessary if guard clause to free buffer.
Christoph M. Becker [Sat, 17 Aug 2019 12:21:26 +0000 (14:21 +0200)]
Don't explicitly set return value on ZPP failure in ext/calendar
Failing ZPP throws as of PHP 8.0.0, so explicitly setting a return
value is useless, and also slightly confusing.
Yusuke Kawasaki [Sat, 17 Aug 2019 10:22:52 +0000 (19:22 +0900)]
Fix typo: environement [ci skip]
Nikita Popov [Sat, 17 Aug 2019 09:00:15 +0000 (11:00 +0200)]
Merge branch 'PHP-7.4'
Nikita Popov [Sat, 17 Aug 2019 08:59:52 +0000 (10:59 +0200)]
Merge branch 'PHP-7.3' into PHP-7.4
Nikita Popov [Sat, 17 Aug 2019 08:57:26 +0000 (10:57 +0200)]
Fixed bug #77922
In PHP 7.3 shadow properties are no longer duplicated. Make sure we
only release them if the property was defined on the parent class,
which means that it changed from private->shadow, which is where
duplication does happen.
George Peter Banyard [Fri, 16 Aug 2019 20:44:21 +0000 (22:44 +0200)]
Remove useless error check for bin2hex()
And change prototype accordingly...
Closes GH-4550.
Sara Golemon [Fri, 16 Aug 2019 16:45:44 +0000 (12:45 -0400)]
Merge branch 'PHP-7.4'
* PHP-7.4:
Suppress deprecation warning on IDNA2003 ICU methods
Sara Golemon [Fri, 16 Aug 2019 16:41:32 +0000 (12:41 -0400)]
Merge branch 'PHP-7.3' into PHP-7.4
* PHP-7.3:
Suppress deprecation warning on IDNA2003 ICU methods
Sara Golemon [Fri, 16 Aug 2019 16:41:02 +0000 (12:41 -0400)]
Merge branch 'PHP-7.2' into PHP-7.3
* PHP-7.2:
Suppress deprecation warning on IDNA2003 ICU methods
Sara Golemon [Fri, 16 Aug 2019 16:40:20 +0000 (12:40 -0400)]
Suppress deprecation warning on IDNA2003 ICU methods
Christoph M. Becker [Fri, 16 Aug 2019 15:46:46 +0000 (17:46 +0200)]
Don't explicitly set return value on ZPP failure
Failing ZPP throws as of PHP 8.0.0, so explicitly setting a return
value is useless, and also slightly confusing.
Christoph M. Becker [Thu, 15 Aug 2019 15:19:52 +0000 (17:19 +0200)]
Don't explicitly set return value on ZPP failure
Failing ZPP throws as of PHP 8.0.0, so explicitly setting a return
value is useless, and also slightly confusing.
Sara Golemon [Fri, 16 Aug 2019 15:42:51 +0000 (11:42 -0400)]
Merge branch 'PHP-7.4'
* PHP-7.4:
Revert "Move to non deprecated API on suitable ICU versions"
Sara Golemon [Fri, 16 Aug 2019 15:40:01 +0000 (11:40 -0400)]
Merge branch 'PHP-7.3' into PHP-7.4
* PHP-7.3:
Revert "Move to non deprecated API on suitable ICU versions"
Sara Golemon [Fri, 16 Aug 2019 15:25:33 +0000 (11:25 -0400)]
Revert "Move to non deprecated API on suitable ICU versions"
This reverts commit
13a2f2d041999dca0066542f2a552798fab9a13d .
The APIs used by this commit aren't entirely equivalent to the original ones.
Kauan Sousa [Thu, 15 Aug 2019 21:11:46 +0000 (23:11 +0200)]
Creating stub for ext bz2
inem0o [Fri, 16 Aug 2019 10:02:03 +0000 (12:02 +0200)]
Add lcg arginfo stubs
inem0o [Fri, 16 Aug 2019 09:47:52 +0000 (11:47 +0200)]
Add ftok arginfo stubs
Nikita Popov [Thu, 15 Aug 2019 20:07:49 +0000 (22:07 +0200)]
Support typed variadic args in gen_stubs
Christoph M. Becker [Thu, 15 Aug 2019 16:20:03 +0000 (18:20 +0200)]
Merge branch 'PHP-7.4'
* PHP-7.4:
appveyor: exclude some documentation paths
Jan Altensen [Thu, 15 Aug 2019 14:11:13 +0000 (16:11 +0200)]
appveyor: exclude some documentation paths
Change-Id: Ifff234133f4437bfe5c31c1f1e00092cd60e1d53
Christoph M. Becker [Thu, 15 Aug 2019 13:30:28 +0000 (15:30 +0200)]
Empty merge
Christoph M. Becker [Thu, 15 Aug 2019 13:30:03 +0000 (15:30 +0200)]
Empty merge
Christoph M. Becker [Thu, 15 Aug 2019 13:28:52 +0000 (15:28 +0200)]
Update NEWS
This fix has been cherry-picked into PHP-7.3.9.
Victor Gazotti [Thu, 15 Aug 2019 12:27:46 +0000 (14:27 +0200)]
creating stubs for echant ext
Christoph M. Becker [Thu, 15 Aug 2019 11:29:39 +0000 (13:29 +0200)]
Unify ZPP handling in ext/sqlite3
Since `zend_parse_parameters()` now throws on failure, it doesn't make
sense anymore to use `zend_parse_parameters_throw()` instead, and also
it's useless to set an explicit return value.
Christoph M. Becker [Thu, 15 Aug 2019 11:09:52 +0000 (13:09 +0200)]
Don't repeat yourself
SQLite3::bindParam() and SQLite3::bindValue() have identical
implementation (the only thing that differs is the second parameter's
passing mode), so we unify the implementation.
Craig Duncan [Sat, 10 Aug 2019 15:53:17 +0000 (17:53 +0200)]
Convert sqlite3 functions arginfo to php stubs
Nikita Popov [Thu, 15 Aug 2019 09:18:56 +0000 (11:18 +0200)]
Normalize SimpleXML::asXML() argument handling
Remove odd manual checks in favor of a standard zpp call.
Nikita Popov [Thu, 15 Aug 2019 08:40:45 +0000 (10:40 +0200)]
Merge branch 'PHP-7.4'
Nikita Popov [Thu, 15 Aug 2019 08:38:43 +0000 (10:38 +0200)]
Fixed bug #78409
This removes an incorrect optimization (I think this code used to be
necessary to properly handle references in the Serializable based
implementation, but now this code just avoids an array duplication
in a way that is not sound).
zhdaniel [Thu, 15 Aug 2019 02:29:18 +0000 (10:29 +0800)]
Fix typo
Christoph M. Becker [Wed, 14 Aug 2019 17:26:26 +0000 (19:26 +0200)]
Empty merge
Christoph M. Becker [Wed, 14 Aug 2019 17:25:48 +0000 (19:25 +0200)]
Empty merge
Christoph M. Becker [Wed, 14 Aug 2019 17:24:16 +0000 (19:24 +0200)]
Update credits_ext.h
Nikita Popov [Wed, 14 Aug 2019 15:53:38 +0000 (17:53 +0200)]
Merge branch 'PHP-7.4'
Nikita Popov [Wed, 14 Aug 2019 15:53:24 +0000 (17:53 +0200)]
Merge branch 'PHP-7.3' into PHP-7.4
Nikita Popov [Wed, 14 Aug 2019 14:58:54 +0000 (16:58 +0200)]
Fix reference printing in GC tracing
Nikita Popov [Wed, 14 Aug 2019 15:51:26 +0000 (17:51 +0200)]
Merge branch 'PHP-7.2' into PHP-7.3