]> granicus.if.org Git - php/log
php
8 years agoRemove the ZEND_ACC_CLONE flag
Nikita Popov [Sat, 22 Apr 2017 13:44:24 +0000 (15:44 +0200)]
Remove the ZEND_ACC_CLONE flag

This one is completely unused

8 years agoDocument which function flags are still free
Nikita Popov [Sat, 22 Apr 2017 13:42:57 +0000 (15:42 +0200)]
Document which function flags are still free

Also clearly separate method and class flags.

8 years agoMerge branch 'PHP-7.1'
Joe Watkins [Thu, 20 Apr 2017 05:42:55 +0000 (06:42 +0100)]
Merge branch 'PHP-7.1'

* PHP-7.1:
  Avoid exact floating point comparison

8 years agoMerge branch 'PHP-7.0' into PHP-7.1
Joe Watkins [Thu, 20 Apr 2017 05:42:44 +0000 (06:42 +0100)]
Merge branch 'PHP-7.0' into PHP-7.1

* PHP-7.0:
  Avoid exact floating point comparison

8 years agoAvoid exact floating point comparison
Steve Walk [Tue, 18 Apr 2017 15:43:03 +0000 (08:43 -0700)]
Avoid exact floating point comparison

8 years agoMerge branch 'PHP-7.1'
Joe Watkins [Thu, 20 Apr 2017 05:39:37 +0000 (06:39 +0100)]
Merge branch 'PHP-7.1'

* PHP-7.1:
  Update php_network.h

8 years agoMerge branch 'PHP-7.0' into PHP-7.1
Joe Watkins [Thu, 20 Apr 2017 05:39:26 +0000 (06:39 +0100)]
Merge branch 'PHP-7.0' into PHP-7.1

* PHP-7.0:
  Update php_network.h

8 years agoUpdate php_network.h
Alexander Ilyin [Tue, 18 Apr 2017 09:44:34 +0000 (02:44 -0700)]
Update php_network.h

```
In file included from /usr/local/include/php/main/php_network.h:124:0,
                 from /var/www/html/php-ext-handlersocketi-0.0.1/hs_response.c:3:
/usr/include/sys/poll.h:1:2: warning: #warning redirecting incorrect #include <sys/poll.h> to <poll.h> [-Wcpp]
 #warning redirecting incorrect #include <sys/poll.h> to <poll.h>
  ^
```

8 years agoMerge branch 'master' of git.php.net:/php-src
Xinchen Hui [Wed, 19 Apr 2017 09:18:19 +0000 (17:18 +0800)]
Merge branch 'master' of git.php.net:/php-src

* 'master' of git.php.net:/php-src:
  Enable more control over travis/compile.sh

8 years agoFixed hash val calculating
Xinchen Hui [Wed, 19 Apr 2017 09:15:34 +0000 (17:15 +0800)]
Fixed hash val calculating

8 years agoEnable more control over travis/compile.sh
Sara Golemon [Tue, 18 Apr 2017 18:27:19 +0000 (11:27 -0700)]
Enable more control over travis/compile.sh

This is also used by RM process to test the same things.
Allow generating build output (to a log file) and specifying
number of parallel jobs (rather than hard-code zero).

Leave all defaults as-is for Travis builds.

8 years agoFixed test
Xinchen Hui [Tue, 18 Apr 2017 04:50:14 +0000 (12:50 +0800)]
Fixed test

8 years agoImprove fix for #74456
Xinchen Hui [Tue, 18 Apr 2017 04:47:53 +0000 (12:47 +0800)]
Improve fix for #74456

8 years agoMerge branch 'PHP-7.1' of git.php.net:/php-src into PHP-7.1
Xinchen Hui [Mon, 17 Apr 2017 12:27:07 +0000 (20:27 +0800)]
Merge branch 'PHP-7.1' of git.php.net:/php-src into PHP-7.1

* 'PHP-7.1' of git.php.net:/php-src:
  Fix loop identification

8 years agoMerge branch 'PHP-7.1'
Xinchen Hui [Mon, 17 Apr 2017 12:26:57 +0000 (20:26 +0800)]
Merge branch 'PHP-7.1'

* PHP-7.1:
  Fixed bug #74456 (Segmentation error while running a script in CLI mode)

8 years agoFixed bug #74456 (Segmentation error while running a script in CLI mode)
Xinchen Hui [Mon, 17 Apr 2017 12:24:39 +0000 (20:24 +0800)]
Fixed bug #74456 (Segmentation error while running a script in CLI mode)

Instead of make update_op1_by_const supports FETCH_LIST(CASE), I think
disable it is more safe for 7.1

8 years agoDrop dead zend_optimizer_lookup_cv() function
Nikita Popov [Mon, 17 Apr 2017 10:20:25 +0000 (12:20 +0200)]
Drop dead zend_optimizer_lookup_cv() function

8 years agoMerge branch 'PHP-7.1'
Nikita Popov [Mon, 17 Apr 2017 10:19:46 +0000 (12:19 +0200)]
Merge branch 'PHP-7.1'

8 years agoFix loop identification
Nikita Popov [Mon, 17 Apr 2017 10:17:32 +0000 (12:17 +0200)]
Fix loop identification

When assigning loop headers, we should treat already detected
loops as collapsed to their loop header, instead of ignoring them.

This fixes the loop header of BB2 in mandel2 if live-range CFG
splitting is enabled.

8 years agoMerge branch 'PHP-7.1'
Joe Watkins [Mon, 17 Apr 2017 07:12:12 +0000 (08:12 +0100)]
Merge branch 'PHP-7.1'

* PHP-7.1:
  ext/gettext: respect passed in library directory for all checks

8 years agoMerge branch 'PHP-7.0' into PHP-7.1
Joe Watkins [Mon, 17 Apr 2017 07:12:02 +0000 (08:12 +0100)]
Merge branch 'PHP-7.0' into PHP-7.1

* PHP-7.0:
  ext/gettext: respect passed in library directory for all checks

8 years agoext/gettext: respect passed in library directory for all checks
Michael Heimpold [Thu, 13 Apr 2017 20:43:26 +0000 (22:43 +0200)]
ext/gettext: respect passed in library directory for all checks

A directory given to configure by --with-gettext=dir is only
used within the very first AC_CHECK_LIB. This is because the
temporary modified LDFLAGS variable is reset too early.

This results in functions not detected properly.

The original issue and patch was reported for OpenWrt/LEDE
distribution by @Dimazhan at:
https://github.com/openwrt/packages/issues/4250

Signed-off-by: Michael Heimpold <mhei@heimpold.de>
8 years agoMerge branch 'PHP-7.1'
Joe Watkins [Mon, 17 Apr 2017 07:09:36 +0000 (08:09 +0100)]
Merge branch 'PHP-7.1'

* PHP-7.1:
  Fixed bug #74080 Add datetime constant for RFC7231

8 years agoMerge branch 'PHP-7.0' into PHP-7.1
Joe Watkins [Mon, 17 Apr 2017 07:09:05 +0000 (08:09 +0100)]
Merge branch 'PHP-7.0' into PHP-7.1

* PHP-7.0:
  Fixed bug #74080 Add datetime constant for RFC7231

8 years agoFixed bug #74080 Add datetime constant for RFC7231
Craig Duncan [Sat, 1 Apr 2017 16:56:31 +0000 (17:56 +0100)]
Fixed bug #74080 Add datetime constant for RFC7231

8 years agoMerge branch 'PHP-7.1'
Joe Watkins [Mon, 17 Apr 2017 06:58:34 +0000 (07:58 +0100)]
Merge branch 'PHP-7.1'

* PHP-7.1:
  Fixed bug #74439 Wrong reflection on the Locale methods

8 years agoMerge branch 'PHP-7.0' into PHP-7.1
Joe Watkins [Mon, 17 Apr 2017 06:57:07 +0000 (07:57 +0100)]
Merge branch 'PHP-7.0' into PHP-7.1

* PHP-7.0:
  Fixed bug #74439 Wrong reflection on the Locale methods

8 years agoFixed bug #74439 Wrong reflection on the Locale methods
Fabien Villepinte [Fri, 14 Apr 2017 12:08:26 +0000 (14:08 +0200)]
Fixed bug #74439 Wrong reflection on the Locale methods

8 years agoUpdate to SQLite 3.18.0
Christoph M. Becker [Sun, 16 Apr 2017 14:17:09 +0000 (16:17 +0200)]
Update to SQLite 3.18.0

8 years agoMerge branch 'PHP-7.1'
Anatol Belski [Sun, 16 Apr 2017 12:56:51 +0000 (14:56 +0200)]
Merge branch 'PHP-7.1'

* PHP-7.1:
  [ci skip] update NEWS
  [ci skip] update NEWS

8 years agoMerge branch 'PHP-7.0' into PHP-7.1
Anatol Belski [Sun, 16 Apr 2017 12:55:51 +0000 (14:55 +0200)]
Merge branch 'PHP-7.0' into PHP-7.1

* PHP-7.0:
  [ci skip] update NEWS

8 years ago[ci skip] update NEWS
Anatol Belski [Sun, 16 Apr 2017 12:55:31 +0000 (14:55 +0200)]
[ci skip] update NEWS

8 years ago[ci skip] update NEWS
Anatol Belski [Sun, 16 Apr 2017 12:54:19 +0000 (14:54 +0200)]
[ci skip] update NEWS

8 years agoMerge branch 'PHP-7.1'
Anatol Belski [Sat, 15 Apr 2017 17:37:12 +0000 (19:37 +0200)]
Merge branch 'PHP-7.1'

* PHP-7.1:
  improve/fix error handling

8 years agoMerge branch 'PHP-7.0' into PHP-7.1
Anatol Belski [Sat, 15 Apr 2017 17:35:13 +0000 (19:35 +0200)]
Merge branch 'PHP-7.0' into PHP-7.1

* PHP-7.0:
  improve/fix error handling

8 years agoimprove/fix error handling
Anatol Belski [Sat, 15 Apr 2017 17:30:30 +0000 (19:30 +0200)]
improve/fix error handling

GetLastError() should not be called, if the function didn't fail.

8 years agoMerge branch 'PHP-7.1'
Anatol Belski [Sat, 15 Apr 2017 16:29:37 +0000 (18:29 +0200)]
Merge branch 'PHP-7.1'

* PHP-7.1:
  fix error handling

8 years agoMerge branch 'PHP-7.0' into PHP-7.1
Anatol Belski [Sat, 15 Apr 2017 16:25:31 +0000 (18:25 +0200)]
Merge branch 'PHP-7.0' into PHP-7.1

* PHP-7.0:
  fix error handling

8 years agofix error handling
Anatol Belski [Sat, 15 Apr 2017 16:14:25 +0000 (18:14 +0200)]
fix error handling

8 years agoMerge branch 'PHP-7.1'
Nikita Popov [Sat, 15 Apr 2017 16:15:45 +0000 (18:15 +0200)]
Merge branch 'PHP-7.1'

8 years agoMerge branch 'PHP-7.0' into PHP-7.1
Nikita Popov [Sat, 15 Apr 2017 16:15:33 +0000 (18:15 +0200)]
Merge branch 'PHP-7.0' into PHP-7.1

8 years agoImprove accuracy of opline lineno information
Nikita Popov [Sat, 15 Apr 2017 16:06:42 +0000 (18:06 +0200)]
Improve accuracy of opline lineno information

If compile_var() was used instead of compile_expr() we did not
update the current lineno.

8 years agoexport the main thread info
Anatol Belski [Sat, 15 Apr 2017 12:28:58 +0000 (14:28 +0200)]
export the main thread info

8 years agoMerge branch 'PHP-7.1'
Anatol Belski [Sat, 15 Apr 2017 15:30:43 +0000 (17:30 +0200)]
Merge branch 'PHP-7.1'

* PHP-7.1:
  extend error map

8 years agoextend error map
Anatol Belski [Sat, 15 Apr 2017 15:27:45 +0000 (17:27 +0200)]
extend error map

8 years agoMerge branch 'PHP-7.1'
Nikita Popov [Sat, 15 Apr 2017 10:36:02 +0000 (12:36 +0200)]
Merge branch 'PHP-7.1'

8 years agoMerge branch 'PHP-7.0' into PHP-7.1
Nikita Popov [Sat, 15 Apr 2017 10:35:53 +0000 (12:35 +0200)]
Merge branch 'PHP-7.0' into PHP-7.1

8 years agoFix compact_literals of INIT_METHOD_CALL with CONST op1
Nikita Popov [Sat, 15 Apr 2017 10:35:09 +0000 (12:35 +0200)]
Fix compact_literals of INIT_METHOD_CALL with CONST op1

8 years agoRemove leftover code for generator stack page handling
Nikita Popov [Sat, 15 Apr 2017 10:08:09 +0000 (12:08 +0200)]
Remove leftover code for generator stack page handling

8 years agoInitialize retval in INCLUDE_OR_EVAL
Nikita Popov [Sat, 15 Apr 2017 10:04:56 +0000 (12:04 +0200)]
Initialize retval in INCLUDE_OR_EVAL

In case the eval'd code throws.

8 years agoUpdate step about uploading packages to downloads.php.net
Sara Golemon [Fri, 14 Apr 2017 23:43:01 +0000 (16:43 -0700)]
Update step about uploading packages to downloads.php.net

At some point this changed from a per-user specific mapping
to a standard ~$USER mapping.

8 years agoMerge branch 'PHP-7.1'
Nikita Popov [Fri, 14 Apr 2017 23:40:59 +0000 (01:40 +0200)]
Merge branch 'PHP-7.1'

8 years agoImprove fix for bug #74442
Nikita Popov [Fri, 14 Apr 2017 23:39:33 +0000 (01:39 +0200)]
Improve fix for bug #74442

Make the check less conservative to be consistent with the other
cases.

8 years agoFixed bug #74444: multiple catch freezes in some cases
David Matejka [Fri, 14 Apr 2017 22:20:06 +0000 (00:20 +0200)]
Fixed bug #74444: multiple catch freezes in some cases

zend_emit_jump() may reallocate, so reload the opline.

8 years agoCredit goes to Eric Norris for this one
Rasmus Lerdorf [Fri, 14 Apr 2017 22:48:24 +0000 (15:48 -0700)]
Credit goes to Eric Norris for this one

8 years agoCredit goes to Eric Norris for this one
Rasmus Lerdorf [Fri, 14 Apr 2017 22:48:24 +0000 (15:48 -0700)]
Credit goes to Eric Norris for this one

8 years agoMerge branch 'PHP-7.1'
Nikita Popov [Fri, 14 Apr 2017 20:20:48 +0000 (22:20 +0200)]
Merge branch 'PHP-7.1'

8 years agoFixed bug #74442
Nikita Popov [Fri, 14 Apr 2017 20:20:32 +0000 (22:20 +0200)]
Fixed bug #74442

8 years agoMerge branch 'PHP-7.1'
Nikita Popov [Fri, 14 Apr 2017 20:04:07 +0000 (22:04 +0200)]
Merge branch 'PHP-7.1'

8 years agoFixed bug #74431
Nikita Popov [Fri, 14 Apr 2017 19:58:35 +0000 (21:58 +0200)]
Fixed bug #74431

If the last instruction in a block is a NOP, then `new_opline`
here won't be a copy of `opline`, it will be a copy of the last
non-NOP opline. Avoid performing a spurious update by explicitly
checking for NOP.

8 years agoTest for bug 74431
ekinhbayar [Fri, 14 Apr 2017 14:28:57 +0000 (17:28 +0300)]
Test for bug 74431

8 years agoMerge branch 'PHP-7.1'
Johannes Schlüter [Fri, 14 Apr 2017 14:31:19 +0000 (16:31 +0200)]
Merge branch 'PHP-7.1'

8 years agoMerge branch 'PHP-7.0' into PHP-7.1
Johannes Schlüter [Fri, 14 Apr 2017 14:30:51 +0000 (16:30 +0200)]
Merge branch 'PHP-7.0' into PHP-7.1

8 years agoAdd support for MySQL 8's Unicode types
Johannes Schlüter [Fri, 14 Apr 2017 14:30:10 +0000 (16:30 +0200)]
Add support for MySQL 8's Unicode types

8 years agoMerge branch 'PHP-7.1'
Joe Watkins [Fri, 14 Apr 2017 06:56:38 +0000 (07:56 +0100)]
Merge branch 'PHP-7.1'

* PHP-7.1:
  missing news entry from 7.1.3

8 years agomissing news entry from 7.1.3
Joe Watkins [Fri, 14 Apr 2017 06:56:12 +0000 (07:56 +0100)]
missing news entry from 7.1.3

8 years agoMerge branch 'PHP-7.1'
Joe Watkins [Thu, 13 Apr 2017 12:22:01 +0000 (13:22 +0100)]
Merge branch 'PHP-7.1'

* PHP-7.1:
  Fixed bug #74433 Wrong reflection on the Normalizer methods

8 years agoMerge branch 'PHP-7.0' into PHP-7.1
Joe Watkins [Thu, 13 Apr 2017 12:21:17 +0000 (13:21 +0100)]
Merge branch 'PHP-7.0' into PHP-7.1

* PHP-7.0:
  Fixed bug #74433 Wrong reflection on the Normalizer methods

8 years agoFixed bug #74433 Wrong reflection on the Normalizer methods
Fabien Villepinte [Thu, 13 Apr 2017 11:25:13 +0000 (13:25 +0200)]
Fixed bug #74433 Wrong reflection on the Normalizer methods

8 years agosimplify and generalize crossplatform parts
Anatol Belski [Thu, 13 Apr 2017 11:04:55 +0000 (13:04 +0200)]
simplify and generalize crossplatform parts

8 years agounify behavior
Anatol Belski [Thu, 13 Apr 2017 10:49:41 +0000 (12:49 +0200)]
unify behavior

8 years agoextend flag to reduce re-link time
Anatol Belski [Thu, 13 Apr 2017 01:05:48 +0000 (03:05 +0200)]
extend flag to reduce re-link time

8 years agoMerge branch 'PHP-7.1'
Remi Collet [Thu, 13 Apr 2017 05:11:17 +0000 (07:11 +0200)]
Merge branch 'PHP-7.1'

* PHP-7.1:
  NEWS
  NEWS

8 years agoNEWS
Remi Collet [Thu, 13 Apr 2017 05:11:06 +0000 (07:11 +0200)]
NEWS

8 years agoMerge branch 'PHP-7.0' into PHP-7.1
Remi Collet [Thu, 13 Apr 2017 05:10:47 +0000 (07:10 +0200)]
Merge branch 'PHP-7.0' into PHP-7.1

* PHP-7.0:
  NEWS

8 years agoNEWS
Remi Collet [Thu, 13 Apr 2017 05:10:37 +0000 (07:10 +0200)]
NEWS

8 years agoMerge branch 'PHP-7.1'
Remi Collet [Thu, 13 Apr 2017 05:07:56 +0000 (07:07 +0200)]
Merge branch 'PHP-7.1'

* PHP-7.1:
  Fixed bug #74416 Wrong reflection on DOMNode::cloneNode

8 years agoMerge branch 'PHP-7.0' into PHP-7.1
Remi Collet [Thu, 13 Apr 2017 05:07:43 +0000 (07:07 +0200)]
Merge branch 'PHP-7.0' into PHP-7.1

* PHP-7.0:
  Fixed bug #74416 Wrong reflection on DOMNode::cloneNode

8 years agoFixed bug #74416 Wrong reflection on DOMNode::cloneNode
Fabien Villepinte [Tue, 11 Apr 2017 15:26:03 +0000 (17:26 +0200)]
Fixed bug #74416 Wrong reflection on DOMNode::cloneNode

8 years agoRely on having unistd.h (which provides isatty function)
Remi Collet [Wed, 12 Apr 2017 10:56:13 +0000 (12:56 +0200)]
Rely on having unistd.h (which provides isatty function)
rather than having the posix extension.

Fix the tests when build with --disable-all

8 years agoMerge branch 'PHP-7.1'
Christopher Jones [Wed, 12 Apr 2017 04:04:37 +0000 (14:04 +1000)]
Merge branch 'PHP-7.1'

8 years agoAdd missing NEWS
Christopher Jones [Wed, 12 Apr 2017 04:04:24 +0000 (14:04 +1000)]
Add missing NEWS

8 years agoMerge branch 'PHP-7.0' into PHP-7.1
Christopher Jones [Wed, 12 Apr 2017 04:03:34 +0000 (14:03 +1000)]
Merge branch 'PHP-7.0' into PHP-7.1

8 years agoFixed uninitialized data causing random crash (Dmitry)
Christopher Jones [Wed, 12 Apr 2017 04:02:46 +0000 (14:02 +1000)]
Fixed uninitialized data causing random crash (Dmitry)

8 years agoAdd missing NEWS
Christopher Jones [Wed, 12 Apr 2017 03:23:19 +0000 (13:23 +1000)]
Add missing NEWS

8 years agoFix bug 60471 by correctly identifying unused speculative preconnections
Sammy Kaye Powers [Wed, 29 Mar 2017 14:27:18 +0000 (09:27 -0500)]
Fix bug 60471 by correctly identifying unused speculative preconnections

* Correctly identify unused speculative preconnections from browsers
  like Chrome and Firefox
* Add a new message to the debug level that is emitted when a TCP
  connection is closed without sending any request (a preconnection)
* Fix an issue where the existing debug messages were not being
  displayed even when debug mode was enabled

8 years agoPass explicit PHP version string to mkdist.php
Anatol Belski [Tue, 11 Apr 2017 14:20:42 +0000 (16:20 +0200)]
Pass explicit PHP version string to mkdist.php

8 years agoEnable whole program optimization for builds without PGO, too
Anatol Belski [Tue, 11 Apr 2017 13:21:10 +0000 (15:21 +0200)]
Enable whole program optimization for builds without PGO, too

8 years agoMerge branch 'PHP-7.1'
Anatol Belski [Tue, 11 Apr 2017 11:50:56 +0000 (13:50 +0200)]
Merge branch 'PHP-7.1'

* PHP-7.1:
  Fix misleading typo in identifiers

8 years agoMerge branch 'PHP-7.0' into PHP-7.1
Anatol Belski [Tue, 11 Apr 2017 11:49:19 +0000 (13:49 +0200)]
Merge branch 'PHP-7.0' into PHP-7.1

* PHP-7.0:
  Fix misleading typo in identifiers

8 years agoFix misleading typo in identifiers
Anatol Belski [Tue, 11 Apr 2017 11:48:04 +0000 (13:48 +0200)]
Fix misleading typo in identifiers

8 years agoFix command syntax, env var has to be nmake macro in makefile
Anatol Belski [Tue, 11 Apr 2017 11:25:51 +0000 (13:25 +0200)]
Fix command syntax, env var has to be nmake macro in makefile

8 years agoMerge branch 'PHP-7.1'
Joe Watkins [Tue, 11 Apr 2017 11:16:50 +0000 (12:16 +0100)]
Merge branch 'PHP-7.1'

* PHP-7.1:
  fixed bug #74413 wrong reflection on SQLite3::enableExceptions

8 years agoMerge branch 'PHP-7.0' into PHP-7.1
Joe Watkins [Tue, 11 Apr 2017 11:14:40 +0000 (12:14 +0100)]
Merge branch 'PHP-7.0' into PHP-7.1

* PHP-7.0:
  fixed bug #74413 wrong reflection on SQLite3::enableExceptions

8 years agofixed bug #74413 wrong reflection on SQLite3::enableExceptions
Joe Watkins [Tue, 11 Apr 2017 11:13:21 +0000 (12:13 +0100)]
fixed bug #74413 wrong reflection on SQLite3::enableExceptions

8 years agoMerge branch 'PHP-7.1'
Xinchen Hui [Tue, 11 Apr 2017 10:47:06 +0000 (18:47 +0800)]
Merge branch 'PHP-7.1'

* PHP-7.1:
  Update NEWS
  Fixed bug #74408 (Endless loop bypassing execution time limit)

8 years agoUpdate NEWS
Xinchen Hui [Tue, 11 Apr 2017 10:46:57 +0000 (18:46 +0800)]
Update NEWS

8 years agoMerge branch 'PHP-7.0' into PHP-7.1
Xinchen Hui [Tue, 11 Apr 2017 10:46:41 +0000 (18:46 +0800)]
Merge branch 'PHP-7.0' into PHP-7.1

* PHP-7.0:
  Fixed bug #74408 (Endless loop bypassing execution time limit)

8 years agoFixed bug #74408 (Endless loop bypassing execution time limit)
Xinchen Hui [Tue, 11 Apr 2017 10:46:16 +0000 (18:46 +0800)]
Fixed bug #74408 (Endless loop bypassing execution time limit)

8 years agouse php.exe from the SDK for packaging, not the one just compiled
Anatol Belski [Tue, 11 Apr 2017 10:00:10 +0000 (12:00 +0200)]
use php.exe from the SDK for packaging, not the one just compiled