]> granicus.if.org Git - php/log
php
10 years agofix datatype mismatches
Anatol Belski [Tue, 2 Dec 2014 07:58:39 +0000 (08:58 +0100)]
fix datatype mismatches

10 years agofix datatype mismatch
Anatol Belski [Tue, 2 Dec 2014 07:37:11 +0000 (08:37 +0100)]
fix datatype mismatch

10 years agofix datatype mismatches
Anatol Belski [Mon, 1 Dec 2014 13:30:02 +0000 (14:30 +0100)]
fix datatype mismatches

10 years agosilence the lib.exe
Anatol Belski [Mon, 1 Dec 2014 07:42:21 +0000 (08:42 +0100)]
silence the lib.exe

10 years agoMerge branch 'PHP-5.6'
Remi Collet [Tue, 2 Dec 2014 07:41:35 +0000 (08:41 +0100)]
Merge branch 'PHP-5.6'

* PHP-5.6:
  NEWS
  Fix Bug #68536 Pack for 64bits integer is broken on bigendian.

10 years agoNEWS
Remi Collet [Tue, 2 Dec 2014 07:40:52 +0000 (08:40 +0100)]
NEWS

10 years agoFix Bug #68536 Pack for 64bits integer is broken on bigendian.
Remi Collet [Tue, 2 Dec 2014 07:38:39 +0000 (08:38 +0100)]
Fix Bug #68536 Pack for 64bits integer is broken on bigendian.

Covered by ext/standard/tests/strings/pack64.phpt

10 years agofix string is optional, set default length, thanks laruence
Remi Collet [Tue, 2 Dec 2014 06:41:35 +0000 (07:41 +0100)]
fix string is optional, set default length, thanks laruence

10 years agoFix type of string length in zpp call
Remi Collet [Tue, 2 Dec 2014 06:05:13 +0000 (07:05 +0100)]
Fix type of string length in zpp call

Fix 23 failed tests (detected on bigendian)

10 years agoMerge branch 'PHP-5.6'
Anatol Belski [Mon, 1 Dec 2014 18:10:44 +0000 (19:10 +0100)]
Merge branch 'PHP-5.6'

* PHP-5.6:
  one more refix to the test

10 years agoMerge branch 'PHP-5.5' into PHP-5.6
Anatol Belski [Mon, 1 Dec 2014 18:10:18 +0000 (19:10 +0100)]
Merge branch 'PHP-5.5' into PHP-5.6

* PHP-5.5:
  one more refix to the test

10 years agoone more refix to the test
Anatol Belski [Mon, 1 Dec 2014 18:09:39 +0000 (19:09 +0100)]
one more refix to the test

10 years agocleanup uneeded cast
Remi Collet [Mon, 1 Dec 2014 18:06:16 +0000 (19:06 +0100)]
cleanup uneeded cast

10 years agoMerge branch 'PHP-5.6'
Anatol Belski [Mon, 1 Dec 2014 17:56:14 +0000 (18:56 +0100)]
Merge branch 'PHP-5.6'

* PHP-5.6:
  fix dir separator in test

10 years agoMerge branch 'PHP-5.5' into PHP-5.6
Anatol Belski [Mon, 1 Dec 2014 17:55:52 +0000 (18:55 +0100)]
Merge branch 'PHP-5.5' into PHP-5.6

* PHP-5.5:
  fix dir separator in test

10 years agofix dir separator in test
Anatol Belski [Mon, 1 Dec 2014 17:55:20 +0000 (18:55 +0100)]
fix dir separator in test

10 years agoFix type of string lengths.
Remi Collet [Mon, 1 Dec 2014 15:09:15 +0000 (16:09 +0100)]
Fix type of string lengths.

Those values are used in various call (including zpp) where
a size_t is expected.

This fix 82 failed test on ppc64
(bigendian is perfect to detect stack issue)

10 years agoMerge branch 'PHP-5.6'
Anatol Belski [Mon, 1 Dec 2014 13:43:43 +0000 (14:43 +0100)]
Merge branch 'PHP-5.6'

* PHP-5.6:
  fix possible null pointer math

10 years agoMerge branch 'PHP-5.5' into PHP-5.6
Anatol Belski [Mon, 1 Dec 2014 13:43:22 +0000 (14:43 +0100)]
Merge branch 'PHP-5.5' into PHP-5.6

* PHP-5.5:
  fix possible null pointer math

10 years agofix possible null pointer math
Anatol Belski [Mon, 1 Dec 2014 13:40:35 +0000 (14:40 +0100)]
fix possible null pointer math

10 years agoPowerPC64 support in long multiplication
Gustavo Frederico Temple Pedrosa [Tue, 25 Nov 2014 15:41:15 +0000 (15:41 +0000)]
PowerPC64 support in long multiplication

In long integer multiplications, avoid casting
both operands to long double and use an inline
assembly-based overflow checking function instead.

10 years agoMerge branch 'PHP-5.6'
Ferenc Kovacs [Mon, 1 Dec 2014 09:15:42 +0000 (10:15 +0100)]
Merge branch 'PHP-5.6'

* PHP-5.6:
  Revert "don't try to send in the test results until we restored qa.php.net" as qa.php.net is back.

10 years agoMerge branch 'PHP-5.5' into PHP-5.6
Ferenc Kovacs [Mon, 1 Dec 2014 09:14:32 +0000 (10:14 +0100)]
Merge branch 'PHP-5.5' into PHP-5.6

* PHP-5.5:
  Revert "don't try to send in the test results until we restored qa.php.net" as qa.php.net is back.

Conflicts:
.travis.yml

10 years agoRevert "don't try to send in the test results until we restored qa.php.net" as qa...
Ferenc Kovacs [Mon, 1 Dec 2014 09:12:06 +0000 (10:12 +0100)]
Revert "don't try to send in the test results until we restored qa.php.net" as qa.php.net is back.

This reverts commit 551593707384364705cd954a52c6e4089805f0ef.

10 years agoMerge branch 'PHP-5.6'
Anatol Belski [Mon, 1 Dec 2014 07:32:12 +0000 (08:32 +0100)]
Merge branch 'PHP-5.6'

* PHP-5.6:
  add include for missing usleep proto
  C89 compat
  Added more useful warning messages
  Changed based on comments and make its behaviour equal to the Windows version
  Fix #53092 - dns_get_record does not return false on dns server failure
  Fix php cli (-S option) inconsistent port parsing

Conflicts:
main/streams/plain_wrapper.c

10 years agoMerge branch 'PHP-5.5' into PHP-5.6
Anatol Belski [Mon, 1 Dec 2014 07:30:59 +0000 (08:30 +0100)]
Merge branch 'PHP-5.5' into PHP-5.6

* PHP-5.5:
  add include for missing usleep proto
  C89 compat
  Added more useful warning messages
  Changed based on comments and make its behaviour equal to the Windows version
  Fix #53092 - dns_get_record does not return false on dns server failure
  Fix php cli (-S option) inconsistent port parsing

10 years agoadd include for missing usleep proto
Anatol Belski [Mon, 1 Dec 2014 07:27:46 +0000 (08:27 +0100)]
add include for missing usleep proto

10 years agoC89 compat
Anatol Belski [Mon, 1 Dec 2014 07:24:44 +0000 (08:24 +0100)]
C89 compat

10 years agoMerge branch 'PHP-5.6'
Stanislav Malyshev [Mon, 1 Dec 2014 06:44:02 +0000 (22:44 -0800)]
Merge branch 'PHP-5.6'

* PHP-5.6:
  Added more useful warning messages
  Changed based on comments and make its behaviour equal to the Windows version
  Fix #53092 - dns_get_record does not return false on dns server failure
  Fix php cli (-S option) inconsistent port parsing

10 years agoAdded more useful warning messages
Tjerk Meesters [Tue, 15 Jul 2014 12:28:16 +0000 (20:28 +0800)]
Added more useful warning messages

10 years agoChanged based on comments and make its behaviour equal to the Windows version
Tjerk Meesters [Tue, 15 Jul 2014 12:12:33 +0000 (20:12 +0800)]
Changed based on comments and make its behaviour equal to the Windows version

10 years agoFix #53092 - dns_get_record does not return false on dns server failure
Tjerk Meesters [Sun, 13 Jul 2014 10:23:25 +0000 (18:23 +0800)]
Fix #53092 - dns_get_record does not return false on dns server failure

10 years agoFix php cli (-S option) inconsistent port parsing
nil0x42 [Fri, 11 Jul 2014 17:48:03 +0000 (19:48 +0200)]
Fix php cli (-S option) inconsistent port parsing

Add port range verification of listening port with -S option for the php cli.
This fixes inconsistent listening port due to unverified cast from long to short
with htons(3).

10 years agoAdded more useful warning messages
Tjerk Meesters [Tue, 15 Jul 2014 12:28:16 +0000 (20:28 +0800)]
Added more useful warning messages

10 years agoChanged based on comments and make its behaviour equal to the Windows version
Tjerk Meesters [Tue, 15 Jul 2014 12:12:33 +0000 (20:12 +0800)]
Changed based on comments and make its behaviour equal to the Windows version

10 years agoFix #53092 - dns_get_record does not return false on dns server failure
Tjerk Meesters [Sun, 13 Jul 2014 10:23:25 +0000 (18:23 +0800)]
Fix #53092 - dns_get_record does not return false on dns server failure

10 years agoFix php cli (-S option) inconsistent port parsing
nil0x42 [Fri, 11 Jul 2014 17:48:03 +0000 (19:48 +0200)]
Fix php cli (-S option) inconsistent port parsing

Add port range verification of listening port with -S option for the php cli.
This fixes inconsistent listening port due to unverified cast from long to short
with htons(3).

10 years agoAdded more useful warning messages
Tjerk Meesters [Tue, 15 Jul 2014 12:28:16 +0000 (20:28 +0800)]
Added more useful warning messages

10 years agoChanged based on comments and make its behaviour equal to the Windows version
Tjerk Meesters [Tue, 15 Jul 2014 12:12:33 +0000 (20:12 +0800)]
Changed based on comments and make its behaviour equal to the Windows version

10 years agoFix #53092 - dns_get_record does not return false on dns server failure
Tjerk Meesters [Sun, 13 Jul 2014 10:23:25 +0000 (18:23 +0800)]
Fix #53092 - dns_get_record does not return false on dns server failure

10 years agoFix php cli (-S option) inconsistent port parsing
nil0x42 [Fri, 11 Jul 2014 17:48:03 +0000 (19:48 +0200)]
Fix php cli (-S option) inconsistent port parsing

Add port range verification of listening port with -S option for the php cli.
This fixes inconsistent listening port due to unverified cast from long to short
with htons(3).

10 years agoMerge branch 'PHP-5.6'
Remi Collet [Mon, 1 Dec 2014 06:29:19 +0000 (07:29 +0100)]
Merge branch 'PHP-5.6'

* PHP-5.6:
  XFAIL as catch_workers_output = yes seems not reliable

10 years agoXFAIL as catch_workers_output = yes seems not reliable
Remi Collet [Mon, 1 Dec 2014 06:28:49 +0000 (07:28 +0100)]
XFAIL as catch_workers_output = yes seems not reliable

10 years agoMerge branch 'PHP-5.6'
Stanislav Malyshev [Mon, 1 Dec 2014 06:22:50 +0000 (22:22 -0800)]
Merge branch 'PHP-5.6'

* PHP-5.6:
  update NEWS
  Add a test for bug #67643 (curl_multi_getcontent returns '' when RETURNTRANSFER isn't set)
  Fixed bug #67643 (curl_multi_getcontent returns '' when CURLOPT_RETURNTRANSFER isn't set)
  fix ZTS

Conflicts:
ext/curl/multi.c
ext/date/php_date.c

10 years agoMerge branch 'pull-request/728'
Stanislav Malyshev [Mon, 1 Dec 2014 06:22:15 +0000 (22:22 -0800)]
Merge branch 'pull-request/728'

* pull-request/728:
  Add a test for bug #67643 (curl_multi_getcontent returns '' when RETURNTRANSFER isn't set)
  Fixed bug #67643 (curl_multi_getcontent returns '' when CURLOPT_RETURNTRANSFER isn't set)

Conflicts:
ext/curl/multi.c

10 years agoMerge branch 'PHP-5.5' into PHP-5.6
Stanislav Malyshev [Mon, 1 Dec 2014 06:21:35 +0000 (22:21 -0800)]
Merge branch 'PHP-5.5' into PHP-5.6

* PHP-5.5:
  update NEWS
  Add a test for bug #67643 (curl_multi_getcontent returns '' when RETURNTRANSFER isn't set)
  Fixed bug #67643 (curl_multi_getcontent returns '' when CURLOPT_RETURNTRANSFER isn't set)

10 years agoupdate NEWS
Stanislav Malyshev [Mon, 1 Dec 2014 06:19:24 +0000 (22:19 -0800)]
update NEWS

10 years agoAdd a test for bug #67643 (curl_multi_getcontent returns '' when RETURNTRANSFER isn...
Jille Timmermans [Mon, 24 Nov 2014 08:37:55 +0000 (09:37 +0100)]
Add a test for bug #67643 (curl_multi_getcontent returns '' when RETURNTRANSFER isn't set)

10 years agoFixed bug #67643 (curl_multi_getcontent returns '' when CURLOPT_RETURNTRANSFER isn...
Jille Timmermans [Thu, 17 Jul 2014 15:21:52 +0000 (17:21 +0200)]
Fixed bug #67643 (curl_multi_getcontent returns '' when CURLOPT_RETURNTRANSFER isn't set)

10 years agofix ZTS
Stanislav Malyshev [Mon, 1 Dec 2014 05:50:29 +0000 (21:50 -0800)]
fix ZTS

10 years agoMerge branch 'PHP-5.6'
Stanislav Malyshev [Mon, 1 Dec 2014 05:41:04 +0000 (21:41 -0800)]
Merge branch 'PHP-5.6'

* PHP-5.6:
  update news
  update news
  update NEWS
  Apply error-code-salt fix to Windows too
  Bug fixes in light of failing bcrypt tests
  Add tests from 1.3. Add missing tests.
  Upgrade crypt_blowfish to version 1.3
  Apply error-code-salt fix to Windows too
  Bug fixes in light of failing bcrypt tests
  Add tests from 1.3. Add missing tests.
  Upgrade crypt_blowfish to version 1.3

Conflicts:
ext/standard/crypt.c

10 years agoMerge branch 'PHP-5.5' into PHP-5.6
Stanislav Malyshev [Mon, 1 Dec 2014 05:39:26 +0000 (21:39 -0800)]
Merge branch 'PHP-5.5' into PHP-5.6

* PHP-5.5:
  update news
  update news
  update NEWS
  Apply error-code-salt fix to Windows too
  Bug fixes in light of failing bcrypt tests
  Add tests from 1.3. Add missing tests.
  Upgrade crypt_blowfish to version 1.3
  Apply error-code-salt fix to Windows too
  Bug fixes in light of failing bcrypt tests
  Add tests from 1.3. Add missing tests.
  Upgrade crypt_blowfish to version 1.3

10 years agoMerge branch 'PHP-5.4' into PHP-5.5
Stanislav Malyshev [Mon, 1 Dec 2014 05:38:30 +0000 (21:38 -0800)]
Merge branch 'PHP-5.4' into PHP-5.5

* PHP-5.4:
  update news

Conflicts:
ext/standard/crypt.c

10 years agoupdate news
Stanislav Malyshev [Mon, 1 Dec 2014 05:12:03 +0000 (21:12 -0800)]
update news

10 years agoMerge branch 'PHP-5.4' into PHP-5.5
Stanislav Malyshev [Mon, 1 Dec 2014 05:12:17 +0000 (21:12 -0800)]
Merge branch 'PHP-5.4' into PHP-5.5

* PHP-5.4:
  update news
  Apply error-code-salt fix to Windows too
  Bug fixes in light of failing bcrypt tests
  Add tests from 1.3. Add missing tests.
  Upgrade crypt_blowfish to version 1.3

10 years agoupdate news
Stanislav Malyshev [Mon, 1 Dec 2014 05:12:03 +0000 (21:12 -0800)]
update news

10 years agoupdate NEWS
Stanislav Malyshev [Mon, 1 Dec 2014 05:11:20 +0000 (21:11 -0800)]
update NEWS

10 years agoMerge branch 'pull-request/868' into PHP-5.5
Stanislav Malyshev [Mon, 1 Dec 2014 05:09:41 +0000 (21:09 -0800)]
Merge branch 'pull-request/868' into PHP-5.5

* pull-request/868:
  Apply error-code-salt fix to Windows too
  Bug fixes in light of failing bcrypt tests
  Add tests from 1.3. Add missing tests.
  Upgrade crypt_blowfish to version 1.3

10 years agoApply error-code-salt fix to Windows too
Leigh [Tue, 7 Oct 2014 12:12:38 +0000 (13:12 +0100)]
Apply error-code-salt fix to Windows too

Conflicts:
ext/standard/crypt.c

10 years agoBug fixes in light of failing bcrypt tests
Leigh [Tue, 7 Oct 2014 11:27:57 +0000 (12:27 +0100)]
Bug fixes in light of failing bcrypt tests

Conflicts:
ext/standard/crypt.c

10 years agoAdd tests from 1.3. Add missing tests.
Leigh [Tue, 7 Oct 2014 10:50:36 +0000 (11:50 +0100)]
Add tests from 1.3. Add missing tests.

3 of the missing tests fail. // TODO

10 years agoUpgrade crypt_blowfish to version 1.3
Leigh [Tue, 7 Oct 2014 10:23:24 +0000 (11:23 +0100)]
Upgrade crypt_blowfish to version 1.3

10 years agoMerge branch 'PHP-5.6'
Stanislav Malyshev [Mon, 1 Dec 2014 04:50:43 +0000 (20:50 -0800)]
Merge branch 'PHP-5.6'

* PHP-5.6:
  Conflicts:  ext/date/php_date.c

Conflicts:
ext/date/php_date.c

10 years agoConflicts:
m.bennewitz [Mon, 20 Oct 2014 08:27:56 +0000 (08:27 +0000)]
Conflicts:
ext/date/php_date.c

10 years agoMerge branch 'pull-request/878'
Stanislav Malyshev [Mon, 1 Dec 2014 04:37:37 +0000 (20:37 -0800)]
Merge branch 'pull-request/878'

* pull-request/878:
  #68268: DatePeriod: Getter for start date, end date and interval

10 years agoMerge branch 'pull-request/877'
Stanislav Malyshev [Mon, 1 Dec 2014 04:27:05 +0000 (20:27 -0800)]
Merge branch 'pull-request/877'

* pull-request/877:
  gmp_random_seed()

10 years agoMerge branch 'PHP-5.6'
Stanislav Malyshev [Mon, 1 Dec 2014 02:32:56 +0000 (18:32 -0800)]
Merge branch 'PHP-5.6'

* PHP-5.6:
  Adds test cases for openssl EC improvements
  Adds better handling of EC keys: OPENSSL_KEYTYPE_EC
  Fixes memory leak introduced in 2b9af967

Conflicts:
ext/openssl/openssl.c

10 years agoMerge branch 'pull-request/916'
Stanislav Malyshev [Mon, 1 Dec 2014 02:27:37 +0000 (18:27 -0800)]
Merge branch 'pull-request/916'

* pull-request/916:
  Adds test cases for openssl EC improvements
  Adds better handling of EC keys: OPENSSL_KEYTYPE_EC

10 years agoMerge branch 'PHP-5.5' into PHP-5.6
Stanislav Malyshev [Mon, 1 Dec 2014 02:26:39 +0000 (18:26 -0800)]
Merge branch 'PHP-5.5' into PHP-5.6

* PHP-5.5:
  Fixes memory leak introduced in 2b9af967

10 years agoMerge branch 'pull-request/914' into PHP-5.5
Stanislav Malyshev [Mon, 1 Dec 2014 02:26:17 +0000 (18:26 -0800)]
Merge branch 'pull-request/914' into PHP-5.5

* pull-request/914:
  Fixes memory leak introduced in 2b9af967

10 years agoMerge branch 'PHP-5.5' into PHP-5.6
Stanislav Malyshev [Mon, 1 Dec 2014 02:18:30 +0000 (18:18 -0800)]
Merge branch 'PHP-5.5' into PHP-5.6

* PHP-5.5:
  Adds test cases for openssl EC improvements
  Adds better handling of EC keys: OPENSSL_KEYTYPE_EC

10 years agoAdds test cases for openssl EC improvements
Dominic Luechinger [Mon, 24 Nov 2014 01:31:19 +0000 (02:31 +0100)]
Adds test cases for openssl EC improvements

10 years agoAdds better handling of EC keys: OPENSSL_KEYTYPE_EC
Dominic Luechinger [Mon, 24 Nov 2014 01:04:37 +0000 (02:04 +0100)]
Adds better handling of EC keys: OPENSSL_KEYTYPE_EC

When working with elliptic curve and openssl some functions are not
aware of the different handling.
Improvements:
- Fixes export of EC private keys
- Adds curve information to openssl_pkey_get_details

Conflicts:
ext/openssl/openssl.c

10 years agoMerge branch 'pull-request/885'
Stanislav Malyshev [Mon, 1 Dec 2014 01:35:32 +0000 (17:35 -0800)]
Merge branch 'pull-request/885'

* pull-request/885:
  Added test and review suggestion
  Fix bug #68335: rmdir doesnt work with file:// stream wrapper

10 years agoMerge branch 'PHP-5.6'
Stanislav Malyshev [Mon, 1 Dec 2014 01:35:11 +0000 (17:35 -0800)]
Merge branch 'PHP-5.6'

* PHP-5.6:
  Update NEWS
  fix typo
  Added test and review suggestion
  Fix bug #68335: rmdir doesnt work with file:// stream wrapper

10 years agoMerge branch 'PHP-5.5' into PHP-5.6
Stanislav Malyshev [Mon, 1 Dec 2014 01:34:20 +0000 (17:34 -0800)]
Merge branch 'PHP-5.5' into PHP-5.6

* PHP-5.5:
  Update NEWS
  fix typo

10 years agoUpdate NEWS
Stanislav Malyshev [Mon, 1 Dec 2014 01:34:07 +0000 (17:34 -0800)]
Update NEWS

10 years agofix typo
Stanislav Malyshev [Mon, 1 Dec 2014 01:09:53 +0000 (17:09 -0800)]
fix typo

10 years agoMerge branch 'PHP-5.5' into PHP-5.6
Stanislav Malyshev [Mon, 1 Dec 2014 01:07:02 +0000 (17:07 -0800)]
Merge branch 'PHP-5.5' into PHP-5.6

* PHP-5.5:
  Added test and review suggestion
  Fix bug #68335: rmdir doesnt work with file:// stream wrapper

10 years agoAdded test and review suggestion
mcq8 [Sat, 1 Nov 2014 18:49:21 +0000 (19:49 +0100)]
Added test and review suggestion

10 years agoFix bug #68335: rmdir doesnt work with file:// stream wrapper
mcq8 [Sat, 1 Nov 2014 03:32:18 +0000 (04:32 +0100)]
Fix bug #68335: rmdir doesnt work with file:// stream wrapper

10 years agoMerge branch 'PHP-5.6'
Stanislav Malyshev [Mon, 1 Dec 2014 00:13:14 +0000 (16:13 -0800)]
Merge branch 'PHP-5.6'

* PHP-5.6:
  fix tests for systems with no de_DE locales

10 years agofix tests for systems with no de_DE locales
Stanislav Malyshev [Mon, 1 Dec 2014 00:10:51 +0000 (16:10 -0800)]
fix tests for systems with no de_DE locales

10 years agoMerge branch 'PHP-5.6'
Remi Collet [Sat, 29 Nov 2014 15:52:25 +0000 (16:52 +0100)]
Merge branch 'PHP-5.6'

* PHP-5.6:
  Move chown to fpm_unix_set_socket_premissions()

10 years agoMove chown to fpm_unix_set_socket_premissions()
Remi Collet [Sat, 29 Nov 2014 15:49:08 +0000 (16:49 +0100)]
Move chown to fpm_unix_set_socket_premissions()

For consistency, with fpm_unix_resolve_socket_premissions.
Compute + Use in the same source file.
To make easier future enhancement.

Also check chdir output to fix a build warning.

10 years agoUpdated NEWS
Julien Pauli [Sat, 29 Nov 2014 13:51:18 +0000 (14:51 +0100)]
Updated NEWS

10 years agoMerge branch 'PHP-5.6'
Julien Pauli [Sat, 29 Nov 2014 13:42:07 +0000 (14:42 +0100)]
Merge branch 'PHP-5.6'

* PHP-5.6:
  Updated NEWS
  Updated NEWS
  Fix #60509, pcntl_signal doesn't decrease ref-count of old handler

10 years agoUpdated NEWS
Julien Pauli [Sat, 29 Nov 2014 13:41:48 +0000 (14:41 +0100)]
Updated NEWS

10 years agoMerge branch 'PHP-5.5' into PHP-5.6
Julien Pauli [Sat, 29 Nov 2014 13:41:06 +0000 (14:41 +0100)]
Merge branch 'PHP-5.5' into PHP-5.6

* PHP-5.5:
  Updated NEWS
  Fix #60509, pcntl_signal doesn't decrease ref-count of old handler

10 years agoUpdated NEWS
Julien Pauli [Sat, 29 Nov 2014 13:40:47 +0000 (14:40 +0100)]
Updated NEWS

10 years agoFix #60509, pcntl_signal doesn't decrease ref-count of old handler
Julien Pauli [Sat, 29 Nov 2014 13:39:19 +0000 (14:39 +0100)]
Fix #60509, pcntl_signal doesn't decrease ref-count of old handler

10 years agoUpdated NEWS
Julien Pauli [Sat, 29 Nov 2014 11:15:17 +0000 (12:15 +0100)]
Updated NEWS

10 years agoMerge branch 'PHP-5.6'
Julien Pauli [Sat, 29 Nov 2014 11:14:37 +0000 (12:14 +0100)]
Merge branch 'PHP-5.6'

* PHP-5.6:
  Updated NEWS
  Updated NEWS
  SPL: Fix for bug 66405 RecursiveDirectoryIterator with CURRENT_AS_PATHNAME

Conflicts:
ext/spl/spl_directory.c

10 years agoUpdated NEWS
Julien Pauli [Sat, 29 Nov 2014 11:11:27 +0000 (12:11 +0100)]
Updated NEWS

10 years agoMerge branch 'PHP-5.5' into PHP-5.6
Julien Pauli [Sat, 29 Nov 2014 11:11:06 +0000 (12:11 +0100)]
Merge branch 'PHP-5.5' into PHP-5.6

* PHP-5.5:
  Updated NEWS
  SPL: Fix for bug 66405 RecursiveDirectoryIterator with CURRENT_AS_PATHNAME

10 years agoUpdated NEWS
Julien Pauli [Sat, 29 Nov 2014 11:10:54 +0000 (12:10 +0100)]
Updated NEWS

10 years agoSPL: Fix for bug 66405 RecursiveDirectoryIterator with CURRENT_AS_PATHNAME
Paul Garvin [Wed, 7 May 2014 04:17:45 +0000 (00:17 -0400)]
SPL: Fix for bug 66405 RecursiveDirectoryIterator with CURRENT_AS_PATHNAME

Currently when you use RecursiveDirectoryIterator with the
CURRENT_AS_PATHNAME flag PHP will throw an UnexpectedValueException with
message 'Objects returned by RecursiveIterator::getChildren() must implement
RecursiveIterator'.This happend because getChildren() will return the
current directory name instead of an Iterator (or subclass of) as required
by the RecursiveIterator interface.

This commit changes getChildren() to return annother
RecursiveDirectoryIterator but current() still returns the path name when
CURRENT_AS_PATHNAME is used. A PHPT test case (bug66405.phpt) that
reproduces the bug is included.

This fix was originally against the PHP-5.4 branch, but it was not merged
before 5.4 reached EOL. I am hoping to get it applied to 5.5, 5.6, and
master.

10 years agoMerge branch 'PHP-5.6'
Julien Pauli [Sat, 29 Nov 2014 10:39:51 +0000 (11:39 +0100)]
Merge branch 'PHP-5.6'

* PHP-5.6:
  PHP_MAJOR_VERSION == 5 && PHP_MINOR_VERSION > 1

10 years agoMerge branch 'PHP-5.5' into PHP-5.6
Julien Pauli [Sat, 29 Nov 2014 10:39:37 +0000 (11:39 +0100)]
Merge branch 'PHP-5.5' into PHP-5.6

* PHP-5.5:
  PHP_MAJOR_VERSION == 5 && PHP_MINOR_VERSION > 1

10 years agoMerge branch 'pull-request/656' into PHP-5.5
Julien Pauli [Sat, 29 Nov 2014 10:38:57 +0000 (11:38 +0100)]
Merge branch 'pull-request/656' into PHP-5.5

* pull-request/656:
  PHP_MAJOR_VERSION == 5 && PHP_MINOR_VERSION > 1