]> granicus.if.org Git - php/log
php
8 years agoFixed mixed declarations and code
Dmitry Stogov [Mon, 6 Jun 2016 22:01:48 +0000 (01:01 +0300)]
Fixed mixed declarations and code

8 years agoMerge branch 'PHP-7.0'
Anatol Belski [Mon, 6 Jun 2016 19:08:18 +0000 (21:08 +0200)]
Merge branch 'PHP-7.0'

* PHP-7.0:
  Add test for bug #53735

8 years agoMerge branch 'PHP-5.6' into PHP-7.0
Anatol Belski [Mon, 6 Jun 2016 19:07:45 +0000 (21:07 +0200)]
Merge branch 'PHP-5.6' into PHP-7.0

* PHP-5.6:
  Add test for bug #53735

8 years agoAdd test for bug #53735
Anatol Belski [Mon, 6 Jun 2016 19:06:06 +0000 (21:06 +0200)]
Add test for bug #53735

8 years agomicro-optimization
Dmitry Stogov [Mon, 6 Jun 2016 17:45:10 +0000 (20:45 +0300)]
micro-optimization

8 years agosimplification
Dmitry Stogov [Mon, 6 Jun 2016 12:50:06 +0000 (15:50 +0300)]
simplification

8 years agoImprove type narrowing (check only SSA definitions).
Dmitry Stogov [Mon, 6 Jun 2016 11:57:02 +0000 (14:57 +0300)]
Improve type narrowing (check only SSA definitions).

8 years agoFix correctness issues with type narrowing
Nikita Popov [Sun, 5 Jun 2016 13:36:14 +0000 (15:36 +0200)]
Fix correctness issues with type narrowing

Fixes bug #72335.

8 years agoMerge branch 'PHP-7.0'
Anatol Belski [Mon, 6 Jun 2016 11:33:39 +0000 (13:33 +0200)]
Merge branch 'PHP-7.0'

* PHP-7.0:
  fix ibase handle initialization, mostly compiler warnings

8 years agofix ibase handle initialization, mostly compiler warnings
Anatol Belski [Mon, 6 Jun 2016 11:30:17 +0000 (13:30 +0200)]
fix ibase handle initialization, mostly compiler warnings

8 years agoMerge branch 'PHP-7.0'
Anatol Belski [Mon, 6 Jun 2016 06:58:40 +0000 (08:58 +0200)]
Merge branch 'PHP-7.0'

* PHP-7.0:
  fix typo

8 years agoMerge branch 'PHP-5.6' into PHP-7.0
Anatol Belski [Mon, 6 Jun 2016 06:58:08 +0000 (08:58 +0200)]
Merge branch 'PHP-5.6' into PHP-7.0

* PHP-5.6:
  fix typo

8 years agofix typo
Anatol Belski [Mon, 6 Jun 2016 06:56:40 +0000 (08:56 +0200)]
fix typo

8 years agohard_timeout ignored on TS
Anatol Belski [Sun, 5 Jun 2016 22:22:04 +0000 (00:22 +0200)]
hard_timeout ignored on TS

8 years agofix hard_timeout support in shutdown functions
Anatol Belski [Sun, 5 Jun 2016 09:38:12 +0000 (11:38 +0200)]
fix hard_timeout support in shutdown functions

8 years agoMerge branch 'PHP-7.0'
Anatol Belski [Mon, 6 Jun 2016 06:23:22 +0000 (08:23 +0200)]
Merge branch 'PHP-7.0'

* PHP-7.0:
  fix broken skipif and add xfail for now

8 years agoMerge branch 'PHP-5.6' into PHP-7.0
Anatol Belski [Mon, 6 Jun 2016 06:21:39 +0000 (08:21 +0200)]
Merge branch 'PHP-5.6' into PHP-7.0

* PHP-5.6:
  fix broken skipif and add xfail for now

8 years agofix broken skipif and add xfail for now
Anatol Belski [Mon, 6 Jun 2016 06:20:01 +0000 (08:20 +0200)]
fix broken skipif and add xfail for now

8 years agoMerge branch 'PHP-7.0'
Anatol Belski [Mon, 6 Jun 2016 05:34:34 +0000 (07:34 +0200)]
Merge branch 'PHP-7.0'

* PHP-7.0:
  missing return

8 years agoMerge branch 'PHP-5.6' into PHP-7.0
Anatol Belski [Mon, 6 Jun 2016 05:33:36 +0000 (07:33 +0200)]
Merge branch 'PHP-5.6' into PHP-7.0

* PHP-5.6:
  missing return

8 years agomissing return
Anatol Belski [Mon, 6 Jun 2016 05:27:45 +0000 (07:27 +0200)]
missing return

8 years agoFix VERIFY_RETURN_TYPE elision
Nikita Popov [Sun, 5 Jun 2016 21:43:20 +0000 (23:43 +0200)]
Fix VERIFY_RETURN_TYPE elision

This both fixes incorrect elision and allows elision for cases
where we only have a subset (e.g. true of bool).

8 years agoFix bug71843.phpt
Nikita Popov [Sun, 5 Jun 2016 21:03:52 +0000 (23:03 +0200)]
Fix bug71843.phpt

Is Travis not running opcache tests?

8 years agoCheck SKIP_SLOW_TESTS in issue0140.phpt
Nikita Popov [Sun, 5 Jun 2016 21:02:01 +0000 (23:02 +0200)]
Check SKIP_SLOW_TESTS in issue0140.phpt

This test contains two sleeps...

8 years agoFix SSA NOP removal
Nikita Popov [Sun, 5 Jun 2016 21:00:32 +0000 (23:00 +0200)]
Fix SSA NOP removal

NOPs need to be tracked in the shiftlist as well, as there may be
jumps to NOPs.

8 years agoFix handling of parse_str() with unpack in optimizer
Nikita Popov [Sun, 5 Jun 2016 20:16:15 +0000 (22:16 +0200)]
Fix handling of parse_str() with unpack in optimizer

8 years agoDon't optimize special dynamic calls to non-dynamic
Nikita Popov [Sun, 5 Jun 2016 19:58:58 +0000 (21:58 +0200)]
Don't optimize special dynamic calls to non-dynamic

As it drops the warning. This is more problematic with constant
propagation, as tests would fail.

Extract a zend_optimizer_classify_function() function, as its now
needed by zend_cfg and update_opN.

8 years agoMerge branch 'PHP-7.0'
Jakub Zelenka [Sun, 5 Jun 2016 16:31:05 +0000 (17:31 +0100)]
Merge branch 'PHP-7.0'

8 years agoMerge branch 'PHP-5.6' into PHP-7.0
Jakub Zelenka [Sun, 5 Jun 2016 16:30:03 +0000 (17:30 +0100)]
Merge branch 'PHP-5.6' into PHP-7.0

8 years agoAdd new test for openssl_pkey_new
Jakub Zelenka [Sun, 5 Jun 2016 16:27:47 +0000 (17:27 +0100)]
Add new test for openssl_pkey_new

8 years agoAdd test for openssl_error_string
Jakub Zelenka [Sun, 5 Jun 2016 16:23:05 +0000 (17:23 +0100)]
Add test for openssl_error_string

This test is important for making sure that the error strings
from OpenSSL works as expected and we can safely add a fix
for storing the strings that is prepared.

8 years agoRemove openssl_x509_parse for OpenSSL 0.9.x
Jakub Zelenka [Sun, 5 Jun 2016 15:28:50 +0000 (16:28 +0100)]
Remove openssl_x509_parse for OpenSSL 0.9.x

The test is unstable and it actually fails with latest 0.9.8

8 years agoFixed bug #53432
Nikita Popov [Sun, 14 Feb 2016 15:49:36 +0000 (16:49 +0100)]
Fixed bug #53432

This change was discussed a while ago in the "negative string
offsets" thread.

8 years agoFix typo
xiabeifeng [Fri, 11 Mar 2016 07:21:46 +0000 (15:21 +0800)]
Fix typo

8 years agoForbid ?void
Nikita Popov [Sat, 4 Jun 2016 12:53:50 +0000 (14:53 +0200)]
Forbid ?void

8 years agoMore explicit errors for return; vs return null;
Nikita Popov [Sat, 4 Jun 2016 11:25:52 +0000 (13:25 +0200)]
More explicit errors for return; vs return null;

Both for "return null" in a void function and "return" in
a nullable return function.

8 years agoForbid "return;" for typed returns already at compile-time
Nikita Popov [Sat, 4 Jun 2016 11:13:25 +0000 (13:13 +0200)]
Forbid "return;" for typed returns already at compile-time

These would otherwise generate a "none returned" error at runtime.
Catch them early.

8 years agoSmall generator-related cleanups
Nikita Popov [Sat, 4 Jun 2016 10:59:35 +0000 (12:59 +0200)]
Small generator-related cleanups

8 years agoupdate NEWS
Anatol Belski [Thu, 2 Jun 2016 22:19:23 +0000 (00:19 +0200)]
update NEWS

8 years agoEnable per-module logging in Apache 2.4+
Martin Vobruba [Tue, 24 May 2016 16:13:00 +0000 (18:13 +0200)]
Enable per-module logging in Apache 2.4+

8 years agoupdate NEWS
Anatol Belski [Thu, 2 Jun 2016 21:08:26 +0000 (23:08 +0200)]
update NEWS

8 years agoadded test for bug #47517
Anatol Belski [Thu, 2 Jun 2016 21:06:20 +0000 (23:06 +0200)]
added test for bug #47517

8 years agoFix bug #47517 php-cgi.exe missing UAC manifest
maxdax15801 [Fri, 29 Apr 2016 18:44:28 +0000 (20:44 +0200)]
Fix bug #47517 php-cgi.exe missing UAC manifest

Add a <requestedExecutionLevel> to the manifest so Windows doesn't
use file and registry virtualization for backwards compatibility
with pre-Vista versions.

8 years agoupdate NEWS
Anatol Belski [Thu, 2 Jun 2016 20:43:43 +0000 (22:43 +0200)]
update NEWS

8 years agoFixed bug #69398 IntlDateFormatter formatObject returns wrong value when time style...
Mic [Thu, 2 Jun 2016 20:37:44 +0000 (22:37 +0200)]
Fixed bug #69398 IntlDateFormatter formatObject returns wrong value when time style is NONE

8 years agoFixed bug #69374 IntlDateFormatter formatObject returns wrong utf8 value
Mic [Thu, 2 Jun 2016 20:27:48 +0000 (22:27 +0200)]
Fixed bug #69374 IntlDateFormatter formatObject returns wrong utf8 value

Relying on invariant strings is a mistake. Not only UTF-8, but also
many charsets are not single byte. Actual date formats can be mixed
with arbitrary strings, and this can bring erroneous results in the
out. Thus, instead it is more convenient to say, that a format string
can consist either on UTF-8 or on pure ASCII as its subset. This is
what is currently being done in other classes like Formatter, etc.
as well.

8 years agofix dangling pointer, phpdbg reveals it
Anatol Belski [Thu, 2 Jun 2016 17:42:50 +0000 (19:42 +0200)]
fix dangling pointer, phpdbg reveals it

8 years agofix known interned strings init with TS per request
Anatol Belski [Thu, 2 Jun 2016 15:55:48 +0000 (17:55 +0200)]
fix known interned strings init with TS per request

8 years agoupdate UPGRADING
Anatol Belski [Thu, 2 Jun 2016 12:30:27 +0000 (14:30 +0200)]
update UPGRADING

8 years agoupdate NEWS
Anatol Belski [Thu, 2 Jun 2016 12:23:30 +0000 (14:23 +0200)]
update NEWS

8 years agofix typo
Anatol Belski [Thu, 2 Jun 2016 12:22:14 +0000 (14:22 +0200)]
fix typo

8 years agofix typo
Anatol Belski [Thu, 2 Jun 2016 11:28:09 +0000 (13:28 +0200)]
fix typo

8 years agoAdded backwards compability with php_log_err by using macro
Jani Ollikainen [Wed, 6 Apr 2016 11:14:41 +0000 (14:14 +0300)]
Added backwards compability with php_log_err by using macro

8 years agoLogging to syslog with dynamic error levels (related to #49467)
Jani Ollikainen [Tue, 29 Dec 2015 10:18:41 +0000 (12:18 +0200)]
Logging to syslog with dynamic error levels (related to #49467)

8 years agoimprove date header code
Anatol Belski [Thu, 2 Jun 2016 11:13:54 +0000 (13:13 +0200)]
improve date header code

8 years agoupdate NEWS
Anatol Belski [Thu, 2 Jun 2016 10:37:51 +0000 (12:37 +0200)]
update NEWS

8 years agoAdded mandatory Date: header to built-in webserver
SeeSchloss [Thu, 21 Jan 2016 17:20:24 +0000 (17:20 +0000)]
Added mandatory Date: header to built-in webserver

8 years agoMerge branch 'PHP-7.0'
Anatol Belski [Thu, 2 Jun 2016 10:21:19 +0000 (12:21 +0200)]
Merge branch 'PHP-7.0'

* PHP-7.0:
  update NEWS
  Fixed bug #70484 selectordinal doesn't work with named parameters

8 years agoMerge branch 'PHP-5.6' into PHP-7.0
Anatol Belski [Thu, 2 Jun 2016 10:20:46 +0000 (12:20 +0200)]
Merge branch 'PHP-5.6' into PHP-7.0

* PHP-5.6:
  update NEWS
  Fixed bug #70484 selectordinal doesn't work with named parameters

8 years agoupdate NEWS
Anatol Belski [Thu, 2 Jun 2016 10:18:33 +0000 (12:18 +0200)]
update NEWS

8 years agoFixed bug #70484 selectordinal doesn't work with named parameters
Anatol Belski [Mon, 11 Apr 2016 13:00:58 +0000 (15:00 +0200)]
Fixed bug #70484 selectordinal doesn't work with named parameters

8 years agoMerge branch 'PHP-7.0'
Anatol Belski [Thu, 2 Jun 2016 10:08:46 +0000 (12:08 +0200)]
Merge branch 'PHP-7.0'

* PHP-7.0:
  Fix ODBC bug for varchars returning with length zero

8 years agoMerge branch 'PHP-5.6' into PHP-7.0
Anatol Belski [Thu, 2 Jun 2016 10:07:54 +0000 (12:07 +0200)]
Merge branch 'PHP-5.6' into PHP-7.0

* PHP-5.6:
  Fix ODBC bug for varchars returning with length zero

8 years agoFix ODBC bug for varchars returning with length zero
Elizabeth Marie Smith [Thu, 14 Jan 2016 12:19:20 +0000 (13:19 +0100)]
Fix ODBC bug for varchars returning with length zero

8 years agoMerge branch 'PHP-7.0'
Xinchen Hui [Thu, 2 Jun 2016 06:17:00 +0000 (14:17 +0800)]
Merge branch 'PHP-7.0'

* PHP-7.0:
  Fixed bug #72308 (fastcgi_finish_request and logging environment variables)

8 years agoFixed bug #72308 (fastcgi_finish_request and logging environment variables)
Xinchen Hui [Thu, 2 Jun 2016 06:16:32 +0000 (14:16 +0800)]
Fixed bug #72308 (fastcgi_finish_request and logging environment variables)

8 years agoUse "fast" assembler functions in "slow" ones.
Dmitry Stogov [Wed, 1 Jun 2016 17:52:14 +0000 (20:52 +0300)]
Use "fast" assembler functions in "slow" ones.
Mark assembler functions that changes memory.

8 years agocleanup
Dmitry Stogov [Wed, 1 Jun 2016 15:07:05 +0000 (18:07 +0300)]
cleanup

8 years agoMerge branch 'PHP-7.0'
Anatol Belski [Wed, 1 Jun 2016 12:09:16 +0000 (14:09 +0200)]
Merge branch 'PHP-7.0'

* PHP-7.0:
  update NEWS

8 years agoupdate NEWS
Anatol Belski [Wed, 1 Jun 2016 12:08:32 +0000 (14:08 +0200)]
update NEWS

8 years agoMerge branch 'PHP-7.0'
Anatol Belski [Wed, 1 Jun 2016 09:57:00 +0000 (11:57 +0200)]
Merge branch 'PHP-7.0'

* PHP-7.0:
  Add test for bug #72294
  Fixed bug #72294 Segmentation fault/invalid pointer in connection with pgsql_stmt_dtor

8 years agoAdd test for bug #72294
Anatol Belski [Wed, 1 Jun 2016 09:52:46 +0000 (11:52 +0200)]
Add test for bug #72294

8 years agoFixed bug #72294 Segmentation fault/invalid pointer in connection with pgsql_stmt_dtor
Anatol Belski [Wed, 1 Jun 2016 09:35:35 +0000 (11:35 +0200)]
Fixed bug #72294 Segmentation fault/invalid pointer in connection with pgsql_stmt_dtor

8 years agoMerge branch 'PHP-7.0'
Xinchen Hui [Wed, 1 Jun 2016 02:46:22 +0000 (10:46 +0800)]
Merge branch 'PHP-7.0'

* PHP-7.0:
  Also include ini_get

8 years agoAlso include ini_get
Xinchen Hui [Wed, 1 Jun 2016 02:46:04 +0000 (10:46 +0800)]
Also include ini_get

8 years agoMerge branch 'PHP-7.0'
Xinchen Hui [Wed, 1 Jun 2016 02:44:37 +0000 (10:44 +0800)]
Merge branch 'PHP-7.0'

* PHP-7.0:
  Forgotten test script for bug #72300

8 years agoForgotten test script for bug #72300
Xinchen Hui [Wed, 1 Jun 2016 02:43:53 +0000 (10:43 +0800)]
Forgotten test script for bug #72300

8 years agoCorrect inline comments regarding pass1/pass2 actions
Sara Golemon [Tue, 31 May 2016 22:33:08 +0000 (22:33 +0000)]
Correct inline comments regarding pass1/pass2 actions

BRK/CONT no longer reach the optimizing following 8542befa7b
Pre-evaluate constant function calls is in pass1, not pass2

8 years agofix test
Anatol Belski [Tue, 31 May 2016 16:54:57 +0000 (18:54 +0200)]
fix test

8 years agoMerge branch 'PHP-7.0'
Anatol Belski [Tue, 31 May 2016 16:53:37 +0000 (18:53 +0200)]
Merge branch 'PHP-7.0'

* PHP-7.0:
  fix test portability

8 years agofix test portability
Anatol Belski [Tue, 31 May 2016 16:42:40 +0000 (18:42 +0200)]
fix test portability

8 years agoMerge branch 'PHP-7.0'
Xinchen Hui [Tue, 31 May 2016 14:24:22 +0000 (07:24 -0700)]
Merge branch 'PHP-7.0'

8 years agoFixed bug #72300 (ignore_user_abort(false) has no effect)
Xinchen Hui [Tue, 31 May 2016 14:24:02 +0000 (07:24 -0700)]
Fixed bug #72300 (ignore_user_abort(false) has no effect)

8 years agoMerge branch 'PHP-7.0'
Xinchen Hui [Tue, 31 May 2016 09:23:03 +0000 (17:23 +0800)]
Merge branch 'PHP-7.0'

* PHP-7.0:
  No sure why this is failed in travis

8 years agoNo sure why this is failed in travis
Xinchen Hui [Tue, 31 May 2016 09:22:47 +0000 (17:22 +0800)]
No sure why this is failed in travis

8 years agoMerge branch 'PHP-7.0'
Xinchen Hui [Tue, 31 May 2016 08:56:12 +0000 (16:56 +0800)]
Merge branch 'PHP-7.0'

* PHP-7.0:
  Fixed test (keyword is local related)

8 years agoFixed test (keyword is local related)
Xinchen Hui [Tue, 31 May 2016 08:54:38 +0000 (16:54 +0800)]
Fixed test (keyword is local related)

8 years agoMerge branch 'PHP-7.0'
Xinchen Hui [Tue, 31 May 2016 08:48:33 +0000 (16:48 +0800)]
Merge branch 'PHP-7.0'

* PHP-7.0:
  Attempt to fix tests fails

8 years agoAttempt to fix tests fails
Xinchen Hui [Tue, 31 May 2016 08:48:19 +0000 (16:48 +0800)]
Attempt to fix tests fails

8 years agoMerge branch 'PHP-7.0'
Xinchen Hui [Tue, 31 May 2016 03:44:33 +0000 (11:44 +0800)]
Merge branch 'PHP-7.0'

* PHP-7.0:
  Re-Fixed bug #72155 (use-after-free caused by get_zval_xmlrpc_type)
  Revert "fix #72155 (use-after-free caused by get_zval_xmlrpc_type)"

8 years agoRe-Fixed bug #72155 (use-after-free caused by get_zval_xmlrpc_type)
Xinchen Hui [Tue, 31 May 2016 03:44:20 +0000 (11:44 +0800)]
Re-Fixed bug #72155 (use-after-free caused by get_zval_xmlrpc_type)

8 years agoRevert "fix #72155 (use-after-free caused by get_zval_xmlrpc_type)"
Xinchen Hui [Tue, 31 May 2016 03:32:09 +0000 (11:32 +0800)]
Revert "fix #72155 (use-after-free caused by get_zval_xmlrpc_type)"

This reverts commit 1690dcb827e2b50eb575b1c6acadab0b8f248723.

8 years agoSplit ZEND_SEND_VAR_NO_REF into ZEND_SEND_VAR_NO_REF and ZEND_SEND_VAR_NO_REF_EX...
Dmitry Stogov [Tue, 31 May 2016 01:06:00 +0000 (04:06 +0300)]
Split ZEND_SEND_VAR_NO_REF into ZEND_SEND_VAR_NO_REF and ZEND_SEND_VAR_NO_REF_EX (similar to ZEND_SEND_VAL) and remove ZEND_ARG_* flags.

8 years agoInitialize only the necessary fields.
Dmitry Stogov [Mon, 30 May 2016 21:04:52 +0000 (00:04 +0300)]
Initialize only the necessary fields.

8 years agoMerge branch 'PHP-7.0'
Anatol Belski [Mon, 30 May 2016 16:36:06 +0000 (18:36 +0200)]
Merge branch 'PHP-7.0'

* PHP-7.0:
  fix condition

8 years agofix condition
Anatol Belski [Mon, 30 May 2016 16:32:39 +0000 (18:32 +0200)]
fix condition

8 years agoMerge branch 'PHP-7.0'
Anatol Belski [Mon, 30 May 2016 12:10:48 +0000 (14:10 +0200)]
Merge branch 'PHP-7.0'

* PHP-7.0:
  update NEWS

8 years agoupdate NEWS
Anatol Belski [Mon, 30 May 2016 12:10:27 +0000 (14:10 +0200)]
update NEWS

8 years agoMerge remote-tracking branch 'origin/PHP-7.0'
Bob Weinand [Mon, 30 May 2016 11:32:37 +0000 (13:32 +0200)]
Merge remote-tracking branch 'origin/PHP-7.0'

8 years agoFixed bug #72284 (phpdbg fatal errors with coverage)
Bob Weinand [Tue, 3 May 2016 11:36:21 +0000 (13:36 +0200)]
Fixed bug #72284 (phpdbg fatal errors with coverage)

Cherry-pick of original commits d3371b and 0f20e11 only present in master