]> granicus.if.org Git - php/log
php
8 years agoImprove support for microseconds with Date/Time microseconds
Derick Rethans [Wed, 5 Oct 2016 15:24:15 +0000 (11:24 -0400)]
Improve support for microseconds with Date/Time

It fixes several bugs:

- Fixed bug #45554 (Inconsistent behavior of the u format char).
- Fixed bug #48225 (DateTime parser doesn't set microseconds for "now").
- Fixed bug #52514 (microseconds are missing in DateTime class).
- Fixed bug #52519 (microseconds in DateInterval are missing).
- Fixed bug #68506 (General DateTime improvments needed for microseconds to become useful).
- Fixed bug #73109 (timelib_meridian doesn't parse dots correctly).
- Fixed bug #73247 (DateTime constructor does not initialise microseconds property).

It also updates timelib to 2016.04, and updates a data mapping file, which
causes changes to the volatile abbreviations tests.

8 years agoMerge branch 'PHP-7.0' into PHP-7.1
Anatol Belski [Wed, 5 Oct 2016 13:04:55 +0000 (15:04 +0200)]
Merge branch 'PHP-7.0' into PHP-7.1

* PHP-7.0:
  Fix bug #73037, second round

8 years agoMerge branch 'PHP-5.6' into PHP-7.0
Anatol Belski [Wed, 5 Oct 2016 13:03:38 +0000 (15:03 +0200)]
Merge branch 'PHP-5.6' into PHP-7.0

* PHP-5.6:
  Fix bug #73037, second round

8 years agoFix bug #73037, second round
Anatol Belski [Wed, 5 Oct 2016 12:54:06 +0000 (14:54 +0200)]
Fix bug #73037, second round

8 years agoMerge branch 'pull-request/2155' into PHP-7.1
Christoph M. Becker [Wed, 5 Oct 2016 11:07:39 +0000 (13:07 +0200)]
Merge branch 'pull-request/2155' into PHP-7.1

8 years agoMerge branch 'PHP-7.0' into PHP-7.1
Bob Weinand [Wed, 5 Oct 2016 10:20:06 +0000 (12:20 +0200)]
Merge branch 'PHP-7.0' into PHP-7.1

8 years agoUpdate run command for allowing STDIN
Bob Weinand [Wed, 5 Oct 2016 10:14:02 +0000 (12:14 +0200)]
Update run command for allowing STDIN

8 years agoRemove phpdbg fix targeting 7.1 which landed in 7.0
Bob Weinand [Wed, 5 Oct 2016 10:08:20 +0000 (12:08 +0200)]
Remove phpdbg fix targeting 7.1 which landed in 7.0

8 years agoMerge branch 'PHP-7.0' into PHP-7.1
Stanislav Malyshev [Wed, 5 Oct 2016 04:57:28 +0000 (21:57 -0700)]
Merge branch 'PHP-7.0' into PHP-7.1

* PHP-7.0:
  Fixed test
  Added validation to parse_url() to prohibit restricted characters inside login/pass components based on RFC3986
  Apparently negative wordwrap is a thing and should work as length = 0.

8 years agoMerge branch 'PHP-5.6' into PHP-7.0
Stanislav Malyshev [Wed, 5 Oct 2016 04:56:28 +0000 (21:56 -0700)]
Merge branch 'PHP-5.6' into PHP-7.0

* PHP-5.6:
  Fixed test
  Added validation to parse_url() to prohibit restricted characters inside login/pass components based on RFC3986
  Apparently negative wordwrap is a thing and should work as length = 0.

8 years agoFixed test
Ilia Alshanetsky [Wed, 28 Oct 2015 22:38:54 +0000 (18:38 -0400)]
Fixed test

8 years agoAdded validation to parse_url() to prohibit restricted characters inside login/pass...
Ilia Alshanetsky [Tue, 27 Oct 2015 16:40:53 +0000 (12:40 -0400)]
Added validation to parse_url() to prohibit restricted characters inside login/pass components based on RFC3986

8 years agoSkip tests that rely on sessions if sessions aren't available
Craig Duncan [Tue, 4 Oct 2016 19:15:09 +0000 (20:15 +0100)]
Skip tests that rely on sessions if sessions aren't available

8 years agoApparently negative wordwrap is a thing and should work as length = 0.
Stanislav Malyshev [Tue, 4 Oct 2016 02:17:42 +0000 (19:17 -0700)]
Apparently negative wordwrap is a thing and should work as length = 0.

I'll leave it as is for now.

8 years agoMerge branch 'PHP-7.0' into PHP-7.1
Stanislav Malyshev [Tue, 4 Oct 2016 01:39:05 +0000 (18:39 -0700)]
Merge branch 'PHP-7.0' into PHP-7.1

* PHP-7.0:
  Really fix bug #73017

8 years agoMerge branch 'PHP-5.6' into PHP-7.0
Stanislav Malyshev [Tue, 4 Oct 2016 01:37:24 +0000 (18:37 -0700)]
Merge branch 'PHP-5.6' into PHP-7.0

* PHP-5.6:
  Really fix bug #73017

8 years agoReally fix bug #73017
Stanislav Malyshev [Tue, 4 Oct 2016 01:06:59 +0000 (18:06 -0700)]
Really fix bug #73017

8 years agoFix #73207: Array ordering is same between 5.6.21 and 7.1.0 RC3
Christoph M. Becker [Mon, 3 Oct 2016 16:55:39 +0000 (18:55 +0200)]
Fix #73207: Array ordering is same between 5.6.21 and 7.1.0 RC3

8 years agoMerge branch 'PHP-7.0' into PHP-7.1
Bob Weinand [Mon, 3 Oct 2016 10:55:23 +0000 (12:55 +0200)]
Merge branch 'PHP-7.0' into PHP-7.1

8 years agoFix crash on Linux due to double fclose()
Bob Weinand [Mon, 3 Oct 2016 10:55:06 +0000 (12:55 +0200)]
Fix crash on Linux due to double fclose()

8 years agoMerge branch 'PHP-7.0' into PHP-7.1
Bob Weinand [Sun, 2 Oct 2016 11:46:22 +0000 (12:46 +0100)]
Merge branch 'PHP-7.0' into PHP-7.1

8 years agoFix run command args passing when inmidst execution
Bob Weinand [Sun, 2 Oct 2016 11:45:20 +0000 (12:45 +0100)]
Fix run command args passing when inmidst execution

8 years agoMerge branch 'PHP-7.0' into PHP-7.1
Bob Weinand [Sat, 1 Oct 2016 18:14:26 +0000 (19:14 +0100)]
Merge branch 'PHP-7.0' into PHP-7.1

8 years agoAdd proper escape sequences and reading stdin from file in phpdbg run command
Bob Weinand [Sat, 1 Oct 2016 17:54:44 +0000 (18:54 +0100)]
Add proper escape sequences and reading stdin from file in phpdbg run command

8 years agoMerge branch 'PHP-7.0' into PHP-7.1
Nikita Popov [Sat, 1 Oct 2016 17:06:05 +0000 (19:06 +0200)]
Merge branch 'PHP-7.0' into PHP-7.1

8 years agoMerge branch 'PHP-5.6' into PHP-7.0
Nikita Popov [Sat, 1 Oct 2016 17:05:48 +0000 (19:05 +0200)]
Merge branch 'PHP-5.6' into PHP-7.0

8 years agoFix leak in zend_exception_error
Nikita Popov [Sat, 1 Oct 2016 17:03:54 +0000 (19:03 +0200)]
Fix leak in zend_exception_error

Only occurs if a non-fatal severity level is used, e.g. when using
interactive mode.

8 years agoMerge branch 'PHP-7.0' into PHP-7.1
Bob Weinand [Sat, 1 Oct 2016 09:47:31 +0000 (10:47 +0100)]
Merge branch 'PHP-7.0' into PHP-7.1

8 years agoFix invalid access to interned strings after they are freed in phpdbg
Bob Weinand [Sat, 1 Oct 2016 09:46:21 +0000 (10:46 +0100)]
Fix invalid access to interned strings after they are freed in phpdbg

8 years agoMerge branch 'PHP-7.0' into PHP-7.1
Christoph M. Becker [Fri, 30 Sep 2016 21:55:29 +0000 (23:55 +0200)]
Merge branch 'PHP-7.0' into PHP-7.1

8 years agoMerge branch 'PHP-5.6' into PHP-7.0
Christoph M. Becker [Fri, 30 Sep 2016 21:46:28 +0000 (23:46 +0200)]
Merge branch 'PHP-5.6' into PHP-7.0

8 years agoFix #73213: Integer overflow in imageline() with antialiasing
Christoph M. Becker [Fri, 30 Sep 2016 21:25:23 +0000 (23:25 +0200)]
Fix #73213: Integer overflow in imageline() with antialiasing

We port the respective fixes <https://github.com/libgd/libgd/commit/eca37d620>
and <https://github.com/libgd/libgd/commit/837b7327> to our bundled libgd.

8 years agoUnwrap reference returns in cufa etc
Nikita Popov [Fri, 30 Sep 2016 20:08:08 +0000 (22:08 +0200)]
Unwrap reference returns in cufa etc

8 years agoMerge branch 'PHP-7.0' into PHP-7.1
Derick Rethans [Fri, 30 Sep 2016 19:50:00 +0000 (20:50 +0100)]
Merge branch 'PHP-7.0' into PHP-7.1

8 years agoMerge branch 'PHP-5.6' into PHP-7.0
Derick Rethans [Fri, 30 Sep 2016 19:49:53 +0000 (20:49 +0100)]
Merge branch 'PHP-5.6' into PHP-7.0

8 years agoFixed tests due to changes in underlaying data
Derick Rethans [Fri, 30 Sep 2016 19:49:44 +0000 (20:49 +0100)]
Fixed tests due to changes in underlaying data

8 years agoMerge branch 'PHP-7.0' into PHP-7.1
Derick Rethans [Fri, 30 Sep 2016 19:31:16 +0000 (20:31 +0100)]
Merge branch 'PHP-7.0' into PHP-7.1

8 years agoMerge branch 'PHP-5.6' into PHP-7.0
Derick Rethans [Fri, 30 Sep 2016 19:31:05 +0000 (20:31 +0100)]
Merge branch 'PHP-5.6' into PHP-7.0

8 years agoFixed parsing of AM/PM without all the expected dots in place
Derick Rethans [Fri, 30 Sep 2016 19:21:48 +0000 (20:21 +0100)]
Fixed parsing of AM/PM without all the expected dots in place

8 years agoMerge branch 'PHP-7.0' into PHP-7.1
Christoph M. Becker [Fri, 30 Sep 2016 09:46:06 +0000 (11:46 +0200)]
Merge branch 'PHP-7.0' into PHP-7.1

8 years agoMerge branch 'PHP-5.6' into PHP-7.0
Christoph M. Becker [Fri, 30 Sep 2016 09:40:10 +0000 (11:40 +0200)]
Merge branch 'PHP-5.6' into PHP-7.0

8 years agoFix #73203: passing additional_parameters causes mail to fail
Christoph M. Becker [Fri, 30 Sep 2016 09:05:53 +0000 (11:05 +0200)]
Fix #73203: passing additional_parameters causes mail to fail

We make sure that there's no unsigned underflow, which happened for `y==0`.

8 years agoMerge branch 'PHP-7.1' of git.php.net:/php-src into PHP-7.1
Xinchen Hui [Fri, 30 Sep 2016 08:01:19 +0000 (16:01 +0800)]
Merge branch 'PHP-7.1' of git.php.net:/php-src into PHP-7.1

* 'PHP-7.1' of git.php.net:/php-src:
  fix user filter bug

8 years agoCleanup exception handling after zend_fetch_class_by_name
Xinchen Hui [Fri, 30 Sep 2016 08:00:14 +0000 (16:00 +0800)]
Cleanup exception handling after zend_fetch_class_by_name

8 years agoMerge branch 'PHP-7.0' of https://github.com/php/php-src into PHP-7.0
Joe Watkins [Fri, 30 Sep 2016 06:22:50 +0000 (07:22 +0100)]
Merge branch 'PHP-7.0' of https://github.com/php/php-src into PHP-7.0

8 years agofix user filter bug
Joe Watkins [Fri, 30 Sep 2016 06:21:01 +0000 (07:21 +0100)]
fix user filter bug

8 years agofix user filter bug
Joe Watkins [Fri, 30 Sep 2016 06:21:01 +0000 (07:21 +0100)]
fix user filter bug

8 years agoUse smart branch
Xinchen Hui [Fri, 30 Sep 2016 05:19:11 +0000 (13:19 +0800)]
Use smart branch

8 years agoSpecial handling for $php_errormsg and $http_response_header.
Dmitry Stogov [Thu, 15 Sep 2016 00:07:31 +0000 (03:07 +0300)]
Special handling for $php_errormsg and $http_response_header.

8 years agoMerge branch 'PHP-7.0' into PHP-7.1
Christoph M. Becker [Thu, 29 Sep 2016 12:41:12 +0000 (14:41 +0200)]
Merge branch 'PHP-7.0' into PHP-7.1

8 years agoMerge branch 'pull-request/2128' into PHP-7.0
Christoph M. Becker [Thu, 29 Sep 2016 12:39:39 +0000 (14:39 +0200)]
Merge branch 'pull-request/2128' into PHP-7.0

8 years agoMerge branch 'PHP-7.0' into PHP-7.1
Anatol Belski [Thu, 29 Sep 2016 11:02:03 +0000 (13:02 +0200)]
Merge branch 'PHP-7.0' into PHP-7.1

* PHP-7.0:
  sync win32 makefile with makedist zendparse exports

8 years agosync win32 makefile with makedist zendparse exports
Anatol Belski [Thu, 29 Sep 2016 10:56:49 +0000 (12:56 +0200)]
sync win32 makefile with makedist zendparse exports

With a newer bison this part is relevant. Whil bison 2.4.1 is still
used, this changes cater for the forward compatibility.

8 years agozval_dtor_func_for_ptr() -> zval_dtor_func()
Dmitry Stogov [Thu, 29 Sep 2016 07:59:54 +0000 (10:59 +0300)]
zval_dtor_func_for_ptr() -> zval_dtor_func()

8 years agoMerge branch 'PHP-7.0' into PHP-7.1
Dmitry Stogov [Thu, 29 Sep 2016 07:57:09 +0000 (10:57 +0300)]
Merge branch 'PHP-7.0' into PHP-7.1

* PHP-7.0:
  Better fix for bug #72854 (avoid extra copy and creating reference to stack variable)

8 years agoBetter fix for bug #72854 (avoid extra copy and creating reference to stack variable)
Dmitry Stogov [Thu, 29 Sep 2016 07:56:01 +0000 (10:56 +0300)]
Better fix for bug #72854 (avoid extra copy and creating reference to stack variable)

8 years agoMerge branch 'PHP-7.0' into PHP-7.1
Ferenc Kovacs [Wed, 28 Sep 2016 22:59:50 +0000 (00:59 +0200)]
Merge branch 'PHP-7.0' into PHP-7.1

8 years agoMerge branch 'PHP-5.6' into PHP-7.0
Ferenc Kovacs [Wed, 28 Sep 2016 22:58:02 +0000 (00:58 +0200)]
Merge branch 'PHP-5.6' into PHP-7.0

Conflicts:
configure.in
main/php_version.h

8 years ago5.6.28 is next
Ferenc Kovacs [Wed, 28 Sep 2016 22:55:36 +0000 (00:55 +0200)]
5.6.28 is next

8 years agoUpdated to version 2016.7 (2016g)
Derick Rethans [Wed, 28 Sep 2016 22:30:28 +0000 (23:30 +0100)]
Updated to version 2016.7 (2016g)

8 years agoEmpty merge
Derick Rethans [Wed, 28 Sep 2016 22:30:28 +0000 (23:30 +0100)]
Empty merge

8 years agoUpdated to version 2016.7 (2016g)
Derick Rethans [Wed, 28 Sep 2016 22:30:27 +0000 (23:30 +0100)]
Updated to version 2016.7 (2016g)

8 years agoEmpty merge
Derick Rethans [Wed, 28 Sep 2016 22:30:27 +0000 (23:30 +0100)]
Empty merge

8 years agoUpdated to version 2016.7 (2016g)
Derick Rethans [Wed, 28 Sep 2016 22:30:26 +0000 (23:30 +0100)]
Updated to version 2016.7 (2016g)

8 years agoMerge branch 'PHP-7.0' into PHP-7.1
Nikita Popov [Wed, 28 Sep 2016 21:22:48 +0000 (23:22 +0200)]
Merge branch 'PHP-7.0' into PHP-7.1

8 years agoMerge branch 'PHP-5.6' into PHP-7.0
Nikita Popov [Wed, 28 Sep 2016 21:12:45 +0000 (23:12 +0200)]
Merge branch 'PHP-5.6' into PHP-7.0

8 years agoHandle resource keys in constexpr arrays
Nikita Popov [Wed, 28 Sep 2016 21:11:02 +0000 (23:11 +0200)]
Handle resource keys in constexpr arrays

8 years agoFix the constant array case as well
Nikita Popov [Wed, 28 Sep 2016 21:05:21 +0000 (23:05 +0200)]
Fix the constant array case as well

8 years agoMerge branch 'PHP-7.0' into PHP-7.1
Nikita Popov [Wed, 28 Sep 2016 20:38:47 +0000 (22:38 +0200)]
Merge branch 'PHP-7.0' into PHP-7.1

8 years agoMerge branch 'PHP-5.6' into PHP-7.0
Nikita Popov [Wed, 28 Sep 2016 20:36:36 +0000 (22:36 +0200)]
Merge branch 'PHP-5.6' into PHP-7.0

8 years agoCheck next_index_insert failure in ADD_ARRAY_ELEMENT
Nikita Popov [Wed, 28 Sep 2016 20:33:40 +0000 (22:33 +0200)]
Check next_index_insert failure in ADD_ARRAY_ELEMENT

8 years agoPrepare to Re-roll 7.1.0RC3
Davey Shafik [Wed, 28 Sep 2016 20:02:02 +0000 (13:02 -0700)]
Prepare to Re-roll 7.1.0RC3

8 years agoCombine code for keyed/unkeyed list()
Nikita Popov [Wed, 28 Sep 2016 19:41:56 +0000 (21:41 +0200)]
Combine code for keyed/unkeyed list()

8 years agoFix segfault when empty entry in keyed array assignment
Nikita Popov [Wed, 28 Sep 2016 19:31:06 +0000 (21:31 +0200)]
Fix segfault when empty entry in keyed array assignment

8 years agofix exports which are now referenced by phpdbg
Anatol Belski [Wed, 28 Sep 2016 18:06:10 +0000 (20:06 +0200)]
fix exports which are now referenced by phpdbg

(cherry picked from commit cd0f1c8a5ed6d4e677dbf891fc69326e5b05cccc)

8 years agoUpdate UPGRADING to reflect new reality
Davey Shafik [Wed, 28 Sep 2016 18:23:31 +0000 (11:23 -0700)]
Update UPGRADING to reflect new reality

8 years agoUpdate NEWS for 7.1.0RC4
Davey Shafik [Wed, 28 Sep 2016 18:07:19 +0000 (18:07 +0000)]
Update NEWS for 7.1.0RC4

8 years agoUpdate NEWS
Davey Shafik [Wed, 28 Sep 2016 17:31:22 +0000 (10:31 -0700)]
Update NEWS

8 years agoDon't mark ReflectionType::__toString() as deprecated for now
Nikita Popov [Tue, 27 Sep 2016 17:26:50 +0000 (19:26 +0200)]
Don't mark ReflectionType::__toString() as deprecated for now

8 years agoRevert ReflectionType::__toString() behavior + deprecate
Nikita Popov [Wed, 21 Sep 2016 19:36:09 +0000 (21:36 +0200)]
Revert ReflectionType::__toString() behavior + deprecate

8 years agoEnsure symtable exists before checking it
Nikita Popov [Wed, 28 Sep 2016 17:19:31 +0000 (19:19 +0200)]
Ensure symtable exists before checking it

8 years agoAdd phpdbg generator command
Bob Weinand [Wed, 28 Sep 2016 11:26:08 +0000 (13:26 +0200)]
Add phpdbg generator command

8 years agoMerge branch 'PHP-7.0' into PHP-7.1
Nikita Popov [Tue, 27 Sep 2016 17:48:35 +0000 (19:48 +0200)]
Merge branch 'PHP-7.0' into PHP-7.1

8 years agoFix bug #73181
Nikita Popov [Tue, 27 Sep 2016 17:47:48 +0000 (19:47 +0200)]
Fix bug #73181

8 years agoMerge branch 'PHP-7.0' into PHP-7.1
Anatol Belski [Tue, 27 Sep 2016 10:51:24 +0000 (12:51 +0200)]
Merge branch 'PHP-7.0' into PHP-7.1

* PHP-7.0:
  prepare next

8 years agoprepare next
Anatol Belski [Tue, 27 Sep 2016 10:49:52 +0000 (12:49 +0200)]
prepare next

8 years agoupdate NEWS
Adam Baratz [Mon, 26 Sep 2016 21:13:50 +0000 (17:13 -0400)]
update NEWS

8 years agoMerge branch 'PHP-7.0' into PHP-7.1
Adam Baratz [Mon, 26 Sep 2016 21:13:14 +0000 (17:13 -0400)]
Merge branch 'PHP-7.0' into PHP-7.1

* PHP-7.0:
  update NEWS
  Ignore potentially misleading dberr values

8 years agoupdate NEWS
Adam Baratz [Mon, 26 Sep 2016 21:09:11 +0000 (17:09 -0400)]
update NEWS

8 years agoIgnore potentially misleading dberr values
Chris Kings-Lynne [Fri, 13 Sep 2013 06:09:08 +0000 (14:09 +0800)]
Ignore potentially misleading dberr values

FreeTDS had a buggy behavior where it would pass invalid values:
https://sourceforge.net/p/freetds/bugs/59/

The fix for this issue -- bc22b2ef817fb5d102bd758111ff3634b39a1319 on their
repo -- was to always use SYBESMSG for dberr. This makes it so the existing
pdo_dblib code would work as is. But by ignoring the dberr value in this
function, it will behave correctly, even with older versions of FreeTDS.

8 years agoupdate NEWS
Anatol Belski [Mon, 26 Sep 2016 17:55:43 +0000 (19:55 +0200)]
update NEWS

8 years agoMerge branch 'PHP-7.0' into PHP-7.1
Anatol Belski [Mon, 26 Sep 2016 17:55:05 +0000 (19:55 +0200)]
Merge branch 'PHP-7.0' into PHP-7.1

* PHP-7.0:
  update NEWS

8 years agoupdate NEWS
Anatol Belski [Mon, 26 Sep 2016 17:54:10 +0000 (19:54 +0200)]
update NEWS

8 years agoMerge branch 'PHP-7.1' of git.php.net:php-src into PHP-7.1
Anatol Belski [Mon, 26 Sep 2016 16:55:08 +0000 (18:55 +0200)]
Merge branch 'PHP-7.1' of git.php.net:php-src into PHP-7.1

8 years agoMerge branch 'PHP-7.0' of git.php.net:php-src into PHP-7.0
Anatol Belski [Mon, 26 Sep 2016 16:54:43 +0000 (18:54 +0200)]
Merge branch 'PHP-7.0' of git.php.net:php-src into PHP-7.0

8 years agoMerge branch 'PHP-7.0' into PHP-7.1
Anatol Belski [Mon, 26 Sep 2016 16:49:40 +0000 (18:49 +0200)]
Merge branch 'PHP-7.0' into PHP-7.1

* PHP-7.0:
  Fixed bug #73172 parse error: Invalid numeric literal

8 years agoFixed bug #73172 parse error: Invalid numeric literal
Anatol Belski [Mon, 26 Sep 2016 16:47:30 +0000 (18:47 +0200)]
Fixed bug #73172 parse error: Invalid numeric literal

8 years agoMerge branch 'PHP-7.0' into PHP-7.1
Christoph M. Becker [Mon, 26 Sep 2016 16:45:05 +0000 (18:45 +0200)]
Merge branch 'PHP-7.0' into PHP-7.1

8 years agoMerge branch 'PHP-5.6' into PHP-7.0
Christoph M. Becker [Mon, 26 Sep 2016 16:43:03 +0000 (18:43 +0200)]
Merge branch 'PHP-5.6' into PHP-7.0

8 years agoFix #53745: cgi.discard_path option is missing from php.ini
Christoph M. Becker [Mon, 26 Sep 2016 16:16:50 +0000 (18:16 +0200)]
Fix #53745: cgi.discard_path option is missing from php.ini

Also cgi.check_shebang_line has been missing.