]> granicus.if.org Git - php/log
php
8 years agoadd 'e' flag for fopen() to enable CLOEXEC
Evgeniy Makhrov [Fri, 2 Oct 2015 19:51:58 +0000 (22:51 +0300)]
add 'e' flag for fopen() to enable CLOEXEC

8 years agoMerge branch 'pull-request/2283' into PHP-7.0
Joe Watkins [Sat, 7 Jan 2017 10:14:36 +0000 (10:14 +0000)]
Merge branch 'pull-request/2283' into PHP-7.0

* pull-request/2283:
  Fix memleaks from #1755 and some pre-existing ones

8 years agoRemove superfluous variable reinit
Leigh [Sat, 7 Jan 2017 09:43:05 +0000 (09:43 +0000)]
Remove superfluous variable reinit

8 years agoMerge branch '2211' into PHP-7.0
Joe Watkins [Sat, 7 Jan 2017 08:07:17 +0000 (08:07 +0000)]
Merge branch '2211' into PHP-7.0

* pull-request/2211:
  PR #2211 don't supress warnings in DOM tests

8 years agoPR #2211 don't supress warnings in tests
Craig Duncan [Sun, 20 Nov 2016 16:43:46 +0000 (16:43 +0000)]
PR #2211 don't supress warnings in tests

8 years agoMerge branch 'pull-request/2284' into PHP-7.0
Joe Watkins [Sat, 7 Jan 2017 07:10:23 +0000 (07:10 +0000)]
Merge branch 'pull-request/2284' into PHP-7.0

* pull-request/2284:
  Fixes for session and fpm tests in PHP7.0 branch

8 years agoFixes for session and fpm tests in PHP7.0 branch
Mitch Hagstrand [Sat, 7 Jan 2017 03:55:31 +0000 (19:55 -0800)]
Fixes for session and fpm tests in PHP7.0 branch

1. Increased the timeout on sapi/fpm tests to match the cli server
2. Disabled session GC in session_set_save_handler_basic.phpt
3. Fixed GC in save_handler.inc to delete files based on age

8 years ago/guard is also a security flag
Anatol Belski [Sat, 7 Jan 2017 01:25:00 +0000 (02:25 +0100)]
/guard is also a security flag

8 years agoRevert "Test request47456.phpt for PR 1303" on PHP-7.0 and PHP-7.1
Mitch Hagstrand [Fri, 6 Jan 2017 21:58:50 +0000 (13:58 -0800)]
Revert "Test request47456.phpt for PR 1303" on PHP-7.0 and PHP-7.1

This reverts commit e55e93a1e335bec39b7edb28f0b8470fa974f4e3.
This change should only apply to master. Not PHP-7.0 or PHP-7.1

8 years agofix typo
Anatol Belski [Fri, 6 Jan 2017 17:53:30 +0000 (18:53 +0100)]
fix typo

8 years agoupdate NEWS and UPGRADING
Anatol Belski [Fri, 6 Jan 2017 17:32:33 +0000 (18:32 +0100)]
update NEWS and UPGRADING

8 years agoReturn integer field types as native integers instead of strings
Dorin Marcoci [Mon, 2 Jan 2017 14:46:09 +0000 (16:46 +0200)]
Return integer field types as native integers instead of strings

Use another define for better compatibility

Test case for #72583 Feature. Small optimisations.

Adjust conditional directives according to coding standards

Add more compatibility for "end of line" on multiple environements

Updated execute.phpt test after switching to integer mapping

8 years agoTest request47456.phpt for PR 1303
Mitch Hagstrand [Fri, 6 Jan 2017 08:27:06 +0000 (00:27 -0800)]
Test request47456.phpt for PR 1303

After merging PR 1303 unmatched subpatterns are set to NULL

8 years agofix build broken by #2124
Joe Watkins [Fri, 6 Jan 2017 16:18:24 +0000 (16:18 +0000)]
fix build broken by #2124

8 years agoSome commentary, change free method
Leigh [Fri, 6 Jan 2017 15:49:15 +0000 (15:49 +0000)]
Some commentary, change free method

8 years agoConditionally free depending on how assignment happened
Leigh [Fri, 6 Jan 2017 15:24:37 +0000 (15:24 +0000)]
Conditionally free depending on how assignment happened

8 years agoFix memleaks from #1755 and some pre-existing ones
Leigh [Fri, 6 Jan 2017 14:58:54 +0000 (14:58 +0000)]
Fix memleaks from #1755 and some pre-existing ones

8 years agoFix #70103: Fix bug 70103 when ZTS is enabled
Mitch Hagstrand [Fri, 6 Jan 2017 10:14:12 +0000 (02:14 -0800)]
Fix #70103: Fix bug 70103 when ZTS is enabled

Used snprintf to copy the basename string before it is freed

8 years agoMerge branch 'pull-request/1809'
Joe Watkins [Fri, 6 Jan 2017 08:04:49 +0000 (08:04 +0000)]
Merge branch 'pull-request/1809'

* pull-request/1809:
  test for function curl_multi_info_read();

8 years agoMerge branch 'pull-request/1755'
Joe Watkins [Fri, 6 Jan 2017 07:40:20 +0000 (07:40 +0000)]
Merge branch 'pull-request/1755'

* pull-request/1755:
  Fix bug #71519 Add 'serialNumberHex' variable to openssl_x509_parse

8 years agoadd stream_socket_sendto test from PR #1804
Joe Watkins [Fri, 6 Jan 2017 07:27:31 +0000 (07:27 +0000)]
add stream_socket_sendto test from PR #1804

8 years agoMerge branch 'pull-request/1588' into PHP-7.0
Joe Watkins [Fri, 6 Jan 2017 06:55:09 +0000 (06:55 +0000)]
Merge branch 'pull-request/1588' into PHP-7.0

* pull-request/1588:
  Fixed #69442 closing of fd incorrect when PTS enabled

8 years agoMerge branch 'pull-request/1360' into PHP-7.0
Joe Watkins [Fri, 6 Jan 2017 06:02:36 +0000 (06:02 +0000)]
Merge branch 'pull-request/1360' into PHP-7.0

* pull-request/1360:
  Fixed bug #69582 session not readable by root in CLI
  news entry for PR #1360

8 years agoMerge branch 'pull-request/1311' into PHP-7.0
Joe Watkins [Fri, 6 Jan 2017 05:54:42 +0000 (05:54 +0000)]
Merge branch 'pull-request/1311' into PHP-7.0

* pull-request/1311:
  fix inappropriate warning in FPM log

8 years agoMerge branch 'pull-request/1430' into PHP-7.0
Joe Watkins [Fri, 6 Jan 2017 05:38:47 +0000 (05:38 +0000)]
Merge branch 'pull-request/1430' into PHP-7.0

* pull-request/1430:
  Fix #70103: ZipArchive::addGlob ignores remove_all_path option
  news entry for PR 1430

8 years agoMerge branch 'PHP-7.0' of git.php.net:/php-src into PHP-7.0
Joe Watkins [Fri, 6 Jan 2017 05:32:55 +0000 (05:32 +0000)]
Merge branch 'PHP-7.0' of git.php.net:/php-src into PHP-7.0

* 'PHP-7.0' of git.php.net:/php-src:
  add skip when json not loaded

8 years agoMerge branch 'realpath_cache_size_update' into PHP-7.0
Joe Watkins [Fri, 6 Jan 2017 05:25:49 +0000 (05:25 +0000)]
Merge branch 'realpath_cache_size_update' into PHP-7.0

* realpath_cache_size_update:
  Increase realpath_cache_size default value
  add UPGRADING note regarding realpath_cache_size

8 years agoMerge branch 'PHP-5.6' into PHP-7.0
Remi Collet [Fri, 6 Jan 2017 05:27:08 +0000 (06:27 +0100)]
Merge branch 'PHP-5.6' into PHP-7.0

* PHP-5.6:
  add skip when json not loaded

8 years agoUpdate php.ini-development
Markus Staab [Thu, 5 Jan 2017 15:12:17 +0000 (16:12 +0100)]
Update php.ini-development

8 years agoUpdate php.ini-production
Markus Staab [Thu, 5 Jan 2017 15:11:30 +0000 (16:11 +0100)]
Update php.ini-production

8 years agoupdated default per proposal
Markus Staab [Thu, 5 Jan 2017 09:18:48 +0000 (10:18 +0100)]
updated default per proposal

TODO: adjust php.ini defaults

8 years agoIncrease realpath_cache_size default value
Markus Staab [Tue, 3 Jan 2017 08:25:11 +0000 (09:25 +0100)]
Increase realpath_cache_size default value

8 years agoadd skip when json not loaded
Remi Collet [Fri, 6 Jan 2017 05:23:59 +0000 (06:23 +0100)]
add skip when json not loaded

8 years agofix deps dir for test data preparations
Anatol Belski [Fri, 6 Jan 2017 01:32:09 +0000 (02:32 +0100)]
fix deps dir for test data preparations

8 years agoMerge branch 'PHP-5.6' into PHP-7.0
Ferenc Kovacs [Fri, 6 Jan 2017 00:48:24 +0000 (01:48 +0100)]
Merge branch 'PHP-5.6' into PHP-7.0

8 years ago5.6.31 is next
Ferenc Kovacs [Fri, 6 Jan 2017 00:43:11 +0000 (01:43 +0100)]
5.6.31 is next

8 years agodon't use separate deps for release branches
Anatol Belski [Fri, 6 Jan 2017 00:24:41 +0000 (01:24 +0100)]
don't use separate deps for release branches

8 years agoMerge branch 'pull-request/2278' into PHP-7.0
Christoph M. Becker [Thu, 5 Jan 2017 17:45:16 +0000 (18:45 +0100)]
Merge branch 'pull-request/2278' into PHP-7.0

* pull-request/2278:
  Fix #70417: PharData::compress() doesn't close temp file

8 years agoFix #70417: PharData::compress() doesn't close temp file
Christoph M. Becker [Thu, 3 Sep 2015 14:37:29 +0000 (16:37 +0200)]
Fix #70417: PharData::compress() doesn't close temp file

According to the comment, it has not been deemed necessary to close compressed
files. However, we don't want to keep unclosed file handles to save ressources.
So we're also closing compressed archives, if they're not aliased.

8 years agoRevert "Merge branch 'bugfix_timeout_61471' of https://github.com/axot/php-src into...
Anatol Belski [Thu, 5 Jan 2017 12:59:01 +0000 (13:59 +0100)]
Revert "Merge branch 'bugfix_timeout_61471' of https://github.com/axot/php-src into PHP-7.0"

This reverts commit a8931df672bb173ef81c10e4fc2a5de23789c935, reversing
changes made to f2f35a2b27d0074ab015b8a37d6563eec74147d5.

8 years agoMerge branch 'PHP-5.6' into PHP-7.0
Nikita Popov [Thu, 5 Jan 2017 10:38:05 +0000 (11:38 +0100)]
Merge branch 'PHP-5.6' into PHP-7.0

8 years agoFix printf modifier
Nikita Popov [Thu, 5 Jan 2017 10:37:06 +0000 (11:37 +0100)]
Fix printf modifier

8 years agoMerge branch 'pull-request/1256' into PHP-7.0
Joe Watkins [Thu, 5 Jan 2017 06:54:19 +0000 (06:54 +0000)]
Merge branch 'pull-request/1256' into PHP-7.0

* pull-request/1256:
  Fix php-fpm.service.in

8 years agoquick fix for the base branch version parsing, not perfect still
Anatol Belski [Thu, 5 Jan 2017 00:49:36 +0000 (01:49 +0100)]
quick fix for the base branch version parsing, not perfect still

8 years agomove dev to next
Anatol Belski [Thu, 5 Jan 2017 00:12:18 +0000 (01:12 +0100)]
move dev to next

8 years agoMerge branch 'PHP-5.6' into PHP-7.0
Nikita Popov [Wed, 4 Jan 2017 23:22:25 +0000 (00:22 +0100)]
Merge branch 'PHP-5.6' into PHP-7.0

8 years agoAdd tests for delayed __wakeup()
Nikita Popov [Wed, 4 Jan 2017 23:20:56 +0000 (00:20 +0100)]
Add tests for delayed __wakeup()

8 years agoImplement delayed __wakeup
Nikita Popov [Wed, 4 Jan 2017 23:19:26 +0000 (00:19 +0100)]
Implement delayed __wakeup

8 years agoMerge branch 'pull-request/2273' into PHP-7.0
Joe Watkins [Wed, 4 Jan 2017 22:24:34 +0000 (22:24 +0000)]
Merge branch 'pull-request/2273' into PHP-7.0

* pull-request/2273:
  Update copyright headers to 2017

8 years agoUpdate copyright header to 2017 in calendar.c
Sammy Kaye Powers [Wed, 4 Jan 2017 17:15:47 +0000 (11:15 -0600)]
Update copyright header to 2017 in calendar.c

8 years agoUpdate copyright headers to 2017
Sammy Kaye Powers [Wed, 4 Jan 2017 17:14:55 +0000 (11:14 -0600)]
Update copyright headers to 2017

8 years agoswitch to the beta1 SDK for AppVeyor build
Anatol Belski [Wed, 4 Jan 2017 12:31:38 +0000 (13:31 +0100)]
switch to the beta1 SDK for AppVeyor build

8 years agoremove duplicate test
Joe Watkins [Wed, 4 Jan 2017 14:50:59 +0000 (14:50 +0000)]
remove duplicate test

8 years agofix test
Joe Watkins [Wed, 4 Jan 2017 14:36:18 +0000 (14:36 +0000)]
fix test

8 years agoMerge branch 'pull-request/1312' into PHP-7.0
Joe Watkins [Wed, 4 Jan 2017 13:32:37 +0000 (13:32 +0000)]
Merge branch 'pull-request/1312' into PHP-7.0

* pull-request/1312:
  get_defined_functions extra parameter to exclude disabled functions
  news entry for PR #1312

8 years agoFix PDO tests to match SQL standard syntax and pass Firebird tests.
Dorin Marcoci [Mon, 2 Jan 2017 17:02:11 +0000 (19:02 +0200)]
Fix PDO tests to match SQL standard syntax and pass Firebird tests.

8 years agobetter skip on files
Anatol Belski [Tue, 3 Jan 2017 12:25:16 +0000 (13:25 +0100)]
better skip on files

some more could be added

8 years agoFix build
Nikita Popov [Tue, 3 Jan 2017 11:16:35 +0000 (12:16 +0100)]
Fix build

8 years agoFix Bug #73462 - Persistent connections don't set $connect_errno
Vince [Tue, 8 Nov 2016 22:23:04 +0000 (14:23 -0800)]
Fix Bug #73462 - Persistent connections don't set $connect_errno

Persistent connections skipped resetting $connect_error and $connect_errno values
This adds the "clear error" line to persistent connections for consistency

8 years agoMerge branch 'pull-request/1905'
Joe Watkins [Tue, 3 Jan 2017 10:48:42 +0000 (10:48 +0000)]
Merge branch 'pull-request/1905'

* pull-request/1905:
   pack()/unpack() for Big Endian float/double and Little Endian float/double

8 years agoFix opcache test dependencies
Rasmus Lerdorf [Tue, 3 Jan 2017 06:30:28 +0000 (22:30 -0800)]
Fix opcache test dependencies

8 years agoUse correct string release function
Stanislav Malyshev [Tue, 3 Jan 2017 06:08:25 +0000 (22:08 -0800)]
Use correct string release function

8 years agoFix error reporting
Stanislav Malyshev [Tue, 3 Jan 2017 05:59:44 +0000 (21:59 -0800)]
Fix error reporting

8 years agoMerge branch 'PHP-7.0.15' into PHP-7.0
Stanislav Malyshev [Tue, 3 Jan 2017 05:35:42 +0000 (21:35 -0800)]
Merge branch 'PHP-7.0.15' into PHP-7.0

* PHP-7.0.15:
  Fix #73832 - leave the table in a safe state if the size is too big.
  Fix bug #73831 - NULL Pointer Dereference while unserialize php object

8 years agoMerge branch 'PHP-5.6' into PHP-7.0
Stanislav Malyshev [Tue, 3 Jan 2017 05:01:35 +0000 (21:01 -0800)]
Merge branch 'PHP-5.6' into PHP-7.0

* PHP-5.6:
  Fix bug #73737 FPE when parsing a tag format
  Fix bug #73773 - Seg fault when loading hostile phar
  Fix bug #73825 - Heap out of bounds read on unserialize in finish_nested_data()
  Fix bug #73768 - Memory corruption when loading hostile phar
  Fix int overflows in phar (bug #73764)

8 years agoMerge branch 'PHP-5.6.30' into PHP-5.6
Stanislav Malyshev [Tue, 3 Jan 2017 04:56:32 +0000 (20:56 -0800)]
Merge branch 'PHP-5.6.30' into PHP-5.6

* PHP-5.6.30:
  Fix bug #73737 FPE when parsing a tag format
  Fix bug #73773 - Seg fault when loading hostile phar
  Fix bug #73825 - Heap out of bounds read on unserialize in finish_nested_data()
  Fix bug #73768 - Memory corruption when loading hostile phar
  Fix int overflows in phar (bug #73764)

8 years agoFix #73832 - leave the table in a safe state if the size is too big.
Stanislav Malyshev [Tue, 3 Jan 2017 04:14:05 +0000 (20:14 -0800)]
Fix #73832 - leave the table in a safe state if the size is too big.

8 years agoset exclude AppVeyor branches and ignore builds on NEWS updates
Anatol Belski [Tue, 3 Jan 2017 00:56:27 +0000 (01:56 +0100)]
set exclude AppVeyor branches and ignore builds on NEWS updates

8 years agoFix early free
Nikita Popov [Tue, 3 Jan 2017 01:12:28 +0000 (02:12 +0100)]
Fix early free

8 years agoDisable pdb generation for AppVeyor
Anatol Belski [Tue, 3 Jan 2017 00:07:55 +0000 (01:07 +0100)]
Disable pdb generation for AppVeyor

It is not needed for the test runs and would speedup the compilation
phase.

8 years agoAdd NEWS entries
Nikita Popov [Mon, 2 Jan 2017 22:35:27 +0000 (23:35 +0100)]
Add NEWS entries

8 years agoOptimize get_browser() using prefix and contains checks
Nikita Popov [Thu, 15 Dec 2016 16:22:08 +0000 (17:22 +0100)]
Optimize get_browser() using prefix and contains checks

Avoid expensive regex compilations by checking for prefix
and contained segments beforehand.

8 years agoOptimize browscap loading and representation
Nikita Popov [Thu, 15 Dec 2016 14:12:48 +0000 (15:12 +0100)]
Optimize browscap loading and representation

Avoid many string duplications, use interning (browscap-local, of
course), reduce pattern size, use more compact key-value
representation, build result array only on demand.

8 years agoAdd get_browser() test against larger corpus
Nikita Popov [Sun, 1 Jan 2017 21:19:01 +0000 (22:19 +0100)]
Add get_browser() test against larger corpus

Testing corpus provided by Anatol against current browscap.ini lite.

About 30% of all agents are not recognized by this browscap.ini,
but this should give us decent coverage.

8 years agoFix for nowait.phpt failing intermittently
Mitch Hagstrand [Mon, 2 Jan 2017 15:49:32 +0000 (07:49 -0800)]
Fix for nowait.phpt failing intermittently

The parent process was releasing the child semaphore
after the child process continued execution. Now
the child semaphore is released before the child
process continues execution.

8 years agoFix for sporadic segfault with MYSQLI_OPT_INT_AND_FLOAT_NATIVE
vanviegen [Wed, 21 Dec 2016 15:37:17 +0000 (16:37 +0100)]
Fix for sporadic segfault with MYSQLI_OPT_INT_AND_FLOAT_NATIVE

Fixes bug #73800

news entry for PR #2250

8 years agonews entry for PR #2267
Joe Watkins [Mon, 2 Jan 2017 11:57:45 +0000 (11:57 +0000)]
news entry for PR #2267

8 years agoFixed #67474 (getElementsByTagNameNS and default namespace)
Arnout Boks [Mon, 2 Jan 2017 10:47:49 +0000 (11:47 +0100)]
Fixed #67474 (getElementsByTagNameNS and default namespace)

This bug was caused by the fact that dom_get_elements_by_tag_name_ns_raw
uses an empty string to filter on the default namespace (as NULL means
'no filter'), whereas in the node itself the default namespace is
signalled by nodep->ns being null.

8 years agoAdd (failing) testcase for bug #67474
Arnout Boks [Mon, 2 Jan 2017 10:46:58 +0000 (11:46 +0100)]
Add (failing) testcase for bug #67474

8 years agoMerge branch 'PHP-7.0' of git.php.net:/php-src into PHP-7.0
Joe Watkins [Mon, 2 Jan 2017 09:44:02 +0000 (09:44 +0000)]
Merge branch 'PHP-7.0' of git.php.net:/php-src into PHP-7.0

* 'PHP-7.0' of git.php.net:/php-src: (146 commits)
  Flush stderr on win32 in cli_log_message
  Fixed bug #73154
  FIx bug #70213
  Fix dom class can't be inherited by the internal class
  Another try at making concat_003 more reliable
  Fix flaky openssl_pkey_new test
  Make Opcache tests using the cli server more reliable
  Revert "Fix #73530: Unsetting result set may reset other result set"
  define php_ap_map_http_request_error function for older httpd only
  add old versions of httpd support
  Disable AppVeyor fast_finish
  Makes the sapi web server and curl tests more reliable
  Fixes the curl tests to be more reliable in Travis CI
  Interpretation of curl_setopt values for boolean parameters
  Fixes #65689. PDO_Firebrid / exec() does not free allocated statement.
  Fix alpn_ctx leaking in openssl
  Fixed bug #73373 (deflate_add does not verify that output was not truncated)
  Fix IS_UNDEF comparisons in opcache
  Fixed bug #73704 (phpdbg shows the wrong line in files with shebang)
  Increase timing quota for small string concat test
  ...

8 years agoFix nowait.phpt to no longer depend on sleeping
Mitch Hagstrand [Mon, 2 Jan 2017 05:19:14 +0000 (21:19 -0800)]
Fix nowait.phpt to no longer depend on sleeping

In Travis CI the nowait.phpt test sometimes fails because of
the usleep() not being long enough ensure proper
execution order. Instead of depending on sleeping the
test now uses two semaphores to guarantee execution order.

8 years agoFlush stderr on win32 in cli_log_message
Nikita Popov [Tue, 27 Dec 2016 21:44:46 +0000 (22:44 +0100)]
Flush stderr on win32 in cli_log_message

This allows us to unfork a bunch of tests for Windows.

8 years agoFixed bug #73154
Nikita Popov [Sun, 1 Jan 2017 18:24:41 +0000 (19:24 +0100)]
Fixed bug #73154

The object that is being serialized may be destroyed during the
execution of __sleep(), so operate on a copy instead.

8 years agoMerge branch 'PHP-5.6' into PHP-7.0
Nikita Popov [Sun, 1 Jan 2017 13:12:26 +0000 (14:12 +0100)]
Merge branch 'PHP-5.6' into PHP-7.0

8 years agoFIx bug #70213
Nikita Popov [Sun, 1 Jan 2017 13:10:49 +0000 (14:10 +0100)]
FIx bug #70213

8 years agoFix dom class can't be inherited by the internal class
dreamszhu [Sun, 1 Jan 2017 09:10:28 +0000 (17:10 +0800)]
Fix dom class can't be inherited by the internal class

8 years agoFix bug #73831 - NULL Pointer Dereference while unserialize php object
Stanislav Malyshev [Sun, 1 Jan 2017 04:14:20 +0000 (20:14 -0800)]
Fix bug #73831 - NULL Pointer Dereference while unserialize php object

8 years agoFix bug #73737 FPE when parsing a tag format
Stanislav Malyshev [Sun, 1 Jan 2017 03:31:49 +0000 (19:31 -0800)]
Fix bug #73737 FPE when parsing a tag format

8 years agoFix bug #73773 - Seg fault when loading hostile phar
Stanislav Malyshev [Sun, 1 Jan 2017 02:47:50 +0000 (18:47 -0800)]
Fix bug #73773 - Seg fault when loading hostile phar

8 years agoFix bug #73825 - Heap out of bounds read on unserialize in finish_nested_data()
Stanislav Malyshev [Sat, 31 Dec 2016 00:59:46 +0000 (16:59 -0800)]
Fix bug #73825 - Heap out of bounds read on unserialize in finish_nested_data()

8 years agoFix bug #73768 - Memory corruption when loading hostile phar
Stanislav Malyshev [Fri, 30 Dec 2016 23:57:24 +0000 (15:57 -0800)]
Fix bug #73768 - Memory corruption when loading hostile phar

8 years agoFix int overflows in phar (bug #73764)
Stanislav Malyshev [Fri, 30 Dec 2016 23:34:46 +0000 (15:34 -0800)]
Fix int overflows in phar (bug #73764)

8 years agoMerge branch 'PHP-7.0' of https://git.php.net/repository/php-src into PHP-7.0
Christoph M. Becker [Fri, 30 Dec 2016 12:56:34 +0000 (13:56 +0100)]
Merge branch 'PHP-7.0' of https://git.php.net/repository/php-src into PHP-7.0

* 'PHP-7.0' of https://git.php.net/repository/php-src:
  Another try at making concat_003 more reliable
  Fix flaky openssl_pkey_new test
  Make Opcache tests using the cli server more reliable

8 years agoAnother try at making concat_003 more reliable
Nikita Popov [Thu, 29 Dec 2016 20:39:40 +0000 (21:39 +0100)]
Another try at making concat_003 more reliable

Use array_fill() for the array population loop -- this isn't the
part that is being tested and on PHP 7.0 w/o opcache this duplicates
the inner array a lot.

8 years agoFix flaky openssl_pkey_new test
Nikita Popov [Thu, 29 Dec 2016 19:59:28 +0000 (20:59 +0100)]
Fix flaky openssl_pkey_new test

Public key size may vary by one bit... switch to using %d for
key sizes.

8 years agoMake Opcache tests using the cli server more reliable
Mitch Hagstrand [Thu, 29 Dec 2016 03:29:36 +0000 (19:29 -0800)]
Make Opcache tests using the cli server more reliable

Same fix already applied to ext/curl/tests/server.inc
and sapi/cli/tests/php_cli_server.inc

1. Increases the amount of time for the PHP built-in server to accept a connection
2. Outputs an error if the PHP built-in server fails

8 years agoMerge branch 'PHP-5.6' into PHP-7.0
Christoph M. Becker [Thu, 29 Dec 2016 12:31:18 +0000 (13:31 +0100)]
Merge branch 'PHP-5.6' into PHP-7.0

* PHP-5.6:
  Revert "Fix #73530: Unsetting result set may reset other result set"

# Conflicts:
# ext/sqlite3/sqlite3.c

8 years agoRevert "Fix #73530: Unsetting result set may reset other result set"
Christoph M. Becker [Thu, 29 Dec 2016 11:41:39 +0000 (12:41 +0100)]
Revert "Fix #73530: Unsetting result set may reset other result set"

This reverts commit eb570294a289b45d0dd38efc71065d6b0d314c4b.

That commit caused a regression, so it's probably best to revert it, and
to tackle the issue for the next minor release.

8 years agoMerge branch 'bugfix_timeout_61471' of https://github.com/axot/php-src into PHP-7.0
Xinchen Hui [Thu, 29 Dec 2016 07:46:47 +0000 (15:46 +0800)]
Merge branch 'bugfix_timeout_61471' of https://github.com/axot/php-src into PHP-7.0

* 'bugfix_timeout_61471' of https://github.com/axot/php-src:
  define php_ap_map_http_request_error function for older httpd only
  add old versions of httpd support
  typo fixed
  bug fixed #61471 in apache2handler

8 years agodefine php_ap_map_http_request_error function for older httpd only
Zheng SHAO [Thu, 29 Dec 2016 04:00:31 +0000 (13:00 +0900)]
define php_ap_map_http_request_error function for older httpd only