php
9 years agoFixed bug #70330 (Segmentation Fault with multiple "curl_copy_handle")
Xinchen Hui [Sun, 23 Aug 2015 05:01:47 +0000 (13:01 +0800)]
Fixed bug #70330 (Segmentation Fault with multiple "curl_copy_handle")

9 years agoRe-Fixed bug #70321 (Magic getter breaks reference to array property)
Xinchen Hui [Sun, 23 Aug 2015 03:40:49 +0000 (11:40 +0800)]
Re-Fixed bug #70321 (Magic getter breaks reference to array property)

9 years agoRevert "Fixed bug #70321 (Magic getter breaks reference to array property)"
Xinchen Hui [Sun, 23 Aug 2015 02:40:28 +0000 (10:40 +0800)]
Revert "Fixed bug #70321 (Magic getter breaks reference to array property)"

This reverts commit 66754585f889e56ddaf3442fd4ac7b9adf93417b.

9 years agoFixed bug #70321 (Magic getter breaks reference to array property)
Bob Weinand [Sat, 22 Aug 2015 22:54:59 +0000 (23:54 +0100)]
Fixed bug #70321 (Magic getter breaks reference to array property)
Note that the UNEXPECTED(zv) was turned into EXPECTED(zv), as zv is mostly set in the context where it is used and usually anyway is checked first with OP*_TYPE == IS_VAR; or maybe just completely remove that (UN)EXPECTED at this place...

9 years agoFix issues with phpdbg SIGINT handler
Bob Weinand [Fri, 21 Aug 2015 22:36:31 +0000 (23:36 +0100)]
Fix issues with phpdbg SIGINT handler
Also fix valgrind warnings in allocator when not using mmap()ed memory

9 years agomake this test Windows only
Anatol Belski [Fri, 21 Aug 2015 17:47:17 +0000 (19:47 +0200)]
make this test Windows only

as we're not in control of the libxml builds everywhere

9 years agohere string isn't supported by every shell
Anatol Belski [Fri, 21 Aug 2015 17:11:53 +0000 (19:11 +0200)]
here string isn't supported by every shell

9 years ago$() isn't supported on every shell
Ferenc Kovacs [Fri, 21 Aug 2015 16:27:03 +0000 (18:27 +0200)]
$() isn't supported on every shell

9 years agoMerge branch 'PHP-5.6'
Anatol Belski [Fri, 21 Aug 2015 13:48:03 +0000 (15:48 +0200)]
Merge branch 'PHP-5.6'

* PHP-5.6:
  fix tests
  fix dir separator
  fix dir separator in test
  fix dir separator in test

9 years agofix tests
Anatol Belski [Fri, 21 Aug 2015 13:13:39 +0000 (15:13 +0200)]
fix tests

9 years agofix dir separator
Anatol Belski [Fri, 21 Aug 2015 12:08:33 +0000 (14:08 +0200)]
fix dir separator

9 years agofix dir separator in test
Anatol Belski [Fri, 21 Aug 2015 12:05:58 +0000 (14:05 +0200)]
fix dir separator in test

9 years agofix dir separator in test
Anatol Belski [Fri, 21 Aug 2015 12:04:08 +0000 (14:04 +0200)]
fix dir separator in test

9 years agounnecessary 1 byte allocted
Xinchen Hui [Fri, 21 Aug 2015 10:28:02 +0000 (18:28 +0800)]
unnecessary 1 byte allocted

9 years agoadd test for bug 70309
Anatol Belski [Fri, 21 Aug 2015 09:47:00 +0000 (11:47 +0200)]
add test for bug 70309

9 years agonote to UPGRADING
Anatol Belski [Thu, 20 Aug 2015 16:48:52 +0000 (18:48 +0200)]
note to UPGRADING

9 years agoFix invalid range error by gawk in order_by_dek.awk
Bob Weinand [Tue, 4 Nov 2014 12:17:35 +0000 (13:17 +0100)]
Fix invalid range error by gawk in order_by_dek.awk

9 years agoRemove assumption that extensions are in ext/ext-name
Bob Weinand [Sun, 2 Nov 2014 22:25:49 +0000 (23:25 +0100)]
Remove assumption that extensions are in ext/ext-name
Fixes also a weird ln (symlink) hack for phpdbg

9 years agoMove __STDC_CONSTANT_MACROS/__STDC_LIMIT_MACROS defs earlier
Sara Golemon [Thu, 20 Aug 2015 21:40:08 +0000 (14:40 -0700)]
Move __STDC_CONSTANT_MACROS/__STDC_LIMIT_MACROS defs earlier

These defines should apply to windows as well,
so move them out of the non-windows specific section
and always define them for C++ compilations.

9 years agoFix bogus traces with ReflectionGenerator::getTrace()
Bob Weinand [Thu, 20 Aug 2015 21:24:28 +0000 (23:24 +0200)]
Fix bogus traces with ReflectionGenerator::getTrace()

9 years agoEnable definitions of stdint.h limits/constants used by Zend/zend_long.h
Sara Golemon [Thu, 20 Aug 2015 18:09:43 +0000 (11:09 -0700)]
Enable definitions of stdint.h limits/constants used by Zend/zend_long.h

Define __STDC_LIMITS_MACROS and __STDC_CONSTANT_MACROS
prior to including stdint.h for the first time so that it
defines the INT64_MAX / INT64_C / etc... macros we use elsewhere
when building for C++ (C already gets these).

9 years agoAdd overflow check for openssl_pkcs12_read
Jakub Zelenka [Thu, 20 Aug 2015 18:29:54 +0000 (19:29 +0100)]
Add overflow check for openssl_pkcs12_read

9 years agoone new line too much
Anatol Belski [Thu, 20 Aug 2015 09:35:46 +0000 (11:35 +0200)]
one new line too much

9 years agofork test
Anatol Belski [Wed, 19 Aug 2015 23:07:57 +0000 (01:07 +0200)]
fork test

9 years agoRemove path from test
Nikita Popov [Thu, 20 Aug 2015 10:58:36 +0000 (12:58 +0200)]
Remove path from test

9 years agoDon't allow leading \ in group use decl list
Nikita Popov [Thu, 20 Aug 2015 09:47:43 +0000 (11:47 +0200)]
Don't allow leading \ in group use decl list

We recently added support for "use \Foo\{Bar}". This commit drops
support for the reverse "use Foo\{\Bar}". Those two got mixed up
in the initial implementation.

9 years agoMerge branch 'PHP-5.6'
Ferenc Kovacs [Thu, 20 Aug 2015 07:57:49 +0000 (09:57 +0200)]
Merge branch 'PHP-5.6'

* PHP-5.6:
  5.6.14 next

9 years ago5.6.14 next
Ferenc Kovacs [Thu, 20 Aug 2015 07:56:47 +0000 (09:56 +0200)]
5.6.14 next

9 years agoFixed bug #70308 (PDO::ATTR_PREFETCH is ignored)
Christopher Jones [Thu, 20 Aug 2015 04:09:30 +0000 (14:09 +1000)]
Fixed bug #70308 (PDO::ATTR_PREFETCH is ignored)

9 years agoMerge branch 'master' of https://git.php.net/repository/php-src
Christopher Jones [Thu, 20 Aug 2015 03:57:39 +0000 (13:57 +1000)]
Merge branch 'master' of https://git.php.net/repository/php-src

9 years agoMerge branch 'pull-request/1471'
Christoph M. Becker [Wed, 19 Aug 2015 20:27:39 +0000 (22:27 +0200)]
Merge branch 'pull-request/1471'

* pull-request/1471:
  add test for php_enchant_broker_free()

9 years agoadd test for php_enchant_broker_free()
marcosptf [Sat, 15 Aug 2015 10:27:57 +0000 (07:27 -0300)]
add test for php_enchant_broker_free()

9 years agoMerge branch 'pull-request/1472'
Christoph M. Becker [Wed, 19 Aug 2015 20:16:42 +0000 (22:16 +0200)]
Merge branch 'pull-request/1472'

* pull-request/1472:
  This is a new test for enchant_broker_free_dict(). This function never was covered by .phpt

9 years agoThis is a new test for enchant_broker_free_dict().
marcosptf [Sun, 16 Aug 2015 17:45:14 +0000 (14:45 -0300)]
This is a new test for enchant_broker_free_dict().
This function never was covered by .phpt

9 years agoMerge branch 'pull-request/1475'
Christoph M. Becker [Wed, 19 Aug 2015 19:59:40 +0000 (21:59 +0200)]
Merge branch 'pull-request/1475'

* pull-request/1475:
  testing enchant_broker_(g|s)et_dict_path

9 years agotesting enchant_broker_(g|s)et_dict_path
marcosptf [Mon, 17 Aug 2015 23:22:37 +0000 (20:22 -0300)]
testing enchant_broker_(g|s)et_dict_path

9 years agoAdd overflow checks for openssl_pkey_* functions
Jakub Zelenka [Wed, 19 Aug 2015 19:10:14 +0000 (20:10 +0100)]
Add overflow checks for openssl_pkey_* functions

9 years agoMove overflow checks in openssl_pbkdf2
Jakub Zelenka [Wed, 19 Aug 2015 19:06:58 +0000 (20:06 +0100)]
Move overflow checks in openssl_pbkdf2

9 years agoRevert "fix occasional fail in zip_close when target arc exists"
Anatol Belski [Wed, 19 Aug 2015 16:54:23 +0000 (18:54 +0200)]
Revert "fix occasional fail in zip_close when target arc exists"

This reverts commit ed78d59a1dc9d84cf6ce77fbad94ab7e2f860cb5.

9 years agofix config.w32 to include suitable lib files
Anatol Belski [Wed, 19 Aug 2015 16:52:33 +0000 (18:52 +0200)]
fix config.w32 to include suitable lib files

9 years agoFixed typo
Dmitry Stogov [Wed, 19 Aug 2015 16:15:30 +0000 (19:15 +0300)]
Fixed typo

9 years agoupdated NEWS
Christoph M. Becker [Wed, 19 Aug 2015 14:35:17 +0000 (16:35 +0200)]
updated NEWS

9 years agoMerge branch 'PHP-5.6'
Christoph M. Becker [Wed, 19 Aug 2015 14:33:40 +0000 (16:33 +0200)]
Merge branch 'PHP-5.6'

* PHP-5.6:
  Fix #70303: Incorrect constructor reflection for ArrayObject

9 years agoupdated NEWS
Christoph M. Becker [Wed, 19 Aug 2015 14:25:59 +0000 (16:25 +0200)]
updated NEWS

9 years agoFix #70303: Incorrect constructor reflection for ArrayObject
Christoph M. Becker [Wed, 19 Aug 2015 14:22:04 +0000 (16:22 +0200)]
Fix #70303: Incorrect constructor reflection for ArrayObject

The first parameter of ArrayObject::__construct() is optional. Reflection
should reflect this.

9 years agoimprove error message
Anatol Belski [Wed, 19 Aug 2015 13:21:56 +0000 (15:21 +0200)]
improve error message

9 years agofix occasional fail in zip_close when target arc exists
Anatol Belski [Wed, 19 Aug 2015 13:19:44 +0000 (15:19 +0200)]
fix occasional fail in zip_close when target arc exists

9 years agoFixed typo in proper place
Dmitry Stogov [Wed, 19 Aug 2015 12:45:39 +0000 (15:45 +0300)]
Fixed typo in proper place

9 years agoFixed typo
Dmitry Stogov [Wed, 19 Aug 2015 12:15:17 +0000 (15:15 +0300)]
Fixed typo

9 years agoMark error and exception functions as "cold" (Matt's idea)
Dmitry Stogov [Wed, 19 Aug 2015 11:40:56 +0000 (14:40 +0300)]
Mark error and exception functions as "cold" (Matt's idea)

9 years agoMerge branch 'PHP-5.6'
Xinchen Hui [Wed, 19 Aug 2015 10:41:46 +0000 (18:41 +0800)]
Merge branch 'PHP-5.6'

9 years agoFixed bug #70290 (Null pointer deref (segfault) in spl_autoload via ob_start)
Xinchen Hui [Wed, 19 Aug 2015 10:41:28 +0000 (18:41 +0800)]
Fixed bug #70290 (Null pointer deref (segfault) in spl_autoload via ob_start)

9 years agoRemoved deprecated comments and added expectations (overloaded properties and array...
Dmitry Stogov [Wed, 19 Aug 2015 09:21:14 +0000 (12:21 +0300)]
Removed deprecated comments and added expectations (overloaded properties and array elements are less frequently used than regular ones)

9 years agoupdate NEWS
Anatol Belski [Wed, 19 Aug 2015 09:07:40 +0000 (11:07 +0200)]
update NEWS

9 years agoFix bug #70145 From field incorrectly parsed from headers
Anatol Belski [Wed, 19 Aug 2015 09:05:35 +0000 (11:05 +0200)]
Fix bug #70145 From field incorrectly parsed from headers

9 years agoadded /guard:cf to release builds
Anatol Belski [Wed, 19 Aug 2015 08:56:43 +0000 (10:56 +0200)]
added /guard:cf to release builds

9 years agouse the bare tarball filename for the stub, no path elements
Anatol Belski [Wed, 19 Aug 2015 08:51:15 +0000 (10:51 +0200)]
use the bare tarball filename for the stub, no path elements

9 years agoUpdate NEWs
Xinchen Hui [Wed, 19 Aug 2015 08:34:26 +0000 (16:34 +0800)]
Update NEWs

9 years agoMerge branch 'master' of https://github.com/marcioAlmada/php-src
Xinchen Hui [Wed, 19 Aug 2015 08:30:28 +0000 (16:30 +0800)]
Merge branch 'master' of https://github.com/marcioAlmada/php-src

9 years agoThis bug is already fixed, but it's better to have a bug entry for the record
Xinchen Hui [Wed, 19 Aug 2015 02:47:08 +0000 (10:47 +0800)]
This bug is already fixed, but it's better to have a bug entry for the record

9 years agoResolve build warnings. Bump ver. Better range check. Fix diffs
Christopher Jones [Wed, 19 Aug 2015 00:42:53 +0000 (10:42 +1000)]
Resolve build warnings. Bump ver. Better range check. Fix diffs

9 years agoFixed bug #70295 (Segmentation fault with setrawcookie)
Bob Weinand [Tue, 18 Aug 2015 23:33:19 +0000 (01:33 +0200)]
Fixed bug #70295 (Segmentation fault with setrawcookie)

9 years agofixes a syntactical inconsistency with group use and leading `\`
Márcio Almada [Tue, 18 Aug 2015 22:16:06 +0000 (19:16 -0300)]
fixes a syntactical inconsistency with group use and leading `\`

discussion: http://news.php.net/php.internals/87774

9 years agocorrect NEWS
Anatol Belski [Tue, 18 Aug 2015 21:27:49 +0000 (23:27 +0200)]
correct NEWS

9 years agoMerge branch 'PHP-5.6'
Christoph M. Becker [Tue, 18 Aug 2015 19:26:09 +0000 (21:26 +0200)]
Merge branch 'PHP-5.6'

* PHP-5.6:
  Fix #67604: The built windows documention refers to nonexistent dll

9 years agoFix #67604: The built windows documention refers to nonexistent dll
Christoph M. Becker [Tue, 18 Aug 2015 19:21:28 +0000 (21:21 +0200)]
Fix #67604: The built windows documention refers to nonexistent dll

Since quite a while the Windows builds ship with php5apache2_4.dll, but not
with other server modules. We fix some out-dated info in install.txt.

9 years agoUse macros for openssl overflow checks
Jakub Zelenka [Tue, 18 Aug 2015 19:17:04 +0000 (20:17 +0100)]
Use macros for openssl overflow checks

It reduces code duplications

9 years agoFix possible overflow in openssl_pbkdf2
Jakub Zelenka [Tue, 18 Aug 2015 18:46:59 +0000 (19:46 +0100)]
Fix possible overflow in openssl_pbkdf2

Especially key_length would lead to the crash if it overflowed
to the negative value.

9 years agoNEWS for next
Anatol Belski [Tue, 18 Aug 2015 18:31:37 +0000 (20:31 +0200)]
NEWS for next

9 years agoFix mangled property names on anon classes
Joe Watkins [Tue, 18 Aug 2015 15:37:38 +0000 (16:37 +0100)]
Fix mangled property names on anon classes

9 years agoMerge branch 'PHP-5.6'
Côme Bernigaud [Tue, 18 Aug 2015 15:26:46 +0000 (17:26 +0200)]
Merge branch 'PHP-5.6'

* PHP-5.6:
  Patch from Rainer Jung to provide Solaris LDAP support

Conflicts:
ext/ldap/ldap.c

9 years agoMerge branch 'pull-request/1477' into PHP-5.6
Côme Bernigaud [Tue, 18 Aug 2015 15:17:28 +0000 (17:17 +0200)]
Merge branch 'pull-request/1477' into PHP-5.6

* pull-request/1477:
  Patch from Rainer Jung to provide Solaris LDAP support

9 years agoPatch from Rainer Jung to provide Solaris LDAP support
Côme Bernigaud [Tue, 18 Aug 2015 14:52:44 +0000 (16:52 +0200)]
Patch from Rainer Jung to provide Solaris LDAP support

9 years agoMerge branch 'patch-gdbinit' of https://github.com/adsr/php-src
Xinchen Hui [Tue, 18 Aug 2015 14:51:09 +0000 (22:51 +0800)]
Merge branch 'patch-gdbinit' of https://github.com/adsr/php-src

9 years agoFixed memleak in Zend/tests/bug39297
Xinchen Hui [Tue, 18 Aug 2015 13:46:02 +0000 (21:46 +0800)]
Fixed memleak in Zend/tests/bug39297

9 years agoFixed bug #70288 (Apache crash related to ZEND_SEND_REF)
Xinchen Hui [Tue, 18 Aug 2015 13:45:19 +0000 (21:45 +0800)]
Fixed bug #70288 (Apache crash related to ZEND_SEND_REF)

9 years agoFixed bug #70293 (Crash with specific assertions and zend.assertions=-1)
Bob Weinand [Tue, 18 Aug 2015 13:01:24 +0000 (15:01 +0200)]
Fixed bug #70293 (Crash with specific assertions and zend.assertions=-1)

9 years agoRemoved unused code
Julien Pauli [Tue, 18 Aug 2015 12:32:56 +0000 (14:32 +0200)]
Removed unused code

9 years agoWoops, accidentally made TS build fail...
Bob Weinand [Tue, 18 Aug 2015 12:04:48 +0000 (14:04 +0200)]
Woops, accidentally made TS build fail...

9 years agoRevert fix for nicer truncation on log_errors_max_len
Bob Weinand [Tue, 18 Aug 2015 11:59:37 +0000 (13:59 +0200)]
Revert fix for nicer truncation on log_errors_max_len

9 years agoFix #70289: Different sort in php7 (and hhvm) compared to php5
Christoph M. Becker [Tue, 18 Aug 2015 11:44:14 +0000 (13:44 +0200)]
Fix #70289: Different sort in php7 (and hhvm) compared to php5

We add a respective note to UPGRADING. Furthermore, as renaming of zend_qsort()
and the new zend_insert_sort() are irrelevant for user-land, we move this
info to UPGRADING.INTERNALS.

9 years agoLost this entry while merging
Xinchen Hui [Tue, 18 Aug 2015 11:12:52 +0000 (19:12 +0800)]
Lost this entry while merging

9 years agoMerge branch 'master' of git.php.net:php-src
Xinchen Hui [Tue, 18 Aug 2015 11:07:26 +0000 (19:07 +0800)]
Merge branch 'master' of git.php.net:php-src

9 years agoBetter fix for exception traces truncation with anon classes
Bob Weinand [Tue, 18 Aug 2015 10:48:06 +0000 (12:48 +0200)]
Better fix for exception traces truncation with anon classes

9 years agoFixed bug #70272 (Segfault in pdo_mysql)
Xinchen Hui [Tue, 18 Aug 2015 10:33:07 +0000 (18:33 +0800)]
Fixed bug #70272 (Segfault in pdo_mysql)

9 years agoImproved fix for bug #70262
Xinchen Hui [Tue, 18 Aug 2015 10:07:31 +0000 (18:07 +0800)]
Improved fix for bug #70262

9 years agoMerge branch 'master' of git.php.net:php-src
Xinchen Hui [Tue, 18 Aug 2015 10:07:25 +0000 (18:07 +0800)]
Merge branch 'master' of git.php.net:php-src

9 years agoIt should not be skip
Xinchen Hui [Tue, 18 Aug 2015 10:04:26 +0000 (18:04 +0800)]
It should not be skip

9 years agoSkip the test with valgrind
Xinchen Hui [Tue, 18 Aug 2015 10:03:34 +0000 (18:03 +0800)]
Skip the test with valgrind

9 years agoRevert "Do not truncate exception traces upon anon class name"
Dmitry Stogov [Tue, 18 Aug 2015 09:03:04 +0000 (12:03 +0300)]
Revert "Do not truncate exception traces upon anon class name"

This reverts commit b0c77fb80c9bceac37ec266f2d5a20131755c44a.

9 years agofix inheritance of internal interfaces with constants
Michael Wallner [Tue, 18 Aug 2015 06:19:59 +0000 (08:19 +0200)]
fix inheritance of internal interfaces with constants

9 years agofix printzv (refcount)
Michael Wallner [Tue, 18 Aug 2015 06:18:57 +0000 (08:18 +0200)]
fix printzv (refcount)

9 years agoDo not truncate exception traces upon anon class name
Bob Weinand [Tue, 18 Aug 2015 01:27:56 +0000 (03:27 +0200)]
Do not truncate exception traces upon anon class name

9 years agofix test
Anatol Belski [Mon, 17 Aug 2015 21:11:02 +0000 (23:11 +0200)]
fix test

This fail has nothing together with any changes in run-tests.php
Using run-tests.php from the 5.5 branch brings the same result. So
merely it is about how PHP7 handles and buffers errors.

9 years agoTSRM_TLS should be usable in NTS build
Anatol Belski [Mon, 17 Aug 2015 09:34:33 +0000 (11:34 +0200)]
TSRM_TLS should be usable in NTS build

9 years agono need to skip this test if no dictionaries are installed
Christoph M. Becker [Mon, 17 Aug 2015 19:43:28 +0000 (21:43 +0200)]
no need to skip this test if no dictionaries are installed

9 years agoMerge branch 'pull-request/1473'
Christoph M. Becker [Mon, 17 Aug 2015 19:42:42 +0000 (21:42 +0200)]
Merge branch 'pull-request/1473'

* pull-request/1473:
  new test for enchant pwl file

9 years agonew test for enchant pwl file
marcosptf [Sun, 16 Aug 2015 18:52:55 +0000 (15:52 -0300)]
new test for enchant pwl file

9 years agoCheck and use correct signature_len type for EVP_VerifyFinal
Jakub Zelenka [Mon, 17 Aug 2015 17:43:02 +0000 (18:43 +0100)]
Check and use correct signature_len type for EVP_VerifyFinal

9 years agoupdated NEWS
Christoph M. Becker [Mon, 17 Aug 2015 17:35:10 +0000 (19:35 +0200)]
updated NEWS