]> granicus.if.org Git - php/log
php
7 years agoFixed ldap tests when ldap server hash out passwords
Côme Chilliet [Wed, 26 Jul 2017 15:33:36 +0000 (17:33 +0200)]
Fixed ldap tests when ldap server hash out passwords

7 years agoMerge branch 'PHP-7.2'
Anatol Belski [Wed, 26 Jul 2017 15:32:38 +0000 (17:32 +0200)]
Merge branch 'PHP-7.2'

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

7 years ago[ci skip] update NEWS
Anatol Belski [Wed, 26 Jul 2017 15:31:57 +0000 (17:31 +0200)]
[ci skip] update NEWS

7 years agoMerge branch 'PHP-7.1' into PHP-7.2
Anatol Belski [Wed, 26 Jul 2017 15:31:10 +0000 (17:31 +0200)]
Merge branch 'PHP-7.1' into PHP-7.2

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

7 years ago[ci skip] update NEWS
Anatol Belski [Wed, 26 Jul 2017 15:30:40 +0000 (17:30 +0200)]
[ci skip] update NEWS

7 years agoMerge branch 'PHP-7.0' into PHP-7.1
Anatol Belski [Wed, 26 Jul 2017 15:30:02 +0000 (17:30 +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 [Wed, 26 Jul 2017 15:29:37 +0000 (17:29 +0200)]
[ci skip] update NEWS

7 years agoFixed test for ldap_set_option server controls with empty array
Côme Chilliet [Wed, 26 Jul 2017 15:21:27 +0000 (17:21 +0200)]
Fixed test for ldap_set_option server controls with empty array

7 years ago[ci skip] update NEWS
Anatol Belski [Wed, 26 Jul 2017 12:53:21 +0000 (14:53 +0200)]
[ci skip] update NEWS

7 years agoMerge branch 'PHP-7.2'
Anatol Belski [Wed, 26 Jul 2017 11:21:48 +0000 (13:21 +0200)]
Merge branch 'PHP-7.2'

* PHP-7.2:
  Fixed bug #74833, SID constant created with wrong module number

7 years agoMerge branch 'PHP-7.1' into PHP-7.2
Anatol Belski [Wed, 26 Jul 2017 11:21:20 +0000 (13:21 +0200)]
Merge branch 'PHP-7.1' into PHP-7.2

* PHP-7.1:
  Fixed bug #74833, SID constant created with wrong module number

7 years agoMerge branch 'PHP-7.0' into PHP-7.1
Anatol Belski [Wed, 26 Jul 2017 11:20:48 +0000 (13:20 +0200)]
Merge branch 'PHP-7.0' into PHP-7.1

* PHP-7.0:
  Fixed bug #74833, SID constant created with wrong module number

7 years agoFixed bug #74833, SID constant created with wrong module number
Anatol Belski [Wed, 26 Jul 2017 11:19:41 +0000 (13:19 +0200)]
Fixed bug #74833, SID constant created with wrong module number

7 years agoMerge branch 'PHP-7.2'
Joe Watkins [Wed, 26 Jul 2017 09:48:03 +0000 (10:48 +0100)]
Merge branch 'PHP-7.2'

* PHP-7.2:
  Fix bug #74991 - include_path has a 4096 char (minus "__DIR__:") limit, in some PHAR cases

7 years agoMerge branch 'PHP-7.1' into PHP-7.2
Joe Watkins [Wed, 26 Jul 2017 09:47:32 +0000 (10:47 +0100)]
Merge branch 'PHP-7.1' into PHP-7.2

* PHP-7.1:
  Fix bug #74991 - include_path has a 4096 char (minus "__DIR__:") limit, in some PHAR cases

7 years agoMerge branch 'PHP-7.0' into PHP-7.1
Joe Watkins [Wed, 26 Jul 2017 09:47:02 +0000 (10:47 +0100)]
Merge branch 'PHP-7.0' into PHP-7.1

* PHP-7.0:
  Fix bug #74991 - include_path has a 4096 char (minus "__DIR__:") limit, in some PHAR cases

7 years agoFix bug #74991 - include_path has a 4096 char (minus "__DIR__:") limit, in some PHAR...
Benjamin W. Broersma [Wed, 26 Jul 2017 06:16:37 +0000 (08:16 +0200)]
Fix bug #74991 - include_path has a 4096 char (minus "__DIR__:") limit, in some PHAR cases

7 years agoMerge branch 'PHP-7.2'
Christopher Jones [Wed, 26 Jul 2017 05:25:16 +0000 (15:25 +1000)]
Merge branch 'PHP-7.2'

7 years agoUpdate NEWS
Christopher Jones [Wed, 26 Jul 2017 05:25:01 +0000 (15:25 +1000)]
Update NEWS

7 years agoMerge branch 'PHP-7.1' into PHP-7.2
Christopher Jones [Wed, 26 Jul 2017 05:24:26 +0000 (15:24 +1000)]
Merge branch 'PHP-7.1' into PHP-7.2

7 years agoUpdate NEWS
Christopher Jones [Wed, 26 Jul 2017 05:23:58 +0000 (15:23 +1000)]
Update NEWS

7 years agoMerge branch 'PHP-7.0' into PHP-7.1
Christopher Jones [Wed, 26 Jul 2017 05:23:17 +0000 (15:23 +1000)]
Merge branch 'PHP-7.0' into PHP-7.1

7 years agoExpose oci_unregister_taf_callback()
Christopher Jones [Wed, 26 Jul 2017 05:22:44 +0000 (15:22 +1000)]
Expose oci_unregister_taf_callback()

7 years agoMerge branch 'PHP-7.2'
Xinchen Hui [Wed, 26 Jul 2017 04:07:46 +0000 (12:07 +0800)]
Merge branch 'PHP-7.2'

* PHP-7.2:
  Update NEWS
  Fixed bug #74980 (Narrowing occurred during type inference)

7 years agoUpdate NEWS
Xinchen Hui [Wed, 26 Jul 2017 04:07:20 +0000 (12:07 +0800)]
Update NEWS

7 years agoMerge branch 'PHP-7.1' into PHP-7.2
Xinchen Hui [Wed, 26 Jul 2017 04:06:55 +0000 (12:06 +0800)]
Merge branch 'PHP-7.1' into PHP-7.2

* PHP-7.1:
  Fixed bug #74980 (Narrowing occurred during type inference)

7 years agoFixed bug #74980 (Narrowing occurred during type inference)
Xinchen Hui [Wed, 26 Jul 2017 04:06:33 +0000 (12:06 +0800)]
Fixed bug #74980 (Narrowing occurred during type inference)

7 years agoMerge branch 'master' of git.php.net:/php-src
Kalle Sommer Nielsen [Tue, 25 Jul 2017 20:10:53 +0000 (22:10 +0200)]
Merge branch 'master' of git.php.net:/php-src

7 years agoSkip these enchant tests if no dicts or providers are installed
Kalle Sommer Nielsen [Tue, 25 Jul 2017 20:10:34 +0000 (22:10 +0200)]
Skip these enchant tests if no dicts or providers are installed

7 years agoMerge branch 'master' of git.php.net:/php-src
Kalle Sommer Nielsen [Tue, 25 Jul 2017 19:40:27 +0000 (21:40 +0200)]
Merge branch 'master' of git.php.net:/php-src

7 years agofix data types
Anatol Belski [Tue, 25 Jul 2017 19:26:25 +0000 (21:26 +0200)]
fix data types

7 years agosize_t fixes
Anatol Belski [Tue, 25 Jul 2017 17:02:50 +0000 (19:02 +0200)]
size_t fixes

7 years agoFix datatypes and warnings
Anatol Belski [Tue, 25 Jul 2017 15:56:05 +0000 (17:56 +0200)]
Fix datatypes and warnings

Needs more testing yet.

use size_t

add range check and fix warning

more size_t fixes

7 years agoHandle character ranges in ucgendat generically
Nikita Popov [Tue, 25 Jul 2017 16:42:43 +0000 (18:42 +0200)]
Handle character ranges in ucgendat generically

In particular, the previous implementation did not account for
Tangut Ideographs and CJK Ideograph extensions C through F.

7 years agoPort ucgendat to PHP
Nikita Popov [Tue, 25 Jul 2017 16:25:52 +0000 (18:25 +0200)]
Port ucgendat to PHP

Implemented such that the output is identical, including some
quirks that should be fixed subsequently.

7 years agoFix handling of some special ranges in ucgendat
Nikita Popov [Tue, 25 Jul 2017 15:15:24 +0000 (17:15 +0200)]
Fix handling of some special ranges in ucgendat

* Han Ideagraphs go up to U+9FEA.
* CJK Compatibility Ideographs are no longer specified as a special
  range in remotely recent versions of Unicode.
* Surrogate properties should be assigned to U+D800-U+DFFF, not to
  U+10000-U+1FFFF.

7 years agoAdd warning for change session id when session is active
dreamsxin [Wed, 8 Mar 2017 02:40:10 +0000 (10:40 +0800)]
Add warning for change session id when session is active

7 years agoadd new test to uncoverage SQLite3 method.
marcosptf [Sun, 13 Mar 2016 02:05:37 +0000 (23:05 -0300)]
add new test to uncoverage SQLite3 method.

7 years agoMake transfer mode optional, set default to binary
Andreas Treichel [Mon, 10 Jul 2017 16:13:58 +0000 (18:13 +0200)]
Make transfer mode optional, set default to binary

7 years agoMerge branch 'PHP-7.2'
Joe Watkins [Tue, 25 Jul 2017 06:04:42 +0000 (07:04 +0100)]
Merge branch 'PHP-7.2'

* PHP-7.2:
  Remove obsolete function names from CODING_STANDARDS file

7 years agoRemove obsolete function names from CODING_STANDARDS file
Aleš Rebec [Fri, 14 Apr 2017 20:26:50 +0000 (22:26 +0200)]
Remove obsolete function names from CODING_STANDARDS file

Deprecated and removed function names used as examples in coding standards file.

- Mcrypt is deprecated and will be removed in 7.2
- Mysql functions are deprecated in 5.4 and removed in 7.0.

According to those changes, CODING_STANDARDS file should be updated.

7 years agoMerge branch 'PHP-7.2'
Joe Watkins [Tue, 25 Jul 2017 05:59:15 +0000 (06:59 +0100)]
Merge branch 'PHP-7.2'

* PHP-7.2:
  Fixed finding CURL on systems with multiarch support

7 years agoMerge branch 'PHP-7.1' into PHP-7.2
Joe Watkins [Tue, 25 Jul 2017 05:58:47 +0000 (06:58 +0100)]
Merge branch 'PHP-7.1' into PHP-7.2

* PHP-7.1:
  Fixed finding CURL on systems with multiarch support

7 years agoMerge branch 'PHP-7.0' into PHP-7.1
Joe Watkins [Tue, 25 Jul 2017 05:58:23 +0000 (06:58 +0100)]
Merge branch 'PHP-7.0' into PHP-7.1

* PHP-7.0:
  Fixed finding CURL on systems with multiarch support

7 years agoFixed finding CURL on systems with multiarch support
Carsten Brandt [Fri, 14 Jul 2017 11:45:33 +0000 (13:45 +0200)]
Fixed finding CURL on systems with multiarch support

fixes https://bugs.php.net/bug.php?id=74125

This commit makes the cURL config script aware of debian/ubuntu
[multiarch support][1] which installs architecture specific
headers in a different location.

It checks whether the `dpkg-architecture` script exists and is
executeable, if that is the case, the multiarch architecture is
detected by calling `dpkg-architecture -qDEB_HOST_MULTIARCH` as
documented in [debian multiarch implementation docs][2]:

> `/usr/include/<triplet>`: used for arch-varying headers

[1]: https://wiki.debian.org/Multiarch
[2]: https://wiki.debian.org/Multiarch/Implementation

7 years agoMerge branch 'PHP-7.2'
Joe Watkins [Tue, 25 Jul 2017 05:54:29 +0000 (06:54 +0100)]
Merge branch 'PHP-7.2'

* PHP-7.2:
  minor loop optimizations, closes #2633

7 years agoMerge branch 'PHP-7.1' into PHP-7.2
Joe Watkins [Tue, 25 Jul 2017 05:54:20 +0000 (06:54 +0100)]
Merge branch 'PHP-7.1' into PHP-7.2

* PHP-7.1:
  minor loop optimizations, closes #2633

7 years agoMerge branch 'PHP-7.0' into PHP-7.1
Joe Watkins [Tue, 25 Jul 2017 05:51:44 +0000 (06:51 +0100)]
Merge branch 'PHP-7.0' into PHP-7.1

* PHP-7.0:
  minor loop optimizations, closes #2633

7 years agominor loop optimizations, closes #2633
Joe Watkins [Tue, 25 Jul 2017 05:47:58 +0000 (06:47 +0100)]
minor loop optimizations, closes #2633

7 years agoMerge branch 'PHP-7.2'
Joe Watkins [Tue, 25 Jul 2017 05:40:35 +0000 (06:40 +0100)]
Merge branch 'PHP-7.2'

* PHP-7.2:
  Fixed #74977 - Appending AppendIterator leads to segfault

7 years agoMerge branch 'PHP-7.1' into PHP-7.2
Joe Watkins [Tue, 25 Jul 2017 05:40:08 +0000 (06:40 +0100)]
Merge branch 'PHP-7.1' into PHP-7.2

* PHP-7.1:
  Fixed #74977 - Appending AppendIterator leads to segfault

7 years agoFixed #74977 - Appending AppendIterator leads to segfault
andrewnester [Mon, 24 Jul 2017 15:41:02 +0000 (18:41 +0300)]
Fixed #74977 - Appending AppendIterator leads to segfault

7 years agoMerge branch 'PHP-7.2'
Joe Watkins [Tue, 25 Jul 2017 05:35:49 +0000 (06:35 +0100)]
Merge branch 'PHP-7.2'

* PHP-7.2:
  Fix ext/sodium display in phpinfo()

7 years agoFix ext/sodium display in phpinfo()
Sammy Kaye Powers [Mon, 24 Jul 2017 22:16:24 +0000 (17:16 -0500)]
Fix ext/sodium display in phpinfo()

7 years agoBail on invalid configure args if this is a snapshot build (as suggested by Anatol)
Kalle Sommer Nielsen [Mon, 24 Jul 2017 21:38:09 +0000 (23:38 +0200)]
Bail on invalid configure args if this is a snapshot build (as suggested by Anatol)

7 years agoMerge branch 'PHP-7.2'
Anatol Belski [Mon, 24 Jul 2017 21:09:56 +0000 (23:09 +0200)]
Merge branch 'PHP-7.2'

* PHP-7.2:
  switch to binary sdk 2.0.9 for appveyor

7 years agoMerge branch 'PHP-7.1' into PHP-7.2
Anatol Belski [Mon, 24 Jul 2017 21:09:20 +0000 (23:09 +0200)]
Merge branch 'PHP-7.1' into PHP-7.2

* PHP-7.1:
  switch to binary sdk 2.0.9 for appveyor

7 years agoMerge branch 'PHP-7.0' into PHP-7.1
Anatol Belski [Mon, 24 Jul 2017 21:08:07 +0000 (23:08 +0200)]
Merge branch 'PHP-7.0' into PHP-7.1

* PHP-7.0:
  switch to binary sdk 2.0.9 for appveyor

7 years agoswitch to binary sdk 2.0.9 for appveyor
Anatol Belski [Mon, 24 Jul 2017 21:07:15 +0000 (23:07 +0200)]
switch to binary sdk 2.0.9 for appveyor

7 years agoMerge branch 'PHP-7.2'
Sara Golemon [Mon, 24 Jul 2017 20:58:21 +0000 (16:58 -0400)]
Merge branch 'PHP-7.2'

* PHP-7.2:
  Fix typo in PHP 7.2 changelog

7 years agoFix typo in PHP 7.2 changelog
jrfnl [Mon, 24 Jul 2017 20:12:37 +0000 (22:12 +0200)]
Fix typo in PHP 7.2 changelog

7 years agoMerge branch 'PHP-7.2'
Joe Watkins [Mon, 24 Jul 2017 16:25:16 +0000 (17:25 +0100)]
Merge branch 'PHP-7.2'

* PHP-7.2:
  Update copyright year to 2017

7 years agoMerge branch 'PHP-7.1' into PHP-7.2
Joe Watkins [Mon, 24 Jul 2017 16:24:22 +0000 (17:24 +0100)]
Merge branch 'PHP-7.1' into PHP-7.2

* PHP-7.1:
  Update copyright year to 2017

7 years agoMerge branch 'PHP-7.0' into PHP-7.1
Joe Watkins [Mon, 24 Jul 2017 16:24:10 +0000 (17:24 +0100)]
Merge branch 'PHP-7.0' into PHP-7.1

* PHP-7.0:
  Update copyright year to 2017

7 years agoUpdate copyright year to 2017
Peter Kokot [Sat, 22 Jul 2017 18:22:04 +0000 (20:22 +0200)]
Update copyright year to 2017

7 years agoMerge branch 'PHP-7.2'
Anatol Belski [Mon, 24 Jul 2017 15:47:00 +0000 (17:47 +0200)]
Merge branch 'PHP-7.2'

* PHP-7.2:
  [ci skip] update NEWS

7 years ago[ci skip] update NEWS
Anatol Belski [Mon, 24 Jul 2017 15:46:31 +0000 (17:46 +0200)]
[ci skip] update NEWS

7 years agoMerge branch 'PHP-7.2'
Anatol Belski [Mon, 24 Jul 2017 15:03:52 +0000 (17:03 +0200)]
Merge branch 'PHP-7.2'

* PHP-7.2:
  Add test for bug #74903

7 years agoMerge branch 'PHP-7.1' into PHP-7.2
Anatol Belski [Mon, 24 Jul 2017 15:03:24 +0000 (17:03 +0200)]
Merge branch 'PHP-7.1' into PHP-7.2

* PHP-7.1:
  Add test for bug #74903

7 years agoMerge branch 'PHP-7.0' into PHP-7.1
Anatol Belski [Mon, 24 Jul 2017 15:02:55 +0000 (17:02 +0200)]
Merge branch 'PHP-7.0' into PHP-7.1

* PHP-7.0:
  Add test for bug #74903

7 years agoAdd test for bug #74903
Anatol Belski [Mon, 24 Jul 2017 15:02:10 +0000 (17:02 +0200)]
Add test for bug #74903

7 years agoMerge branch 'PHP-7.2'
Anatol Belski [Mon, 24 Jul 2017 14:38:41 +0000 (16:38 +0200)]
Merge branch 'PHP-7.2'

* PHP-7.2:
  Followup on 0ec147d3 for another place
  Ensure binary mode for OpenSSL I/O

7 years agoMerge branch 'PHP-7.1' into PHP-7.2
Anatol Belski [Mon, 24 Jul 2017 14:38:05 +0000 (16:38 +0200)]
Merge branch 'PHP-7.1' into PHP-7.2

* PHP-7.1:
  Followup on 0ec147d3 for another place
  Ensure binary mode for OpenSSL I/O

7 years agoFollowup on 0ec147d3 for another place
Anatol Belski [Mon, 24 Jul 2017 14:24:04 +0000 (16:24 +0200)]
Followup on 0ec147d3 for another place

which requires also to move the macros into the header

(cherry picked from commit b7eb2c060409a8f5809d6e73f53d88844cf9ed09)

7 years agoEnsure binary mode for OpenSSL I/O
Anatol Belski [Mon, 24 Jul 2017 13:43:48 +0000 (15:43 +0200)]
Ensure binary mode for OpenSSL I/O

Essential for OpenSSL 1.1.0 on Windows, some issues was revealed earlier
and now by openssl_pkcs12_export_to_file_basic.phpt.

(cherry picked from commit 0ec147d301b33b2cb0f347c6e81eb7e75e75b521)

7 years agoMerge branch 'PHP-7.2'
Anatol Belski [Mon, 24 Jul 2017 14:26:03 +0000 (16:26 +0200)]
Merge branch 'PHP-7.2'

* PHP-7.2:
  Followup on 0ec147d3 for another place

7 years agoFollowup on 0ec147d3 for another place
Anatol Belski [Mon, 24 Jul 2017 14:24:04 +0000 (16:24 +0200)]
Followup on 0ec147d3 for another place

which requires also to move the macros into the header

7 years agoMerge branch 'PHP-7.2'
Anatol Belski [Mon, 24 Jul 2017 13:46:18 +0000 (15:46 +0200)]
Merge branch 'PHP-7.2'

* PHP-7.2:
  Ensure binary mode for OpenSSL I/O

7 years agoEnsure binary mode for OpenSSL I/O
Anatol Belski [Mon, 24 Jul 2017 13:43:48 +0000 (15:43 +0200)]
Ensure binary mode for OpenSSL I/O

Essential for OpenSSL 1.1.0 on Windows, some issues was revealed earlier
and now by openssl_pkcs12_export_to_file_basic.phpt.

7 years agoMerge branch 'PHP-7.2'
Anatol Belski [Mon, 24 Jul 2017 12:52:58 +0000 (14:52 +0200)]
Merge branch 'PHP-7.2'

* PHP-7.2:
  Combine conditions for the automatic interactive console activation

7 years agoCombine conditions for the automatic interactive console activation
Anatol Belski [Mon, 24 Jul 2017 12:47:32 +0000 (14:47 +0200)]
Combine conditions for the automatic interactive console activation

as with bug #74979 it seems to have regressions which were not
present before.

7 years agoMerge branch 'PHP-7.2'
Frank Denis [Mon, 24 Jul 2017 12:26:47 +0000 (14:26 +0200)]
Merge branch 'PHP-7.2'

* PHP-7.2:
  sodium ext: don't reinvent sodium_increment() and sodium_add()

7 years agosodium ext: don't reinvent sodium_increment() and sodium_add()
Frank Denis [Mon, 24 Jul 2017 12:26:05 +0000 (14:26 +0200)]
sodium ext: don't reinvent sodium_increment() and sodium_add()

7 years agoMerge branch 'PHP-7.2'
Joe Watkins [Mon, 24 Jul 2017 09:47:12 +0000 (10:47 +0100)]
Merge branch 'PHP-7.2'

* PHP-7.2:
  openssl: Add openssl_pkcs12_export_to_file tests

7 years agoMerge branch 'PHP-7.1' into PHP-7.2
Joe Watkins [Mon, 24 Jul 2017 09:47:02 +0000 (10:47 +0100)]
Merge branch 'PHP-7.1' into PHP-7.2

* PHP-7.1:
  openssl: Add openssl_pkcs12_export_to_file tests

7 years agoMerge branch 'PHP-7.0' into PHP-7.1
Joe Watkins [Mon, 24 Jul 2017 09:46:52 +0000 (10:46 +0100)]
Merge branch 'PHP-7.0' into PHP-7.1

* PHP-7.0:
  openssl: Add openssl_pkcs12_export_to_file tests

7 years agoopenssl: Add openssl_pkcs12_export_to_file tests
Jelle van der Waa [Sat, 22 Jul 2017 20:40:10 +0000 (22:40 +0200)]
openssl: Add openssl_pkcs12_export_to_file tests

Add basic tests for openssl_pkcs12_export_to_file.

7 years agoMerge branch 'PHP-7.2'
Joe Watkins [Mon, 24 Jul 2017 09:44:30 +0000 (10:44 +0100)]
Merge branch 'PHP-7.2'

* PHP-7.2:
  Fix typo in UPGRADING for 7.2

7 years agoFix typo in UPGRADING for 7.2
Issei.M [Sun, 23 Jul 2017 14:08:49 +0000 (23:08 +0900)]
Fix typo in UPGRADING for 7.2

7 years agoMerge branch 'PHP-7.2'
Joe Watkins [Mon, 24 Jul 2017 09:43:01 +0000 (10:43 +0100)]
Merge branch 'PHP-7.2'

* PHP-7.2:
  Update PHP 5 version to 7 in header comments

7 years agoMerge branch 'PHP-7.1' into PHP-7.2
Joe Watkins [Mon, 24 Jul 2017 09:42:48 +0000 (10:42 +0100)]
Merge branch 'PHP-7.1' into PHP-7.2

* PHP-7.1:
  Update PHP 5 version to 7 in header comments

7 years agoMerge branch 'PHP-7.0' into PHP-7.1
Joe Watkins [Mon, 24 Jul 2017 09:42:35 +0000 (10:42 +0100)]
Merge branch 'PHP-7.0' into PHP-7.1

* PHP-7.0:
  Update PHP 5 version to 7 in header comments

7 years agoUpdate PHP 5 version to 7 in header comments
Peter Kokot [Sun, 23 Jul 2017 14:39:30 +0000 (16:39 +0200)]
Update PHP 5 version to 7 in header comments

7 years agoAdd MBFL_SUBSTR_TO_END mode to mbfl_substr
Nikita Popov [Sun, 23 Jul 2017 21:10:53 +0000 (23:10 +0200)]
Add MBFL_SUBSTR_TO_END mode to mbfl_substr

This takes the substr from the offset to the end of the string.
This avoids pointless searching for the end position and also
saves us a length calculation in the strstr family of functions.

7 years agoMerge branch 'PHP-7.2'
Sara Golemon [Sun, 23 Jul 2017 19:17:26 +0000 (15:17 -0400)]
Merge branch 'PHP-7.2'

* PHP-7.2:
  Add hash_hmac_algos() for filtered is_crypto methods

7 years agoAdd hash_hmac_algos() for filtered is_crypto methods
Sara Golemon [Sun, 23 Jul 2017 19:14:31 +0000 (15:14 -0400)]
Add hash_hmac_algos() for filtered is_crypto methods

7 years agoRemove more obsolete length checks
Nikita Popov [Sun, 23 Jul 2017 17:09:36 +0000 (19:09 +0200)]
Remove more obsolete length checks

7 years agoChange layout of case mapping table
Nikita Popov [Sun, 23 Jul 2017 16:26:44 +0000 (18:26 +0200)]
Change layout of case mapping table

Previously the case mapping table was segregated by the type of
the character (upper, lower, title) and always stored the other
two variants (key, other1, other2). Now the table is segregated
by the target type (key, other). As only very few characters have
more than one target this only slightly increases the size of the
table.

The advantage of this layout is that we only need to perform a
single table lookup in the case table. Previously, depending on
the case that was hit, either one lookup in the property table,
or two lookups in the property table and one lookup in the case
table were required.

This changes the layout from libunicode in the OpenLDAP project
-- however, the last commit there was over 10 years ago, so I
don't see value in keeping this in sync.

7 years agoremove cast
Anatol Belski [Sun, 23 Jul 2017 15:38:28 +0000 (17:38 +0200)]
remove cast

7 years agofix warnings and datatype
Anatol Belski [Sun, 23 Jul 2017 15:33:18 +0000 (17:33 +0200)]
fix warnings and datatype

ident