]> granicus.if.org Git - php/log
php
5 years agoPromote warnings to errors in range()
George Peter Banyard [Tue, 20 Aug 2019 21:11:11 +0000 (23:11 +0200)]
Promote warnings to errors in range()

5 years agoMerge branch 'PHP-7.4'
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

5 years agoRemove 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

5 years agoRemove some unnecessary RETURN_FALSE
Nikita Popov [Tue, 20 Aug 2019 15:07:39 +0000 (17:07 +0200)]
Remove some unnecessary RETURN_FALSE

5 years agoMerge branch 'PHP-7.4'
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

5 years agoMerge branch 'PHP-7.3' into PHP-7.4
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

5 years agoensure proper settings for test
Remi Collet [Tue, 20 Aug 2019 14:30:52 +0000 (16:30 +0200)]
ensure proper settings for test

5 years agoFix opcache type info for stream_bucket_make_writable()
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.

5 years agoUpdate NEWS for 7.4.0RC1
Derick Rethans [Tue, 20 Aug 2019 14:10:36 +0000 (14:10 +0000)]
Update NEWS for 7.4.0RC1

5 years agoUpdate NEWS for PHP 7.4.0beta4
Derick Rethans [Tue, 20 Aug 2019 14:09:17 +0000 (14:09 +0000)]
Update NEWS for PHP 7.4.0beta4

5 years agoMerge branch 'PHP-7.4'
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

5 years agoFix #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.

5 years agoAdd Curl ext PHP stubs
Simon Podlipsky [Sun, 18 Aug 2019 12:48:23 +0000 (14:48 +0200)]
Add Curl ext PHP stubs

Closes GH-4557.

5 years agoAdd Calendar ext PHP stubs
Simon Podlipsky [Sat, 17 Aug 2019 10:28:49 +0000 (12:28 +0200)]
Add Calendar ext PHP stubs

Closes GH-4552.

5 years agoMerge branch 'PHP-7.4'
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

5 years agoMerge branch 'PHP-7.3' into PHP-7.4
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

5 years agoDon'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

5 years agoMerge branch 'PHP-7.4'
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

5 years agoMerge branch 'PHP-7.3' into PHP-7.4
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

5 years agoMerge branch 'PHP-7.2' into PHP-7.3
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

5 years agofix 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

5 years agoAdd stubs for filter extension
Henrique Duarte [Thu, 15 Aug 2019 17:45:22 +0000 (14:45 -0300)]
Add stubs for filter extension

Closes GH-4542.

5 years agoRemove some unnecessary RETURN_FALSE uses
Nikita Popov [Tue, 20 Aug 2019 08:35:27 +0000 (10:35 +0200)]
Remove some unnecessary RETURN_FALSE uses

5 years agoMerge branch 'PHP-7.4'
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

5 years agoMerge branch 'PHP-7.3' into PHP-7.4
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

5 years agoMerge branch 'PHP-7.2' into PHP-7.3
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

5 years agoFix #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.

5 years agoAdd sha1 arginfo stubs
inem0o [Mon, 19 Aug 2019 10:08:24 +0000 (12:08 +0200)]
Add sha1 arginfo stubs

5 years agoAdd pageinfo arginfo stubs
inem0o [Mon, 19 Aug 2019 08:18:06 +0000 (10:18 +0200)]
Add pageinfo arginfo stubs

5 years agoAdd metaphone arginfo stubs
inem0o [Mon, 19 Aug 2019 07:38:27 +0000 (09:38 +0200)]
Add metaphone arginfo stubs

5 years agoAdd md5 arginfo stubs
inem0o [Fri, 16 Aug 2019 10:17:45 +0000 (12:17 +0200)]
Add md5 arginfo stubs

5 years agoCleanup unnecessary if guard clause to free buffer.
Benjamin Eberlei [Sun, 18 Aug 2019 09:01:31 +0000 (11:01 +0200)]
Cleanup unnecessary if guard clause to free buffer.

5 years agoDon't explicitly set return value on ZPP failure in ext/calendar
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.

5 years agoFix typo: environement [ci skip]
Yusuke Kawasaki [Sat, 17 Aug 2019 10:22:52 +0000 (19:22 +0900)]
Fix typo: environement [ci skip]

5 years agoMerge branch 'PHP-7.4'
Nikita Popov [Sat, 17 Aug 2019 09:00:15 +0000 (11:00 +0200)]
Merge branch 'PHP-7.4'

5 years agoMerge branch 'PHP-7.3' into 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

5 years agoFixed bug #77922
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.

5 years agoRemove useless error check for bin2hex()
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.

5 years agoMerge branch 'PHP-7.4'
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

5 years agoMerge branch 'PHP-7.3' into PHP-7.4
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

5 years agoMerge branch 'PHP-7.2' into PHP-7.3
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

5 years agoSuppress 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

5 years agoDon't explicitly set return value on ZPP failure
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.

5 years agoDon't explicitly set return value on ZPP failure
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.

5 years agoMerge branch 'PHP-7.4'
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"

5 years agoMerge branch 'PHP-7.3' into PHP-7.4
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"

5 years agoRevert "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.

5 years agoCreating stub for ext bz2
Kauan Sousa [Thu, 15 Aug 2019 21:11:46 +0000 (23:11 +0200)]
Creating stub for ext bz2

5 years agoAdd lcg arginfo stubs
inem0o [Fri, 16 Aug 2019 10:02:03 +0000 (12:02 +0200)]
Add lcg arginfo stubs

5 years agoAdd ftok arginfo stubs
inem0o [Fri, 16 Aug 2019 09:47:52 +0000 (11:47 +0200)]
Add ftok arginfo stubs

5 years agoSupport typed variadic args in gen_stubs
Nikita Popov [Thu, 15 Aug 2019 20:07:49 +0000 (22:07 +0200)]
Support typed variadic args in gen_stubs

5 years agoMerge branch 'PHP-7.4'
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

5 years agoappveyor: 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

5 years agoEmpty merge
Christoph M. Becker [Thu, 15 Aug 2019 13:30:28 +0000 (15:30 +0200)]
Empty merge

5 years agoEmpty merge
Christoph M. Becker [Thu, 15 Aug 2019 13:30:03 +0000 (15:30 +0200)]
Empty merge

5 years agoUpdate NEWS
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.

5 years agocreating stubs for echant ext
Victor Gazotti [Thu, 15 Aug 2019 12:27:46 +0000 (14:27 +0200)]
creating stubs for echant ext

5 years agoUnify ZPP handling in ext/sqlite3
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.

5 years agoDon't repeat yourself
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.

5 years agoConvert sqlite3 functions arginfo to php stubs
Craig Duncan [Sat, 10 Aug 2019 15:53:17 +0000 (17:53 +0200)]
Convert sqlite3 functions arginfo to php stubs

5 years agoNormalize SimpleXML::asXML() argument handling
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.

5 years agoMerge branch 'PHP-7.4'
Nikita Popov [Thu, 15 Aug 2019 08:40:45 +0000 (10:40 +0200)]
Merge branch 'PHP-7.4'

5 years agoFixed bug #78409
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).

5 years agoFix typo
zhdaniel [Thu, 15 Aug 2019 02:29:18 +0000 (10:29 +0800)]
Fix typo

5 years agoEmpty merge
Christoph M. Becker [Wed, 14 Aug 2019 17:26:26 +0000 (19:26 +0200)]
Empty merge

5 years agoEmpty merge
Christoph M. Becker [Wed, 14 Aug 2019 17:25:48 +0000 (19:25 +0200)]
Empty merge

5 years agoUpdate credits_ext.h
Christoph M. Becker [Wed, 14 Aug 2019 17:24:16 +0000 (19:24 +0200)]
Update credits_ext.h

5 years agoMerge branch 'PHP-7.4'
Nikita Popov [Wed, 14 Aug 2019 15:53:38 +0000 (17:53 +0200)]
Merge branch 'PHP-7.4'

5 years agoMerge branch 'PHP-7.3' into 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

5 years agoFix reference printing in GC tracing
Nikita Popov [Wed, 14 Aug 2019 14:58:54 +0000 (16:58 +0200)]
Fix reference printing in GC tracing

5 years agoMerge branch 'PHP-7.2' into PHP-7.3
Nikita Popov [Wed, 14 Aug 2019 15:51:26 +0000 (17:51 +0200)]
Merge branch 'PHP-7.2' into PHP-7.3

5 years agoFixed bug #78412
Nikita Popov [Wed, 14 Aug 2019 15:48:57 +0000 (17:48 +0200)]
Fixed bug #78412

$this should only be included in the generator GC buffer, if it
will be released on destruction.

5 years agoAdd hrtime arginfo stubs
Theodore Brown [Wed, 14 Aug 2019 13:32:51 +0000 (08:32 -0500)]
Add hrtime arginfo stubs

5 years agoAdd some stubs at ctype ext
Victor Gazotti [Wed, 14 Aug 2019 13:43:04 +0000 (15:43 +0200)]
Add some stubs at ctype ext

5 years agoadd some stubs for array func in basic_functions
jason-liew [Sun, 11 Aug 2019 16:32:12 +0000 (00:32 +0800)]
add some stubs for array func in basic_functions

5 years agoAdded arginfo stub for posix extension
Stephen Reay [Mon, 12 Aug 2019 10:24:35 +0000 (12:24 +0200)]
Added arginfo stub for posix extension

5 years agoMerge branch 'PHP-7.4'
Sara Golemon [Tue, 13 Aug 2019 23:34:42 +0000 (19:34 -0400)]
Merge branch 'PHP-7.4'

* PHP-7.4:
  Bump for 7.2.23

5 years agoMerge branch 'PHP-7.3' into PHP-7.4
Sara Golemon [Tue, 13 Aug 2019 23:34:26 +0000 (19:34 -0400)]
Merge branch 'PHP-7.3' into PHP-7.4

* PHP-7.3:
  Bump for 7.2.23

5 years agoMerge branch 'PHP-7.2' into PHP-7.3
Sara Golemon [Tue, 13 Aug 2019 23:34:12 +0000 (19:34 -0400)]
Merge branch 'PHP-7.2' into PHP-7.3

* PHP-7.2:
  Bump for 7.2.23

5 years agoBump for 7.2.23
Sara Golemon [Tue, 13 Aug 2019 23:32:12 +0000 (19:32 -0400)]
Bump for 7.2.23

5 years agoMerge branch 'PHP-7.4'
Christoph M. Becker [Tue, 13 Aug 2019 22:49:06 +0000 (00:49 +0200)]
Merge branch 'PHP-7.4'

* PHP-7.4:
  Next will be 7.3.10

5 years agoMerge branch 'PHP-7.3' into PHP-7.4
Christoph M. Becker [Tue, 13 Aug 2019 22:48:49 +0000 (00:48 +0200)]
Merge branch 'PHP-7.3' into PHP-7.4

* PHP-7.3:
  Next will be 7.3.10

5 years agoNext will be 7.3.10
Christoph M. Becker [Tue, 13 Aug 2019 21:57:48 +0000 (23:57 +0200)]
Next will be 7.3.10

5 years agoMerge branch 'PHP-7.4'
Christoph M. Becker [Tue, 13 Aug 2019 21:26:58 +0000 (23:26 +0200)]
Merge branch 'PHP-7.4'

* PHP-7.4:
  Bump version numbers

5 years agoMerge branch 'PHP-7.3' into PHP-7.4
Christoph M. Becker [Tue, 13 Aug 2019 21:26:29 +0000 (23:26 +0200)]
Merge branch 'PHP-7.3' into PHP-7.4

* PHP-7.3:
  Bump version numbers

5 years agoBump version numbers
Christoph M. Becker [Tue, 13 Aug 2019 21:23:43 +0000 (23:23 +0200)]
Bump version numbers

This should have been done four weeks ago already.

5 years agoMerge branch 'PHP-7.4'
Nikita Popov [Tue, 13 Aug 2019 18:24:39 +0000 (20:24 +0200)]
Merge branch 'PHP-7.4'

5 years agoFixed bug #78410
Nikita Popov [Tue, 13 Aug 2019 18:23:56 +0000 (20:23 +0200)]
Fixed bug #78410

5 years agoAdd myself to extension maintainer list
Nikita Popov [Tue, 13 Aug 2019 14:07:51 +0000 (16:07 +0200)]
Add myself to extension maintainer list

Year ranges are wild guesses.

5 years agoMerge branch 'PHP-7.4'
Nikita Popov [Tue, 13 Aug 2019 12:54:57 +0000 (14:54 +0200)]
Merge branch 'PHP-7.4'

5 years agoFixed bug #72530
Nikita Popov [Thu, 1 Aug 2019 10:55:39 +0000 (12:55 +0200)]
Fixed bug #72530

For objects with destructors, we will now only call the destructor
in the initial GC run, and remove any nested data. The object is
marked purple so it will be considered a root for the next GC run,
at which point it will be fully destroyed, if possible.

GC counts change on a number of tests, as the objects now get
destroyed later.

5 years agoAdd inet_ntop and inet_pton stubs
Islam Israfilov [Tue, 13 Aug 2019 11:11:49 +0000 (13:11 +0200)]
Add inet_ntop and inet_pton stubs

5 years agoDon't return persistent string from get_cfg_var()
Nikita Popov [Tue, 13 Aug 2019 12:40:07 +0000 (14:40 +0200)]
Don't return persistent string from get_cfg_var()

This is not thread-safe.

5 years agoMark PCRE locale key as local persistent
Nikita Popov [Tue, 13 Aug 2019 12:35:08 +0000 (14:35 +0200)]
Mark PCRE locale key as local persistent

5 years agoMerge branch 'PHP-7.4'
Christoph M. Becker [Tue, 13 Aug 2019 11:29:35 +0000 (13:29 +0200)]
Merge branch 'PHP-7.4'

* PHP-7.4:
  Remove dead code

5 years agoRemove dead code
Christoph M. Becker [Tue, 13 Aug 2019 11:25:54 +0000 (13:25 +0200)]
Remove dead code

5 years agoAdded zip arginfo stubs
Stephen Reay [Mon, 12 Aug 2019 12:11:56 +0000 (14:11 +0200)]
Added zip arginfo stubs

5 years agoMerge branch 'PHP-7.4'
Nikita Popov [Tue, 13 Aug 2019 10:35:02 +0000 (12:35 +0200)]
Merge branch 'PHP-7.4'

5 years agoAdjust GC count in SPL test
Nikita Popov [Tue, 13 Aug 2019 10:34:48 +0000 (12:34 +0200)]
Adjust GC count in SPL test

5 years agoMerge branch 'PHP-7.4'
Nikita Popov [Tue, 13 Aug 2019 10:17:47 +0000 (12:17 +0200)]
Merge branch 'PHP-7.4'