]> granicus.if.org Git - php/log
php
7 years agoAdd Spoofchecker::setRestrictionLevel() and corresponding constans
Anatol Belski [Sat, 21 Oct 2017 15:12:21 +0000 (17:12 +0200)]
Add Spoofchecker::setRestrictionLevel() and corresponding constans

7 years agoMerge branch 'PHP-7.2'
Anatol Belski [Sat, 21 Oct 2017 14:18:59 +0000 (16:18 +0200)]
Merge branch 'PHP-7.2'

* PHP-7.2:
  Add TZ and Unicode versions to intl MINFO

7 years agoAdd TZ and Unicode versions to intl MINFO
Anatol Belski [Sat, 21 Oct 2017 14:17:31 +0000 (16:17 +0200)]
Add TZ and Unicode versions to intl MINFO

7 years agoMerge branch 'PHP-7.2'
Anatol Belski [Sat, 21 Oct 2017 10:00:49 +0000 (12:00 +0200)]
Merge branch 'PHP-7.2'

* PHP-7.2:
  Reenable AppVeyor cache

7 years agoMerge branch 'PHP-7.1' into PHP-7.2
Anatol Belski [Sat, 21 Oct 2017 10:00:26 +0000 (12:00 +0200)]
Merge branch 'PHP-7.1' into PHP-7.2

* PHP-7.1:
  Reenable AppVeyor cache

7 years agoMerge branch 'PHP-7.0' into PHP-7.1
Anatol Belski [Sat, 21 Oct 2017 10:00:02 +0000 (12:00 +0200)]
Merge branch 'PHP-7.0' into PHP-7.1

* PHP-7.0:
  Reenable AppVeyor cache

7 years agoReenable AppVeyor cache
Anatol Belski [Sat, 21 Oct 2017 09:59:22 +0000 (11:59 +0200)]
Reenable AppVeyor cache

7 years agoMerge branch 'PHP-7.2'
Anatol Belski [Sat, 21 Oct 2017 08:53:21 +0000 (10:53 +0200)]
Merge branch 'PHP-7.2'

* PHP-7.2:
  Disable AppVeyor cache to unlock build

7 years agoMerge branch 'PHP-7.1' into PHP-7.2
Anatol Belski [Sat, 21 Oct 2017 08:52:48 +0000 (10:52 +0200)]
Merge branch 'PHP-7.1' into PHP-7.2

* PHP-7.1:
  Disable AppVeyor cache to unlock build

7 years agoMerge branch 'PHP-7.0' into PHP-7.1
Anatol Belski [Sat, 21 Oct 2017 08:52:22 +0000 (10:52 +0200)]
Merge branch 'PHP-7.0' into PHP-7.1

* PHP-7.0:
  Disable AppVeyor cache to unlock build

7 years agoDisable AppVeyor cache to unlock build
Anatol Belski [Sat, 21 Oct 2017 08:49:20 +0000 (10:49 +0200)]
Disable AppVeyor cache to unlock build

7 years agoMerge branch 'PHP-7.2'
Anatol Belski [Sat, 21 Oct 2017 08:31:02 +0000 (10:31 +0200)]
Merge branch 'PHP-7.2'

* PHP-7.2:
  Rework these new tests to match with diffs in ICU 58, 59 and upcoming 60

7 years agoMerge branch 'PHP-7.1' into PHP-7.2
Anatol Belski [Sat, 21 Oct 2017 08:30:43 +0000 (10:30 +0200)]
Merge branch 'PHP-7.1' into PHP-7.2

* PHP-7.1:
  Rework these new tests to match with diffs in ICU 58, 59 and upcoming 60

7 years agoMerge branch 'PHP-7.0' into PHP-7.1
Anatol Belski [Sat, 21 Oct 2017 08:30:14 +0000 (10:30 +0200)]
Merge branch 'PHP-7.0' into PHP-7.1

* PHP-7.0:
  Rework these new tests to match with diffs in ICU 58, 59 and upcoming 60

7 years agoRework these new tests to match with diffs in ICU 58, 59 and upcoming 60
Anatol Belski [Sat, 21 Oct 2017 08:29:04 +0000 (10:29 +0200)]
Rework these new tests to match with diffs in ICU 58, 59 and upcoming 60

7 years agoMerge branch 'PHP-7.2'
Anatol Belski [Fri, 20 Oct 2017 18:50:10 +0000 (20:50 +0200)]
Merge branch 'PHP-7.2'

* PHP-7.2:
  [ci skip] Update NEWS
  [skip ci] Update NEWS
  [ci skip] Update NEWS

7 years agoMerge branch 'PHP-7.1' into PHP-7.2
Anatol Belski [Fri, 20 Oct 2017 18:49:17 +0000 (20:49 +0200)]
Merge branch 'PHP-7.1' into PHP-7.2

* PHP-7.1:
  [skip ci] Update NEWS
  [ci skip] Update NEWS

7 years ago[ci skip] Update NEWS
Anatol Belski [Fri, 20 Oct 2017 18:48:59 +0000 (20:48 +0200)]
[ci skip] Update NEWS

7 years ago[skip ci] Update NEWS
Anatol Belski [Fri, 20 Oct 2017 18:47:36 +0000 (20:47 +0200)]
[skip ci] Update NEWS

7 years agoMerge branch 'PHP-7.0' into PHP-7.1
Anatol Belski [Fri, 20 Oct 2017 18:47:16 +0000 (20:47 +0200)]
Merge branch 'PHP-7.0' into PHP-7.1

* PHP-7.0:
  [ci skip] Update NEWS

7 years ago[ci skip] Update NEWS
Anatol Belski [Fri, 20 Oct 2017 18:46:42 +0000 (20:46 +0200)]
[ci skip] Update NEWS

7 years agoMerge branch 'PHP-7.2'
Anatol Belski [Fri, 20 Oct 2017 18:15:23 +0000 (20:15 +0200)]
Merge branch 'PHP-7.2'

* PHP-7.2:
  Fixed bug #73655 Spoofchecker::isSuspicious behavior change due to upstream changes
  Add test for newer ICU version

7 years agoMerge branch 'PHP-7.1' into PHP-7.2
Anatol Belski [Fri, 20 Oct 2017 18:14:48 +0000 (20:14 +0200)]
Merge branch 'PHP-7.1' into PHP-7.2

* PHP-7.1:
  Fixed bug #73655 Spoofchecker::isSuspicious behavior change due to upstream changes
  Add test for newer ICU version

7 years agoMerge branch 'PHP-7.0' into PHP-7.1
Anatol Belski [Fri, 20 Oct 2017 18:14:08 +0000 (20:14 +0200)]
Merge branch 'PHP-7.0' into PHP-7.1

* PHP-7.0:
  Fixed bug #73655 Spoofchecker::isSuspicious behavior change due to upstream changes
  Add test for newer ICU version

7 years agoFixed bug #73655 Spoofchecker::isSuspicious behavior change due to upstream changes
Anatol Belski [Fri, 20 Oct 2017 17:14:22 +0000 (19:14 +0200)]
Fixed bug #73655 Spoofchecker::isSuspicious behavior change due to upstream changes

There are significant changes in the spoof checking reflecting
http://www.unicode.org/reports/tr39/tr39-15.html and relying on the
restriction levels. ICU 58+ removes WSC and MSC handling and otherwise
undergoes big changes in both code and data areas. Keep up with the
basic points for now, as we need to move forward and provide an
acceptable experience to PHP users linking to a newer ICU. The most
distros ATM don't provide ICU > 57.1, though. We'll need for sure to
keep up with the BC breach in ICU 58+ in possible further aspects.

7 years agoAdd test for newer ICU version
Anatol Belski [Fri, 20 Oct 2017 17:02:42 +0000 (19:02 +0200)]
Add test for newer ICU version

7 years agoMerge branch 'PHP-7.2'
Anatol Belski [Fri, 20 Oct 2017 16:41:14 +0000 (18:41 +0200)]
Merge branch 'PHP-7.2'

* PHP-7.2:
  Further test fixes for ICU >= 58
  Version checks

7 years agoMerge branch 'PHP-7.1' into PHP-7.2
Anatol Belski [Fri, 20 Oct 2017 16:40:55 +0000 (18:40 +0200)]
Merge branch 'PHP-7.1' into PHP-7.2

* PHP-7.1:
  Further test fixes for ICU >= 58
  Version checks

7 years agoMerge branch 'PHP-7.0' into PHP-7.1
Anatol Belski [Fri, 20 Oct 2017 16:40:26 +0000 (18:40 +0200)]
Merge branch 'PHP-7.0' into PHP-7.1

* PHP-7.0:
  Further test fixes for ICU >= 58

7 years agoFurther test fixes for ICU >= 58
Anatol Belski [Fri, 20 Oct 2017 16:39:46 +0000 (18:39 +0200)]
Further test fixes for ICU >= 58

7 years agoVersion checks
Anatol Belski [Fri, 20 Oct 2017 16:26:14 +0000 (18:26 +0200)]
Version checks

7 years agoMerge branch 'PHP-7.2'
Anatol Belski [Fri, 20 Oct 2017 14:55:53 +0000 (16:55 +0200)]
Merge branch 'PHP-7.2'

* PHP-7.2:
  Yet two wrong version checks

7 years agoMerge branch 'PHP-7.1' into PHP-7.2
Anatol Belski [Fri, 20 Oct 2017 14:55:32 +0000 (16:55 +0200)]
Merge branch 'PHP-7.1' into PHP-7.2

* PHP-7.1:
  Yet two wrong version checks

7 years agoYet two wrong version checks
Anatol Belski [Fri, 20 Oct 2017 14:54:47 +0000 (16:54 +0200)]
Yet two wrong version checks

7 years agoMerge branch 'PHP-7.2'
Anatol Belski [Fri, 20 Oct 2017 13:25:44 +0000 (15:25 +0200)]
Merge branch 'PHP-7.2'

* PHP-7.2:
  Fix version checks in tests
  Fix version checks in tests

7 years agoMerge branch 'PHP-7.1' into PHP-7.2
Anatol Belski [Fri, 20 Oct 2017 13:25:27 +0000 (15:25 +0200)]
Merge branch 'PHP-7.1' into PHP-7.2

* PHP-7.1:
  Fix version checks in tests
  Fix version checks in tests

7 years agoMerge branch 'PHP-7.0' into PHP-7.1
Anatol Belski [Fri, 20 Oct 2017 13:25:01 +0000 (15:25 +0200)]
Merge branch 'PHP-7.0' into PHP-7.1

* PHP-7.0:
  Fix version checks in tests

7 years agoFix version checks in tests
Anatol Belski [Fri, 20 Oct 2017 13:24:43 +0000 (15:24 +0200)]
Fix version checks in tests

7 years agoFix version checks in tests
Anatol Belski [Fri, 20 Oct 2017 13:23:09 +0000 (15:23 +0200)]
Fix version checks in tests

7 years agoMerge branch 'PHP-7.2'
Anatol Belski [Fri, 20 Oct 2017 11:59:19 +0000 (13:59 +0200)]
Merge branch 'PHP-7.2'

* PHP-7.2:
  Sync some tests for compat with ICU 58.1, PHP 7.1+ part
  Sync some tests for compat with ICU 58.1+

7 years agoMerge branch 'PHP-7.1' into PHP-7.2
Anatol Belski [Fri, 20 Oct 2017 11:58:53 +0000 (13:58 +0200)]
Merge branch 'PHP-7.1' into PHP-7.2

* PHP-7.1:
  Sync some tests for compat with ICU 58.1, PHP 7.1+ part
  Sync some tests for compat with ICU 58.1+

7 years agoMerge branch 'PHP-7.0' into PHP-7.1
Anatol Belski [Fri, 20 Oct 2017 11:57:44 +0000 (13:57 +0200)]
Merge branch 'PHP-7.0' into PHP-7.1

* PHP-7.0:
  Sync some tests for compat with ICU 58.1+

7 years agoSync some tests for compat with ICU 58.1, PHP 7.1+ part
Anatol Belski [Fri, 20 Oct 2017 11:56:58 +0000 (13:56 +0200)]
Sync some tests for compat with ICU 58.1, PHP 7.1+ part

7 years agoSync some tests for compat with ICU 58.1+
Anatol Belski [Fri, 20 Oct 2017 11:55:32 +0000 (13:55 +0200)]
Sync some tests for compat with ICU 58.1+

7 years agoMerge branch 'PHP-7.2'
Anatol Belski [Fri, 20 Oct 2017 09:30:41 +0000 (11:30 +0200)]
Merge branch 'PHP-7.2'

* PHP-7.2:
  Add skip for incompatible ICU version

7 years agoMerge branch 'PHP-7.1' into PHP-7.2
Anatol Belski [Fri, 20 Oct 2017 09:30:09 +0000 (11:30 +0200)]
Merge branch 'PHP-7.1' into PHP-7.2

* PHP-7.1:
  Add skip for incompatible ICU version

7 years agoMerge branch 'PHP-7.0' into PHP-7.1
Anatol Belski [Fri, 20 Oct 2017 09:28:51 +0000 (11:28 +0200)]
Merge branch 'PHP-7.0' into PHP-7.1

* PHP-7.0:
  Add skip for incompatible ICU version

7 years agoAdd skip for incompatible ICU version
Anatol Belski [Fri, 20 Oct 2017 09:27:54 +0000 (11:27 +0200)]
Add skip for incompatible ICU version

7 years agoAdd test for strnatcmp() align left cases
Sol Richardson [Wed, 4 Oct 2017 20:27:20 +0000 (14:27 -0600)]
Add test for strnatcmp() align left cases

7 years agoClean and sync .gitignore
Peter Kokot [Fri, 6 Oct 2017 19:38:49 +0000 (21:38 +0200)]
Clean and sync .gitignore

7 years agoUpdate filter docs and tests
Peter Kokot [Fri, 6 Oct 2017 23:05:32 +0000 (01:05 +0200)]
Update filter docs and tests

Filter extension is better presented in the PHP manual. Some ext/filter/tests
included outdated functions or were duplicated.

7 years agoRemove tidy examples
Peter Kokot [Sun, 8 Oct 2017 21:30:04 +0000 (23:30 +0200)]
Remove tidy examples

PHP documentation already includes explanations and examples for most of
tidy extension. Tidy PHP functions and methods used in the examples are
also already used in the tests.

7 years agoRemove tokenizer PHP example script
Peter Kokot [Sun, 8 Oct 2017 21:40:27 +0000 (23:40 +0200)]
Remove tokenizer PHP example script

The tokenizer extension is best presented in the PHP manual with some
code snippets. Also the script includes old PHP dl() function.

7 years agoRemove PHP code examples from xmlreader
Peter Kokot [Sun, 8 Oct 2017 22:31:26 +0000 (00:31 +0200)]
Remove PHP code examples from xmlreader

The PHP documentation can present the xmlreader extension better with
code snippets.

7 years agoMerge branch 'PHP-7.2'
Joe Watkins [Thu, 19 Oct 2017 11:03:35 +0000 (12:03 +0100)]
Merge branch 'PHP-7.2'

* PHP-7.2:
  Fixed #75317 - UConverter::setDestinationEncoding changes source instead of destinatination

7 years agoMerge branch 'PHP-7.1' into PHP-7.2
Joe Watkins [Thu, 19 Oct 2017 11:03:04 +0000 (12:03 +0100)]
Merge branch 'PHP-7.1' into PHP-7.2

* PHP-7.1:
  Fixed #75317 - UConverter::setDestinationEncoding changes source instead of destinatination

7 years agoMerge branch 'PHP-7.0' into PHP-7.1
Joe Watkins [Thu, 19 Oct 2017 11:02:34 +0000 (12:02 +0100)]
Merge branch 'PHP-7.0' into PHP-7.1

* PHP-7.0:
  Fixed #75317 - UConverter::setDestinationEncoding changes source instead of destinatination

7 years agoFixed #75317 - UConverter::setDestinationEncoding changes source instead of destinati...
Nester [Mon, 9 Oct 2017 14:26:44 +0000 (14:26 +0000)]
Fixed #75317 - UConverter::setDestinationEncoding changes source instead of destinatination

7 years agoRefactor ext/phar License info
Peter Kokot [Mon, 9 Oct 2017 16:54:26 +0000 (18:54 +0200)]
Refactor ext/phar License info

7 years agoAdd tests to XMLReader::expand error paths
Thiago Carvalho [Wed, 11 Oct 2017 06:53:13 +0000 (08:53 +0200)]
Add tests to XMLReader::expand error paths

7 years agoMerge branch 'PHP-7.2'
Joe Watkins [Thu, 19 Oct 2017 10:54:12 +0000 (11:54 +0100)]
Merge branch 'PHP-7.2'

* PHP-7.2:
  Update .editorconfig with some more configs

7 years agoMerge branch 'PHP-7.1' into PHP-7.2
Joe Watkins [Thu, 19 Oct 2017 10:54:01 +0000 (11:54 +0100)]
Merge branch 'PHP-7.1' into PHP-7.2

* PHP-7.1:
  Update .editorconfig with some more configs

7 years agoMerge branch 'PHP-7.0' into PHP-7.1
Joe Watkins [Thu, 19 Oct 2017 10:53:50 +0000 (11:53 +0100)]
Merge branch 'PHP-7.0' into PHP-7.1

* PHP-7.0:
  Update .editorconfig with some more configs

7 years agoUpdate .editorconfig with some more configs
Peter Kokot [Wed, 11 Oct 2017 21:20:57 +0000 (23:20 +0200)]
Update .editorconfig with some more configs

Added support for .awk, .w32, .bat, .mk, .frag, .m4, .sh, .php, .phpt,
and Markdown files based on the current most used coding style in the
php-src repository.

7 years agoRemove CHANGES from sapi/cgi
Peter Kokot [Fri, 13 Oct 2017 12:01:00 +0000 (14:01 +0200)]
Remove CHANGES from sapi/cgi

All these changes are noted in the PHP manual instead that have been
removed.

7 years agoMerge branch 'PHP-7.2'
Joe Watkins [Thu, 19 Oct 2017 10:48:37 +0000 (11:48 +0100)]
Merge branch 'PHP-7.2'

* PHP-7.2:
  Fix issue with zend signals in php_request_startup

7 years agoMerge branch 'PHP-7.1' into PHP-7.2
Joe Watkins [Thu, 19 Oct 2017 10:48:27 +0000 (11:48 +0100)]
Merge branch 'PHP-7.1' into PHP-7.2

* PHP-7.1:
  Fix issue with zend signals in php_request_startup

7 years agoFix issue with zend signals in php_request_startup
Herman J. Radtke III [Sat, 14 Oct 2017 17:50:30 +0000 (10:50 -0700)]
Fix issue with zend signals in php_request_startup

The zend_signals_activate() function is called in php_request_startup()
even if `--disable-zend-signals` is used. This causes uninitialized
variables to be used on ZTS builds.

This was removed in 7.1 in c870633. Removing guards from the SAPIs
should be fine, but removing the guard from main/main.c prevents anyone
using the static embedded library to integrate PHP into their programs.

For more details, see the "Additional remark" section in
https://bugs.php.net/bug.php?id=74149

7 years agoConvert some mysqlnd file encodings to UTF-8
Peter Kokot [Sat, 14 Oct 2017 20:18:25 +0000 (22:18 +0200)]
Convert some mysqlnd file encodings to UTF-8

7 years agoMerge branch 'PHP-7.2'
Joe Watkins [Thu, 19 Oct 2017 10:40:58 +0000 (11:40 +0100)]
Merge branch 'PHP-7.2'

* PHP-7.2:
  Escape newline on curl config.m4

7 years agoMerge branch 'PHP-7.1' into PHP-7.2
Joe Watkins [Thu, 19 Oct 2017 10:40:48 +0000 (11:40 +0100)]
Merge branch 'PHP-7.1' into PHP-7.2

* PHP-7.1:
  Escape newline on curl config.m4

7 years agoMerge branch 'PHP-7.0' into PHP-7.1
Joe Watkins [Thu, 19 Oct 2017 10:40:05 +0000 (11:40 +0100)]
Merge branch 'PHP-7.0' into PHP-7.1

* PHP-7.0:
  Escape newline on curl config.m4

7 years agoEscape newline on curl config.m4
Ryan Volz [Thu, 19 Oct 2017 00:49:17 +0000 (20:49 -0400)]
Escape newline on curl config.m4

7 years agoConstify key access for hash and formal params
Anatol Belski [Thu, 19 Oct 2017 09:32:42 +0000 (11:32 +0200)]
Constify key access for hash and formal params

Keys created in shared memory and won't be modified and are free'd on
restart. Otherwise, keys passed to functions should not be modified,
too.

7 years agoFix datatype
Anatol Belski [Thu, 19 Oct 2017 08:26:39 +0000 (10:26 +0200)]
Fix datatype

7 years agoExtend zend_string API to avoid reallocation in zend_string_init_interned()
Dmitry Stogov [Wed, 18 Oct 2017 21:02:56 +0000 (00:02 +0300)]
Extend zend_string API to avoid reallocation in zend_string_init_interned()

7 years agoMerge branch 'PHP-7.2'
Anatol Belski [Wed, 18 Oct 2017 15:47:51 +0000 (17:47 +0200)]
Merge branch 'PHP-7.2'

* PHP-7.2:
  Move to php-sdk-2.0.0beta3 for Appveyor

7 years agoMerge branch 'PHP-7.1' into PHP-7.2
Anatol Belski [Wed, 18 Oct 2017 15:47:27 +0000 (17:47 +0200)]
Merge branch 'PHP-7.1' into PHP-7.2

* PHP-7.1:
  Move to php-sdk-2.0.0beta3 for Appveyor

7 years agoMerge branch 'PHP-7.0' into PHP-7.1
Anatol Belski [Wed, 18 Oct 2017 15:46:40 +0000 (17:46 +0200)]
Merge branch 'PHP-7.0' into PHP-7.1

* PHP-7.0:
  Move to php-sdk-2.0.0beta3 for Appveyor

7 years agoMove to php-sdk-2.0.0beta3 for Appveyor
Anatol Belski [Wed, 18 Oct 2017 15:45:33 +0000 (17:45 +0200)]
Move to php-sdk-2.0.0beta3 for Appveyor

Supposed to fix sporadic tool crashes on the test image

7 years agoMerge branch 'master' of git.php.net:php-src
Dmitry Stogov [Wed, 18 Oct 2017 15:27:21 +0000 (18:27 +0300)]
Merge branch 'master' of git.php.net:php-src

* 'master' of git.php.net:php-src:
  Backport 7ff13badda58b966ff8fbcc61add48bb5b14117b into 7.0+

7 years agoMoved ZCG(function_table) back into accel_acrivate. It should be unique per thread.
Dmitry Stogov [Wed, 18 Oct 2017 15:26:30 +0000 (18:26 +0300)]
Moved ZCG(function_table) back into accel_acrivate. It should be unique per thread.

7 years agoMerge branch 'PHP-7.2'
Anatol Belski [Wed, 18 Oct 2017 14:30:46 +0000 (16:30 +0200)]
Merge branch 'PHP-7.2'

* PHP-7.2:
  Backport 7ff13badda58b966ff8fbcc61add48bb5b14117b into 7.0+

7 years agoMerge branch 'PHP-7.1' into PHP-7.2
Anatol Belski [Wed, 18 Oct 2017 14:27:31 +0000 (16:27 +0200)]
Merge branch 'PHP-7.1' into PHP-7.2

* PHP-7.1:
  Backport 7ff13badda58b966ff8fbcc61add48bb5b14117b into 7.0+

7 years agoMerge branch 'PHP-7.0' into PHP-7.1
Anatol Belski [Wed, 18 Oct 2017 14:24:23 +0000 (16:24 +0200)]
Merge branch 'PHP-7.0' into PHP-7.1

* PHP-7.0:
  Backport 7ff13badda58b966ff8fbcc61add48bb5b14117b into 7.0+

7 years agoMove a part of opcache initialization into post_startup phase (when all extensions...
Dmitry Stogov [Wed, 18 Oct 2017 14:18:54 +0000 (17:18 +0300)]
Move a part of opcache initialization into post_startup phase (when all extensions already loaded).

7 years agoBackport 7ff13badda58b966ff8fbcc61add48bb5b14117b into 7.0+
Anatol Belski [Wed, 18 Oct 2017 14:02:56 +0000 (16:02 +0200)]
Backport 7ff13badda58b966ff8fbcc61add48bb5b14117b into 7.0+

7 years agoFixed required SHM memeory size calculation for scripts when opcache.revalidate_path...
Dmitry Stogov [Wed, 18 Oct 2017 11:26:44 +0000 (14:26 +0300)]
Fixed required SHM memeory size calculation for scripts when opcache.revalidate_path is set.

7 years agoCleanup cfg flags & Added ZEND_FUNC_HAS_EXTENED_INFO
Xinchen Hui [Wed, 18 Oct 2017 09:03:07 +0000 (17:03 +0800)]
Cleanup cfg flags & Added ZEND_FUNC_HAS_EXTENED_INFO

7 years agoImplemented request #69592: allow 0-column rowsets to be skipped automatically
fandrieu [Tue, 17 Oct 2017 18:16:38 +0000 (14:16 -0400)]
Implemented request #69592: allow 0-column rowsets to be skipped automatically

This adds a new attribute PDO::DBLIB_ATTR_SKIP_EMPTY_ROWSETS to enable automatic
skipping of empty rowsets.

This happens with some SQL commands (like PRINT or SET): a rowset with 0 columns
is returned by the driver.

With this option enabled, 0 columns rowsets are automatically skipped, mirroring
the behavior of the deprecated mssql extension.

Credits go to MiRacLe-RPZ for developping and promoting this patch.

7 years agoMerge branch 'PHP-7.2'
Anatol Belski [Tue, 17 Oct 2017 13:38:01 +0000 (15:38 +0200)]
Merge branch 'PHP-7.2'

* PHP-7.2:
  One more folder to delete in AppVeyor image

7 years agoMerge branch 'PHP-7.1' into PHP-7.2
Anatol Belski [Tue, 17 Oct 2017 13:37:23 +0000 (15:37 +0200)]
Merge branch 'PHP-7.1' into PHP-7.2

* PHP-7.1:
  One more folder to delete in AppVeyor image

7 years agoMerge branch 'PHP-7.0' into PHP-7.1
Anatol Belski [Tue, 17 Oct 2017 13:34:42 +0000 (15:34 +0200)]
Merge branch 'PHP-7.0' into PHP-7.1

* PHP-7.0:
  One more folder to delete in AppVeyor image

7 years agoOne more folder to delete in AppVeyor image
Anatol Belski [Tue, 17 Oct 2017 13:32:47 +0000 (15:32 +0200)]
One more folder to delete in AppVeyor image

7 years agoMerge branch 'PHP-7.2'
Xinchen Hui [Tue, 17 Oct 2017 11:47:40 +0000 (19:47 +0800)]
Merge branch 'PHP-7.2'

* PHP-7.2:
  Fixed bug (assertion fails with extended info generated)

7 years agoFixed bug (assertion fails with extended info generated)
Xinchen Hui [Tue, 17 Oct 2017 11:47:29 +0000 (19:47 +0800)]
Fixed bug (assertion fails with extended info generated)

7 years agoAdded test
Dmitry Stogov [Tue, 17 Oct 2017 10:45:46 +0000 (13:45 +0300)]
Added test

7 years agoMake assertions in DO_ICALL and CALL_TRAMPOLINE to be consistent with DO_FCALL.
Dmitry Stogov [Tue, 17 Oct 2017 10:35:59 +0000 (13:35 +0300)]
Make assertions in DO_ICALL and CALL_TRAMPOLINE to be consistent with DO_FCALL.

7 years agoRevert "Allow internal functions to return values by reference (this was disabled...
Dmitry Stogov [Tue, 17 Oct 2017 10:25:19 +0000 (13:25 +0300)]
Revert "Allow internal functions to return values by reference (this was disabled in implementation of DO_ICALL, but enabled in DO_FCALL)."

This reverts commit da781a5ac2cb9d2f983ef9fe070900664db12c67.

7 years agoAllow internal functions to return values by reference (this was disabled in implemen...
Dmitry Stogov [Tue, 17 Oct 2017 08:50:34 +0000 (11:50 +0300)]
Allow internal functions to return values by reference (this was disabled in implementation of DO_ICALL, but enabled in DO_FCALL).
However, don't require internal functions returning by reference to return a reference.
Mark unserialize() as returning by reference and remove unwrap_reference hack, to allow proper returning of self referenced arrays using a reference.
Currently unserialize() is the only internal function that may return a reference.