]> granicus.if.org Git - php/log
php
8 years agoAdd Z_EXTRA macro
Nikita Popov [Wed, 4 Jan 2017 23:49:19 +0000 (00:49 +0100)]
Add Z_EXTRA macro

For use with u2 values which don't deserve a custom macro...

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

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/2274' into PHP-7.1
Joe Watkins [Wed, 4 Jan 2017 22:25:45 +0000 (22:25 +0000)]
Merge branch 'pull-request/2274' into PHP-7.1

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

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:24:25 +0000 (11:24 -0600)]
Update copyright header to 2017 in calendar.c

8 years agoUpdate copyright headers to 2017
Sammy Kaye Powers [Wed, 4 Jan 2017 17:23:42 +0000 (11:23 -0600)]
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 agoMerge branch 'PHP-7.0' into PHP-7.1
Anatol Belski [Wed, 4 Jan 2017 16:21:34 +0000 (17:21 +0100)]
Merge branch 'PHP-7.0' into PHP-7.1

* PHP-7.0:
  switch to the beta1 SDK for AppVeyor build

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 agoMerge branch 'PHP-7.0' into PHP-7.1
Joe Watkins [Wed, 4 Jan 2017 14:51:21 +0000 (14:51 +0000)]
Merge branch 'PHP-7.0' into PHP-7.1

* PHP-7.0:
  remove duplicate test

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

8 years agoMerge branch 'PHP-7.0' into PHP-7.1
Joe Watkins [Wed, 4 Jan 2017 14:36:37 +0000 (14:36 +0000)]
Merge branch 'PHP-7.0' into PHP-7.1

* PHP-7.0:
  fix test

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

8 years agoMerge branch 'PHP-7.0' into PHP-7.1
Joe Watkins [Wed, 4 Jan 2017 13:35:01 +0000 (13:35 +0000)]
Merge branch 'PHP-7.0' into PHP-7.1

* PHP-7.0:
  get_defined_functions additional parameter to exclude disabled functions
  news entry for PR #1312

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 agoMerge branch 'PHP-7.0' into PHP-7.1
Anatol Belski [Tue, 3 Jan 2017 16:54:46 +0000 (17:54 +0100)]
Merge branch 'PHP-7.0' into PHP-7.1

* PHP-7.0:
  Fix PDO tests to match SQL standard syntax and pass Firebird tests.

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 agoMerge branch 'PHP-7.0' into PHP-7.1
Anatol Belski [Tue, 3 Jan 2017 12:27:06 +0000 (13:27 +0100)]
Merge branch 'PHP-7.0' into PHP-7.1

* PHP-7.0:
  better skip on files

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 agoMerge branch 'PHP-7.0' into PHP-7.1
Nikita Popov [Tue, 3 Jan 2017 11:18:33 +0000 (12:18 +0100)]
Merge branch 'PHP-7.0' into PHP-7.1

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 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 agoFix opcache test dependencies
Rasmus Lerdorf [Tue, 3 Jan 2017 06:21:12 +0000 (22:21 -0800)]
Fix opcache test dependencies

8 years agoMerge branch 'PHP-7.0' into PHP-7.1
Stanislav Malyshev [Tue, 3 Jan 2017 06:08:42 +0000 (22:08 -0800)]
Merge branch 'PHP-7.0' into PHP-7.1

* PHP-7.0:
  Use correct string release function

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 agoMerge branch 'PHP-7.0' into PHP-7.1
Stanislav Malyshev [Tue, 3 Jan 2017 05:59:59 +0000 (21:59 -0800)]
Merge branch 'PHP-7.0' into PHP-7.1

* PHP-7.0:
  Fix error reporting

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' into PHP-7.1
Stanislav Malyshev [Tue, 3 Jan 2017 05:37:06 +0000 (21:37 -0800)]
Merge branch 'PHP-7.0' into PHP-7.1

* PHP-7.0:
  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-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-7.0' into PHP-7.1
Stanislav Malyshev [Tue, 3 Jan 2017 05:07:01 +0000 (21:07 -0800)]
Merge branch 'PHP-7.0' into PHP-7.1

* PHP-7.0:
  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' 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 agoMerge branch 'PHP-7.1' of git.php.net:php-src into PHP-7.1
Anatol Belski [Tue, 3 Jan 2017 01:24:23 +0000 (02:24 +0100)]
Merge branch 'PHP-7.1' of git.php.net:php-src into PHP-7.1

8 years agoFix test after mail.log change
Nikita Popov [Tue, 3 Jan 2017 01:18:00 +0000 (02:18 +0100)]
Fix test after mail.log change

8 years agoMerge branch 'PHP-7.0' into PHP-7.1
Anatol Belski [Tue, 3 Jan 2017 01:17:44 +0000 (02:17 +0100)]
Merge branch 'PHP-7.0' into PHP-7.1

* PHP-7.0:
  set exclude AppVeyor branches and ignore builds on NEWS updates

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 agoMerge branch 'PHP-7.0' into PHP-7.1
Nikita Popov [Tue, 3 Jan 2017 01:13:04 +0000 (02:13 +0100)]
Merge branch 'PHP-7.0' into PHP-7.1

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

8 years agoMerge branch 'PHP-7.0' into PHP-7.1
Anatol Belski [Tue, 3 Jan 2017 00:11:41 +0000 (01:11 +0100)]
Merge branch 'PHP-7.0' into PHP-7.1

* PHP-7.0:
  Disable pdb generation for AppVeyor

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 agoFix data_size decrement
Nikita Popov [Mon, 2 Jan 2017 22:47:30 +0000 (23:47 +0100)]
Fix data_size decrement

We don't want to decrement the pointer...

8 years agoMerge branch 'PHP-7.0' into PHP-7.1
Nikita Popov [Mon, 2 Jan 2017 22:39:35 +0000 (23:39 +0100)]
Merge branch 'PHP-7.0' into PHP-7.1

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 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:18:14 +0000 (16:18 +0100)]
Fix for sporadic segfault with MYSQLI_OPT_INT_AND_FLOAT_NATIVE

Fixes bug #73800

news entry for PR #2249

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:58:57 +0000 (11:58 +0000)]
news entry for PR #2267

8 years agoMerge branch 'PHP-7.0' into PHP-7.1
Joe Watkins [Mon, 2 Jan 2017 11:58:14 +0000 (11:58 +0000)]
Merge branch 'PHP-7.0' into PHP-7.1

* PHP-7.0:
  news entry for PR #2267
  Fixed #67474 (getElementsByTagNameNS and default namespace)
  Add (failing) testcase for bug #67474

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 agoMerge branch 'PHP-7.1' of git.php.net:/php-src into PHP-7.1
Joe Watkins [Mon, 2 Jan 2017 09:41:44 +0000 (09:41 +0000)]
Merge branch 'PHP-7.1' of git.php.net:/php-src into PHP-7.1

* 'PHP-7.1' of git.php.net:/php-src:
  Flush stderr on win32 in cli_log_message
  Fixed bug #73154

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 agoMerge branch 'PHP-7.0' into PHP-7.1
Nikita Popov [Sun, 1 Jan 2017 20:09:27 +0000 (21:09 +0100)]
Merge branch 'PHP-7.0' into PHP-7.1

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 agoMerge branch 'PHP-7.0' into PHP-7.1
Nikita Popov [Sun, 1 Jan 2017 18:25:52 +0000 (19:25 +0100)]
Merge branch 'PHP-7.0' into PHP-7.1

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 agonews entry for PR #1414
Joe Watkins [Sun, 1 Jan 2017 14:41:20 +0000 (14:41 +0000)]
news entry for PR #1414

8 years agoMerge branch 'pull-request/1414' into PHP-7.1
Joe Watkins [Sun, 1 Jan 2017 14:39:35 +0000 (14:39 +0000)]
Merge branch 'pull-request/1414' into PHP-7.1

* Add subject to mail.log

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

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 agoMerge branch 'PHP-7.0' into PHP-7.1
Nikita Popov [Sun, 1 Jan 2017 11:20:46 +0000 (12:20 +0100)]
Merge branch 'PHP-7.0' into PHP-7.1

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 year dependent test
Nikita Popov [Sun, 1 Jan 2017 11:15:52 +0000 (12:15 +0100)]
Fix year dependent test

8 years agoRevert "news entry for PR #2263"
Joe Watkins [Sun, 1 Jan 2017 06:52:59 +0000 (06:52 +0000)]
Revert "news entry for PR #2263"

This reverts commit 299e02c82a1d4626e209f978001bba6d66885c05.

8 years agoRevert "Fix dom class can't be inherited by the internal class"
Joe Watkins [Sun, 1 Jan 2017 06:52:41 +0000 (06:52 +0000)]
Revert "Fix dom class can't be inherited by the internal class"

This reverts commit 705f60e481b891d009ec9bb4c88390545ff95880.

8 years agonews entry for PR #2263
Joe Watkins [Sun, 1 Jan 2017 06:49:42 +0000 (06:49 +0000)]
news entry for PR #2263

8 years agoFix dom class can't be inherited by the internal class
dreamszhu [Sun, 1 Jan 2017 01:45:09 +0000 (09:45 +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 #73847
Nikita Popov [Sat, 31 Dec 2016 12:33:21 +0000 (13:33 +0100)]
Fix bug #73847

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 agoDocument the changes to lexical scoping in 7.1.
Adam Harvey [Fri, 30 Dec 2016 19:39:45 +0000 (11:39 -0800)]
Document the changes to lexical scoping in 7.1.

Fixes bug #73844 (Cannot use lexical variable $variable as a parameter
name inside array_walk()).

8 years agoUpdate UPGRADING wrt. bug #72785
Christoph M. Becker [Fri, 30 Dec 2016 13:17:38 +0000 (14:17 +0100)]
Update UPGRADING wrt. bug #72785

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 agoDon't check for precise length in ecc.phpt
Nikita Popov [Thu, 29 Dec 2016 21:05:38 +0000 (22:05 +0100)]
Don't check for precise length in ecc.phpt

Again, this can be off by one.

8 years agoMerge branch 'PHP-7.0' into PHP-7.1
Nikita Popov [Thu, 29 Dec 2016 20:41:21 +0000 (21:41 +0100)]
Merge branch 'PHP-7.0' into PHP-7.1

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 agoFixed bug #73783
David Walker [Mon, 19 Dec 2016 21:29:18 +0000 (14:29 -0700)]
Fixed bug #73783

Bug #73783 raises an issue with signal handling when using SIG_IGN.
With PHP7.1 ZEND_SIGNALS is defaulted to on, which will for all
signals set the handler as zend_signal_handler_defer.  This is
problematic for syscalls like sleep(), which will only return when the
requisite number of seconds have elapsed, or, a non-ignored signal is
raised.  In this case we want to SIG_IGN SIGCHLD, however, SIG_IGN is
only stored in the SIGG(handlers) array, and the actual system level
handler is defined.  This prevents proper signal ignoring when requeted.

8 years agoMerge branch 'PHP-7.0' into PHP-7.1
Nikita Popov [Thu, 29 Dec 2016 20:00:14 +0000 (21:00 +0100)]
Merge branch 'PHP-7.0' into PHP-7.1

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