]> granicus.if.org Git - php/log
php
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

7 years agoadjust datatype, used for position handling
Anatol Belski [Sun, 23 Jul 2017 14:36:42 +0000 (16:36 +0200)]
adjust datatype, used for position handling

7 years agoAdjust datatypes and reorder which saves 8 bytes on 64-bit
Anatol Belski [Sun, 23 Jul 2017 12:13:16 +0000 (14:13 +0200)]
Adjust datatypes and reorder which saves 8 bytes on 64-bit

7 years agoMerge branch 'PHP-7.2'
Nikita Popov [Sun, 23 Jul 2017 14:06:25 +0000 (16:06 +0200)]
Merge branch 'PHP-7.2'

7 years agoUpdate Unicode data for Unicode 10
Nikita Popov [Sun, 23 Jul 2017 14:05:39 +0000 (16:05 +0200)]
Update Unicode data for Unicode 10

7 years agoUpdate ucgendat for more bidi properties
Nikita Popov [Sun, 23 Jul 2017 14:03:11 +0000 (16:03 +0200)]
Update ucgendat for more bidi properties

Handle them the same way as others -- by classifying as Other
Neutral.

7 years agoMerge branch 'PHP-7.2'
Nikita Popov [Sun, 23 Jul 2017 13:36:25 +0000 (15:36 +0200)]
Merge branch 'PHP-7.2'

7 years agoFixed bug #69267 completely
Nikita Popov [Sun, 23 Jul 2017 13:30:17 +0000 (15:30 +0200)]
Fixed bug #69267 completely

ucgendat.c was assuming that a title-case character is a character
that has both lower and upper-case variants. However, there are
title-case characters that only have a lower-case variant. Use the
Lt general character proprety to determine where in the case map
the character should be placed instead.

7 years agoAnother fix for bug #69267
Nikita Popov [Sun, 23 Jul 2017 13:00:26 +0000 (15:00 +0200)]
Another fix for bug #69267

mb_strtoupper() was converting lowercase characters into
titlecase characters, instead of uppercase characters. Luckily
there are only very few characters with a distinct titlecase
representation, so this mostly worked out okay...

7 years agoPartial fix for bug #69267
Nikita Popov [Sun, 23 Jul 2017 12:47:21 +0000 (14:47 +0200)]
Partial fix for bug #69267

This pulls in 60a25c72ba389f53b0621ca250bc99f3b295d43f from the
OpenLDAP project.

7 years agoMerge branch 'PHP-7.2'
Nikita Popov [Sun, 23 Jul 2017 10:22:09 +0000 (12:22 +0200)]
Merge branch 'PHP-7.2'

7 years agoMerge branch 'PHP-7.1' into PHP-7.2
Nikita Popov [Sun, 23 Jul 2017 10:21:25 +0000 (12:21 +0200)]
Merge branch 'PHP-7.1' into PHP-7.2

7 years agoMerge branch 'PHP-7.0' into PHP-7.1
Nikita Popov [Sun, 23 Jul 2017 10:19:56 +0000 (12:19 +0200)]
Merge branch 'PHP-7.0' into PHP-7.1

7 years agoFix #71606: Segmentation fault mb_strcut with HTML-ENTITIES
Christoph M. Becker [Sat, 30 Jul 2016 14:58:43 +0000 (16:58 +0200)]
Fix #71606: Segmentation fault mb_strcut with HTML-ENTITIES

The HTML decoding filter uses the `opaque` member of mbfl_convert_filter
as buffer, but there was no copy constructor defined, what caused double
frees when the filter is copied (what happens multiple times in mb_strcut(),
for instance).

7 years agoMerge branch 'PHP-7.2'
Nikita Popov [Sun, 23 Jul 2017 09:55:46 +0000 (11:55 +0200)]
Merge branch 'PHP-7.2'

7 years agoFix overflow checks in mbfl_memory_device
Nikita Popov [Sun, 23 Jul 2017 09:33:05 +0000 (11:33 +0200)]
Fix overflow checks in mbfl_memory_device

Also prune out some duplicate code and use strlen() and memcpy()
instead of ad-hoc reimplementations. Remove multiplications by
sizeof(unsigned char), which wrongly imply that this can be
anything but 1.

7 years agoFix bug #73528
Nikita Popov [Sun, 23 Jul 2017 09:06:01 +0000 (11:06 +0200)]
Fix bug #73528

7 years agoRemove confusing null checks in mb_send_mail
Nikita Popov [Sun, 23 Jul 2017 09:01:00 +0000 (11:01 +0200)]
Remove confusing null checks in mb_send_mail

These are required parameters, they cannot be missing.

7 years agoFix use after free in mb_send_mail
Nikita Popov [Sun, 23 Jul 2017 09:55:00 +0000 (11:55 +0200)]
Fix use after free in mb_send_mail

7 years agoFix ext_skel's help, the arguments passed are using a space, not an equal sign for...
Kalle Sommer Nielsen [Sun, 23 Jul 2017 09:28:27 +0000 (11:28 +0200)]
Fix ext_skel's help, the arguments passed are using a space, not an equal sign for values

7 years agoMerge branch 'PHP-7.2'
Anatol Belski [Sun, 23 Jul 2017 09:08:49 +0000 (11:08 +0200)]
Merge branch 'PHP-7.2'

* PHP-7.2:
  fix skipif

7 years agofix skipif
Anatol Belski [Sun, 23 Jul 2017 09:08:11 +0000 (11:08 +0200)]
fix skipif

7 years agoChange Côme's name to Come, sorry but Visual Studio just butchers everything =(
Kalle Sommer Nielsen [Sun, 23 Jul 2017 08:41:35 +0000 (10:41 +0200)]
Change Côme's name to Come, sorry but Visual Studio just butchers everything =(

7 years agoRedesigned ext_skel to be written entirely in PHP with no dependencies, this means...
Kalle Sommer Nielsen [Sun, 23 Jul 2017 08:36:35 +0000 (10:36 +0200)]
Redesigned ext_skel to be written entirely in PHP with no dependencies, this means it will now run on Windows without Cygwin and other nonsense.

It no longer includes a way to generate XML documentation (the PHP documentation utilities already got tools for that in svn under phpdoc/doc-base) and it no longer support function stubs.

$ php ext_skel.php --help
php ext_skel.php --ext=<name> [--experimental] [--author=<name>]
                 [--dir=<path>] [--std] [--onlyunix]
                 [--onlywindows] [--help]

  --ext=<name>          The name of the extension defined as <name>
  --experimental        Passed if this extension is experimental, this creates
                        the EXPERIMENTAL file in the root of the extension
  --author=<name>       Your name, this is used if --header is passed and
                        for the CREDITS file
  --dir=<path>          Path to the directory for where extension should be
                        created. Defaults to the directory of where this script
                        lives
  --std                 If passed, the standard header and vim rules footer used

                        in extensions that is included in the core, will be used

  --onlyunix            Only generate configure scripts for Unix
  --onlywindows         Only generate configure scripts for Windows
  --help                This help

Example usage:
$ php ext_skel.php --ext test --std --experimental
$ php ext_skel.php --ext kalle --author "Kalle Sommer Nielsen"
$ php ext_skel.php --ext phpfi --dir "/home/kalle/dev/" --onlyunix

7 years agoFix line feeds
Kalle Sommer Nielsen [Sun, 23 Jul 2017 08:02:38 +0000 (10:02 +0200)]
Fix line feeds

7 years agoFAST_ZPP variant of zend_parse_parameters_none(), ZEND_PARSE_PARAMETERS_NONE()
Kalle Sommer Nielsen [Sun, 23 Jul 2017 06:48:06 +0000 (08:48 +0200)]
FAST_ZPP variant of zend_parse_parameters_none(), ZEND_PARSE_PARAMETERS_NONE()

7 years agoMerge branch 'PHP-7.2'
Sara Golemon [Sun, 23 Jul 2017 01:33:34 +0000 (21:33 -0400)]
Merge branch 'PHP-7.2'

* PHP-7.2:
  Use compatability zend_isnan() instead of POSIX isnan()

7 years agoMerge branch 'PHP-7.1' into PHP-7.2
Sara Golemon [Sun, 23 Jul 2017 01:33:28 +0000 (21:33 -0400)]
Merge branch 'PHP-7.1' into PHP-7.2

* PHP-7.1:
  Use compatability zend_isnan() instead of POSIX isnan()