]> granicus.if.org Git - php/log
php
8 years agoadd comment and fix typo
Anatol Belski [Mon, 11 Jul 2016 09:17:34 +0000 (11:17 +0200)]
add comment and fix typo

8 years agoadded UPGRADING and NEWS notes
Anatol Belski [Mon, 11 Jul 2016 08:55:43 +0000 (10:55 +0200)]
added UPGRADING and NEWS notes

8 years agofix build with mod_winnt
Anatol Belski [Mon, 11 Jul 2016 07:40:30 +0000 (09:40 +0200)]
fix build with mod_winnt

8 years agoPass error severity to SAPI modules and raise corresponding error level in Apache
Martin Vobruba [Mon, 4 Jul 2016 08:46:44 +0000 (10:46 +0200)]
Pass error severity to SAPI modules and raise corresponding error level in Apache

8 years agofix cli codepage reset
Anatol Belski [Mon, 11 Jul 2016 07:22:21 +0000 (09:22 +0200)]
fix cli codepage reset

8 years agosilence compiler noise
Anatol Belski [Thu, 7 Jul 2016 13:34:46 +0000 (15:34 +0200)]
silence compiler noise

8 years agoMerge branch 'PHP-7.0'
Xinchen Hui [Mon, 11 Jul 2016 03:51:34 +0000 (11:51 +0800)]
Merge branch 'PHP-7.0'

* PHP-7.0:
  Fixed bug #72571 (SQLite3::bindValue, SQLite3::bindParam crash)

8 years agoFixed bug #72571 (SQLite3::bindValue, SQLite3::bindParam crash)
Xinchen Hui [Mon, 11 Jul 2016 03:51:19 +0000 (11:51 +0800)]
Fixed bug #72571 (SQLite3::bindValue, SQLite3::bindParam crash)

8 years agoAdd opcodes to zend_wrong_string_offset()
Nikita Popov [Sun, 10 Jul 2016 13:13:21 +0000 (15:13 +0200)]
Add opcodes to zend_wrong_string_offset()

8 years agoMerge branch 'PHP-7.0'
Matteo Beccati [Sun, 10 Jul 2016 12:38:17 +0000 (14:38 +0200)]
Merge branch 'PHP-7.0'

* PHP-7.0:
  Fixed bug #72570 Segmentation fault when binding parameters on a query without placeholders
  Fixed bug #70313 PDO statement fails to throw exception

8 years agoFixed bug #72570 Segmentation fault when binding parameters on a query without placeh...
Matteo Beccati [Sun, 10 Jul 2016 12:36:07 +0000 (14:36 +0200)]
Fixed bug #72570 Segmentation fault when binding parameters on a query without placeholders

8 years agoMerge branch 'PHP-5.6' into PHP-7.0
Matteo Beccati [Sun, 10 Jul 2016 12:34:59 +0000 (14:34 +0200)]
Merge branch 'PHP-5.6' into PHP-7.0

* PHP-5.6:
  Fixed bug #70313 PDO statement fails to throw exception

8 years agoFixed bug #70313 PDO statement fails to throw exception
Matteo Beccati [Sun, 10 Jul 2016 11:04:49 +0000 (13:04 +0200)]
Fixed bug #70313 PDO statement fails to throw exception

8 years agoUpdated NEWS
Julien Pauli [Fri, 8 Jul 2016 14:58:26 +0000 (16:58 +0200)]
Updated NEWS

8 years agoEnsure optind is correct when flags appear after dash-dash
Adam Saponara [Sun, 29 May 2016 18:21:10 +0000 (14:21 -0400)]
Ensure optind is correct when flags appear after dash-dash

8 years agoAdd optind param to getopt
Adam Saponara [Sun, 29 May 2016 17:44:16 +0000 (13:44 -0400)]
Add optind param to getopt

8 years agoUpdated NEWS
Julien Pauli [Fri, 8 Jul 2016 14:34:15 +0000 (16:34 +0200)]
Updated NEWS

8 years agoMerge branch 'PHP-7.0'
Julien Pauli [Fri, 8 Jul 2016 14:32:42 +0000 (16:32 +0200)]
Merge branch 'PHP-7.0'

* PHP-7.0:
  Updated NEWS
  Updated NEWS
  update filter_var filters for ipv4 addresses to reflect rfc6890

8 years agoUpdated NEWS
Julien Pauli [Fri, 8 Jul 2016 14:32:32 +0000 (16:32 +0200)]
Updated NEWS

8 years agoMerge branch 'PHP-5.6' into PHP-7.0
Julien Pauli [Fri, 8 Jul 2016 14:31:53 +0000 (16:31 +0200)]
Merge branch 'PHP-5.6' into PHP-7.0

* PHP-5.6:
  Updated NEWS
  update filter_var filters for ipv4 addresses to reflect rfc6890

8 years agoUpdated NEWS
Julien Pauli [Fri, 8 Jul 2016 14:31:42 +0000 (16:31 +0200)]
Updated NEWS

8 years agoupdate filter_var filters for ipv4 addresses to reflect rfc6890
Jos Elstgeest [Fri, 24 Jun 2016 22:47:15 +0000 (00:47 +0200)]
update filter_var filters for ipv4 addresses to reflect rfc6890

8 years agoMerge branch 'PHP-7.0'
Julien Pauli [Fri, 8 Jul 2016 13:55:22 +0000 (15:55 +0200)]
Merge branch 'PHP-7.0'

* PHP-7.0:
  Correct for connection with PDO::ATTR_STRINGIFY_FETCHES set to false

8 years agoCorrect for connection with PDO::ATTR_STRINGIFY_FETCHES set to false
Adam Baratz [Wed, 15 Jun 2016 21:42:34 +0000 (17:42 -0400)]
Correct for connection with PDO::ATTR_STRINGIFY_FETCHES set to false

8 years agoMerge branch 'pull-request/1987'
Julien Pauli [Fri, 8 Jul 2016 13:28:28 +0000 (15:28 +0200)]
Merge branch 'pull-request/1987'

* pull-request/1987:
  fix typo in configure message

8 years agoUpdated NEWS
Julien Pauli [Fri, 8 Jul 2016 13:25:28 +0000 (15:25 +0200)]
Updated NEWS

8 years agoImplement #43269: Retrieve FD_SETSIZE within PHP
Christoph M. Becker [Sun, 3 Jul 2016 12:16:43 +0000 (14:16 +0200)]
Implement #43269: Retrieve FD_SETSIZE within PHP

To give userland developers who work with large numbers of file descriptors
the opportunity to avoid problems on systems which may not support that
many descriptors (e.g. when calling socket_select()), we make FD_SETSIZE
available in PHP as PHP_FD_SETSIZE.

8 years agoMerge branch 'PHP-7.0'
Julien Pauli [Fri, 8 Jul 2016 13:06:36 +0000 (15:06 +0200)]
Merge branch 'PHP-7.0'

* PHP-7.0:
  Updated NEWS
  Updated NEWS
  Backported bug #71144 (Segmentation fault when using cURL with ZTS)
  fix bug #72024 (microtime() leaks memory)

8 years agoUpdated NEWS
Julien Pauli [Fri, 8 Jul 2016 13:06:21 +0000 (15:06 +0200)]
Updated NEWS

8 years agoMerge branch 'PHP-5.6' into PHP-7.0
Julien Pauli [Fri, 8 Jul 2016 13:05:13 +0000 (15:05 +0200)]
Merge branch 'PHP-5.6' into PHP-7.0

* PHP-5.6:
  Updated NEWS
  Backported bug #71144 (Segmentation fault when using cURL with ZTS)
  fix bug #72024 (microtime() leaks memory)

Conflicts:
ext/curl/interface.c

8 years agoUpdated NEWS
Julien Pauli [Fri, 8 Jul 2016 12:59:16 +0000 (14:59 +0200)]
Updated NEWS

8 years agoBackported bug #71144 (Segmentation fault when using cURL with ZTS)
Julien Pauli [Fri, 8 Jul 2016 12:58:56 +0000 (14:58 +0200)]
Backported bug #71144 (Segmentation fault when using cURL with ZTS)

8 years agofix bug #72024 (microtime() leaks memory)
Michael Maroszek [Thu, 7 Jul 2016 12:24:05 +0000 (14:24 +0200)]
fix bug #72024 (microtime() leaks memory)

8 years agoNEWS
Remi Collet [Fri, 8 Jul 2016 08:48:34 +0000 (10:48 +0200)]
NEWS

8 years agoMerge branch 'PHP-7.0'
Remi Collet [Fri, 8 Jul 2016 08:48:15 +0000 (10:48 +0200)]
Merge branch 'PHP-7.0'

* PHP-7.0:
  NEWS
  Fixed Bug #72564 boolean always deserialized as "true"
  add test for bug #72564 (7.x regression)

8 years agoNEWS
Remi Collet [Fri, 8 Jul 2016 08:47:40 +0000 (10:47 +0200)]
NEWS

8 years agoFixed Bug #72564 boolean always deserialized as "true"
Remi Collet [Fri, 8 Jul 2016 08:46:33 +0000 (10:46 +0200)]
Fixed Bug #72564 boolean always deserialized as "true"

8 years agoMerge branch 'PHP-5.6' into PHP-7.0
Remi Collet [Fri, 8 Jul 2016 08:45:32 +0000 (10:45 +0200)]
Merge branch 'PHP-5.6' into PHP-7.0

* PHP-5.6:
  add test for bug #72564 (7.x regression)

8 years agoadd test for bug #72564 (7.x regression)
Remi Collet [Fri, 8 Jul 2016 08:45:13 +0000 (10:45 +0200)]
add test for bug #72564 (7.x regression)

8 years agoThis became unnecessary after #72543 is fixed
Xinchen Hui [Thu, 7 Jul 2016 07:25:27 +0000 (15:25 +0800)]
This became unnecessary after #72543 is fixed

8 years agoMerge branch 'pull-request/1955'
Côme Bernigaud [Thu, 7 Jul 2016 03:11:56 +0000 (05:11 +0200)]
Merge branch 'pull-request/1955'

* pull-request/1955:
  Add parenthesis to if statements
  Correctly add to the length of the final string
  Correctly add to the length of the final string
  Fix minor spacing issue
  Make LDAP_ESCAPE_DN compliant with RFC 4514

8 years agoMerge branch 'PHP-7.0'
Christopher Jones [Thu, 7 Jul 2016 01:53:08 +0000 (11:53 +1000)]
Merge branch 'PHP-7.0'

8 years agoMerge branch 'PHP-5.6' into PHP-7.0
Christopher Jones [Thu, 7 Jul 2016 01:52:39 +0000 (11:52 +1000)]
Merge branch 'PHP-5.6' into PHP-7.0

8 years agoMask DB usernames from expected test output for test portability
Christopher Jones [Thu, 7 Jul 2016 01:52:17 +0000 (11:52 +1000)]
Mask DB usernames from expected test output for test portability

8 years agoMerge branch 'PHP-7.0'
Ferenc Kovacs [Wed, 6 Jul 2016 23:50:32 +0000 (01:50 +0200)]
Merge branch 'PHP-7.0'

8 years agoMerge branch 'PHP-5.6' into PHP-7.0
Ferenc Kovacs [Wed, 6 Jul 2016 23:49:05 +0000 (01:49 +0200)]
Merge branch 'PHP-5.6' into PHP-7.0

8 years agomerge NEWS blocks
Ferenc Kovacs [Wed, 6 Jul 2016 23:46:02 +0000 (01:46 +0200)]
merge NEWS blocks

8 years agoMerge branch 'PHP-7.0'
Nikita Popov [Wed, 6 Jul 2016 23:31:49 +0000 (01:31 +0200)]
Merge branch 'PHP-7.0'

8 years agoAdd NEWS entries
Nikita Popov [Wed, 6 Jul 2016 23:31:04 +0000 (01:31 +0200)]
Add NEWS entries

8 years agobase64_decode: fix bug #72264 ('VV= =' shouldn't fail in strict mode)
Lauri Kenttä [Wed, 25 May 2016 19:06:42 +0000 (22:06 +0300)]
base64_decode: fix bug #72264 ('VV= =' shouldn't fail in strict mode)

8 years agobase64_decode: remove redundant code
Lauri Kenttä [Wed, 25 May 2016 16:52:11 +0000 (19:52 +0300)]
base64_decode: remove redundant code

case 1 is already handled in the first lines of the for loop;
it would only be entered in the invalid case where the string
continues past the defined length (ch != 0 but length-- == 0).

case 2 and case 3 are redundant, since k >= j and later the
string is truncated to j characters anyway.

8 years agobase64_decode: fix bug #72263 (skips char after padding)
Lauri Kenttä [Wed, 25 May 2016 17:53:47 +0000 (20:53 +0300)]
base64_decode: fix bug #72263 (skips char after padding)

8 years agobase64_decode: fix bug #72152 (fail on NUL bytes in strict mode)
Lauri Kenttä [Wed, 25 May 2016 18:02:41 +0000 (21:02 +0300)]
base64_decode: fix bug #72152 (fail on NUL bytes in strict mode)

This added check is actually for NOT failing in NON-strict mode.
The ch == -2 check later causes the desired failure in strict mode.

8 years agobase64_decode: remove redundant check
Lauri Kenttä [Wed, 25 May 2016 18:15:52 +0000 (21:15 +0300)]
base64_decode: remove redundant check

If length == 0 || *current != '=' is false, the for loop will always
end up in this same point, until the if statement becomes true.
Thus, the if statement is not needed.

8 years agobase64_decode: reorder to fix out of bounds read
Lauri Kenttä [Wed, 25 May 2016 17:28:45 +0000 (20:28 +0300)]
base64_decode: reorder to fix out of bounds read

8 years agoMerge branch 'PHP-7.0'
Ferenc Kovacs [Wed, 6 Jul 2016 23:18:19 +0000 (01:18 +0200)]
Merge branch 'PHP-7.0'

8 years agoMerge branch 'PHP-5.6' into PHP-7.0
Ferenc Kovacs [Wed, 6 Jul 2016 23:16:58 +0000 (01:16 +0200)]
Merge branch 'PHP-5.6' into PHP-7.0

Conflicts:
configure.in
main/php_version.h

8 years ago5.6.25 is next
Ferenc Kovacs [Wed, 6 Jul 2016 22:09:48 +0000 (00:09 +0200)]
5.6.25 is next

8 years agoFixed bug #71539 (Memory error on $arr[$a] =& $arr[$b] if RHS rehashes)
Dmitry Stogov [Wed, 6 Jul 2016 21:59:44 +0000 (00:59 +0300)]
Fixed bug #71539 (Memory error on $arr[$a] =& $arr[$b] if RHS rehashes)

8 years agoForbid use of array() in nested destructuring
Nikita Popov [Wed, 6 Jul 2016 19:15:05 +0000 (21:15 +0200)]
Forbid use of array() in nested destructuring

Previously array() was only forbidden on the outermost level.

8 years agoUpdate NEWS and UPGRADING
Aaron Piotrowski [Wed, 6 Jul 2016 19:06:01 +0000 (14:06 -0500)]
Update NEWS and UPGRADING

8 years agooops, name test right
David Walker [Wed, 6 Jul 2016 14:02:49 +0000 (08:02 -0600)]
oops, name test right

8 years agochange long to zend_long, for uniformity
David Walker [Wed, 6 Jul 2016 12:54:51 +0000 (06:54 -0600)]
change long to zend_long, for uniformity

8 years agoFix to not attempt to call if handler is long. Idea for this came
David Walker [Wed, 6 Jul 2016 12:45:20 +0000 (06:45 -0600)]
Fix to not attempt to call if handler is long.  Idea for this came
from comment on PR.

8 years agoFix #72409 - return previous handler
David Walker [Sat, 2 Jul 2016 16:44:17 +0000 (10:44 -0600)]
Fix #72409 - return previous handler

This patch addresses https://bugs.php.net/bug.php?id=72409

This patch is applied to master compared to PR#1952 which was
patching 5.6.x branch of PHP

This patch takes into account discussions on PR #1978
Addressing that rather than have pcntl_signal() return a value
to create a new function that can be used to get the current
value of the signal handler.

8 years agoFixed bug #72543 (Different references behavior comparing to PHP 5)
Dmitry Stogov [Wed, 6 Jul 2016 17:46:43 +0000 (20:46 +0300)]
Fixed bug #72543 (Different references behavior comparing to PHP 5)

8 years agofix typo in configure message
Adam Baratz [Wed, 6 Jul 2016 14:36:19 +0000 (10:36 -0400)]
fix typo in configure message

8 years agoUpdated to version 2016.6 (2016f)
Derick Rethans [Wed, 6 Jul 2016 10:15:46 +0000 (11:15 +0100)]
Updated to version 2016.6 (2016f)

8 years agoEmpty merge
Derick Rethans [Wed, 6 Jul 2016 10:15:46 +0000 (11:15 +0100)]
Empty merge

8 years agoUpdated to version 2016.6 (2016f)
Derick Rethans [Wed, 6 Jul 2016 10:15:45 +0000 (11:15 +0100)]
Updated to version 2016.6 (2016f)

8 years agoEmpty merge
Derick Rethans [Wed, 6 Jul 2016 10:15:44 +0000 (11:15 +0100)]
Empty merge

8 years agoUpdated to version 2016.6 (2016f)
Derick Rethans [Wed, 6 Jul 2016 10:15:42 +0000 (11:15 +0100)]
Updated to version 2016.6 (2016f)

8 years agoAsynchronous signal handling without TICKs.
Dmitry Stogov [Wed, 6 Jul 2016 10:11:47 +0000 (13:11 +0300)]
Asynchronous signal handling without TICKs.
Squashed commit of the following:

commit eda931df181060e202d2c664b4cba73a24afc6a1
Author: Dmitry Stogov <dmitry@zend.com>
Date:   Wed Jul 6 10:53:30 2016 +0300

    Replace pcntl.async_signals INI direcrive with pcntl_async_signals() function.

commit bfbf7dd7c2389ebada6c4464b276d9fa33fcfb60
Author: Dmitry Stogov <dmitry@zend.com>
Date:   Fri Jun 24 12:25:31 2016 +0300

    Asynchronous signal handling without TICKs.

8 years agoMerge branch 'PHP-7.0'
Matteo Beccati [Wed, 6 Jul 2016 05:10:10 +0000 (07:10 +0200)]
Merge branch 'PHP-7.0'

* PHP-7.0:
  Rewrite test to avoid sending emails

8 years agoRewrite test to avoid sending emails
Matteo Beccati [Wed, 6 Jul 2016 05:08:43 +0000 (07:08 +0200)]
Rewrite test to avoid sending emails

A properly configured email server was generating bounce emails when running
the test.

8 years agoUpdate NEWS and UPGRADING with missed DBA changes
Aaron Piotrowski [Tue, 5 Jul 2016 21:09:21 +0000 (16:09 -0500)]
Update NEWS and UPGRADING with missed DBA changes

8 years agoBump versions
Davey Shafik [Tue, 5 Jul 2016 19:33:22 +0000 (12:33 -0700)]
Bump versions

8 years agoBump versions/dates for release of 7.1.0alpha3
Davey Shafik [Tue, 5 Jul 2016 19:18:16 +0000 (12:18 -0700)]
Bump versions/dates for release of 7.1.0alpha3

8 years agoMerge branch 'master' of http://git.php.net/repository/php-src
Christoph M. Becker [Tue, 5 Jul 2016 14:59:20 +0000 (16:59 +0200)]
Merge branch 'master' of http://git.php.net/repository/php-src

8 years agoMerge branch 'PHP-7.0'
Nikita Popov [Tue, 5 Jul 2016 14:57:32 +0000 (16:57 +0200)]
Merge branch 'PHP-7.0'

8 years agoMerge branch 'PHP-7.0'
Christoph M. Becker [Tue, 5 Jul 2016 14:51:25 +0000 (16:51 +0200)]
Merge branch 'PHP-7.0'

8 years agoAdd NEWS entries
Nikita Popov [Tue, 5 Jul 2016 14:56:36 +0000 (16:56 +0200)]
Add NEWS entries

8 years agobase64_decode: fix bug #72264 ('VV= =' shouldn't fail in strict mode)
Lauri Kenttä [Wed, 25 May 2016 19:06:42 +0000 (22:06 +0300)]
base64_decode: fix bug #72264 ('VV= =' shouldn't fail in strict mode)

8 years agobase64_decode: remove redundant code
Lauri Kenttä [Wed, 25 May 2016 16:52:11 +0000 (19:52 +0300)]
base64_decode: remove redundant code

case 1 is already handled in the first lines of the for loop;
it would only be entered in the invalid case where the string
continues past the defined length (ch != 0 but length-- == 0).

case 2 and case 3 are redundant, since k >= j and later the
string is truncated to j characters anyway.

8 years agobase64_decode: fix bug #72263 (skips char after padding)
Lauri Kenttä [Wed, 25 May 2016 17:53:47 +0000 (20:53 +0300)]
base64_decode: fix bug #72263 (skips char after padding)

8 years agobase64_decode: fix bug #72152 (fail on NUL bytes in strict mode)
Lauri Kenttä [Wed, 25 May 2016 18:02:41 +0000 (21:02 +0300)]
base64_decode: fix bug #72152 (fail on NUL bytes in strict mode)

This added check is actually for NOT failing in NON-strict mode.
The ch == -2 check later causes the desired failure in strict mode.

8 years agobase64_decode: remove redundant check
Lauri Kenttä [Wed, 25 May 2016 18:15:52 +0000 (21:15 +0300)]
base64_decode: remove redundant check

If length == 0 || *current != '=' is false, the for loop will always
end up in this same point, until the if statement becomes true.
Thus, the if statement is not needed.

8 years agobase64_decode: reorder to fix out of bounds read
Lauri Kenttä [Wed, 25 May 2016 17:28:45 +0000 (20:28 +0300)]
base64_decode: reorder to fix out of bounds read

8 years agoUpdate NEWS
Christoph M. Becker [Tue, 5 Jul 2016 14:49:40 +0000 (16:49 +0200)]
Update NEWS

8 years agoMerge branch 'PHP-5.6' into PHP-7.0
Christoph M. Becker [Tue, 5 Jul 2016 14:43:39 +0000 (16:43 +0200)]
Merge branch 'PHP-5.6' into PHP-7.0

# Resolved conflicts:
# ext/spl/spl_directory.c

8 years agoFix bug #55701: GlobIterator throws LogicException
Valentin VALCIU [Thu, 21 Apr 2016 16:02:52 +0000 (19:02 +0300)]
Fix bug #55701: GlobIterator throws LogicException

GlobIterator throws LogicException with message 'The parent constructor was
not called' on its first operation when the glob expression doesn't match
any file. It also throws on the first operation after the iteration
completes, when the glob expression matches some files.

# Resolved conflicts:
# ext/spl/spl_directory.c

8 years agoExport php_date_get_interface_ce() for extension use
Jeremy Mikola [Tue, 28 Jun 2016 18:30:58 +0000 (14:30 -0400)]
Export php_date_get_interface_ce() for extension use

8 years agoMerge branch 'PHP-7.0'
Nikita Popov [Tue, 5 Jul 2016 14:10:25 +0000 (16:10 +0200)]
Merge branch 'PHP-7.0'

8 years agoUse size_t instead of int for loop counter
Adam Baratz [Fri, 1 Jul 2016 19:39:02 +0000 (15:39 -0400)]
Use size_t instead of int for loop counter

8 years agoRemoved duplicate php.h include in SAPI.h
Valentin V. Bartenev [Thu, 30 Jun 2016 10:39:10 +0000 (13:39 +0300)]
Removed duplicate php.h include in SAPI.h

It's already included a few lines above.

8 years agoRemoved a surplus condition in php_register_variable_ex()
Valentin V. Bartenev [Wed, 29 Jun 2016 17:57:28 +0000 (20:57 +0300)]
Removed a surplus condition in php_register_variable_ex()

The test for equality to " " implies that the character isn't NUL.

8 years agofix error text
Anatol Belski [Tue, 5 Jul 2016 13:58:55 +0000 (15:58 +0200)]
fix error text

8 years agofix datatypes and add range checks
Anatol Belski [Tue, 5 Jul 2016 13:43:01 +0000 (15:43 +0200)]
fix datatypes and add range checks

8 years agoClosure::fromCallable(): Getting non-static method statically
Nikita Popov [Tue, 5 Jul 2016 13:51:11 +0000 (15:51 +0200)]
Closure::fromCallable(): Getting non-static method statically

As this is new functionality, I'm going directly for a TypeError,
rather than a deprecation warning.

8 years agoClosure::fromCallable(): Better LSB handling
Nikita Popov [Tue, 5 Jul 2016 13:43:27 +0000 (15:43 +0200)]
Closure::fromCallable(): Better LSB handling

The previous fix missed the "late" part of "late static binding" :)