]> granicus.if.org Git - php/log
php
8 years agoFix escape sequences in pgsql.c
Nikita Popov [Thu, 21 Apr 2016 21:41:59 +0000 (23:41 +0200)]
Fix escape sequences in pgsql.c

8 years agoFix constant expr coaleasce with protected mode opcache
Bob Weinand [Thu, 21 Apr 2016 19:51:00 +0000 (21:51 +0200)]
Fix constant expr coaleasce with protected mode opcache

8 years agoFixed bug #72059 - Reference the bug id directly in NEWS
Bob Weinand [Thu, 21 Apr 2016 00:48:52 +0000 (02:48 +0200)]
Fixed bug #72059 - Reference the bug id directly in NEWS

8 years agoFix magic constants (__LINE__) with ?? for constant scalar exprs
Bob Weinand [Thu, 21 Apr 2016 00:45:09 +0000 (02:45 +0200)]
Fix magic constants (__LINE__) with ?? for constant scalar exprs

Also fix general memory leak when root ast gets replaced in compile time evaluation

8 years agoAdd NEWS entry for ?? in constant scalar expressions
Bob Weinand [Wed, 20 Apr 2016 23:24:56 +0000 (01:24 +0200)]
Add NEWS entry for ?? in constant scalar expressions

8 years agoallow null coalescing (??) on constant expressions
Márcio Almada [Sun, 17 Apr 2016 08:27:15 +0000 (04:27 -0400)]
allow null coalescing (??) on constant expressions

8 years agoMerge branch 'PHP-5.6' into PHP-7.0
Nikita Popov [Wed, 20 Apr 2016 17:00:02 +0000 (19:00 +0200)]
Merge branch 'PHP-5.6' into PHP-7.0

Conflicts:
Zend/zend_compile.c

8 years agoFix ZTS builds by adding a missing TSRMLS_FETCH().
Adam Harvey [Tue, 19 Apr 2016 02:20:35 +0000 (19:20 -0700)]
Fix ZTS builds by adding a missing TSRMLS_FETCH().

8 years agoFix bug #71737
Nikita Popov [Wed, 20 Apr 2016 16:37:23 +0000 (18:37 +0200)]
Fix bug #71737

Also improve the error message for $this used in parameters.

8 years agoUpdate NEWS
Xinchen Hui [Wed, 20 Apr 2016 15:42:06 +0000 (08:42 -0700)]
Update NEWS

8 years agoFix RECV opcode to handle all kinds of exceptions
Nikita Nefedov [Tue, 19 Apr 2016 16:26:08 +0000 (19:26 +0300)]
Fix RECV opcode to handle all kinds of exceptions

fix RECV opcode to handle exceptions thrown from user-defined error handler
as a result Notice error from failed type coercion

8 years agoMerge branch 'PHP-5.6' into PHP-7.0
Stanislav Malyshev [Wed, 20 Apr 2016 06:45:21 +0000 (23:45 -0700)]
Merge branch 'PHP-5.6' into PHP-7.0

* PHP-5.6:
  Better fix for #71952

Conflicts:
ext/gd/gd.c

8 years agoBetter fix for #71952
Stanislav Malyshev [Wed, 20 Apr 2016 06:44:00 +0000 (23:44 -0700)]
Better fix for #71952

8 years agoMerge branch 'PHP-5.6' into PHP-7.0
Stanislav Malyshev [Tue, 19 Apr 2016 06:34:26 +0000 (23:34 -0700)]
Merge branch 'PHP-5.6' into PHP-7.0

* PHP-5.6:
  Fix bug #71952: Corruption inside imageaffinematrixget

Conflicts:
ext/gd/gd.c

8 years agoFix bug #71952: Corruption inside imageaffinematrixget
Stanislav Malyshev [Tue, 19 Apr 2016 06:31:03 +0000 (23:31 -0700)]
Fix bug #71952: Corruption inside imageaffinematrixget

8 years agoMerge branch 'PHP-7.0' of git.php.net:/php-src into PHP-7.0
Xinchen Hui [Tue, 19 Apr 2016 02:59:35 +0000 (10:59 +0800)]
Merge branch 'PHP-7.0' of git.php.net:/php-src into PHP-7.0

* 'PHP-7.0' of git.php.net:/php-src:
  Prevent usage in GC after free.
  Fix SEND_USER as well
  Fix SEND_ARRAY+PREFER_REF SHM corruption

8 years agoFixed bug #72051 (The reference in CallbackFilterIterator doesn't work as expected)
Xinchen Hui [Tue, 19 Apr 2016 02:59:10 +0000 (10:59 +0800)]
Fixed bug #72051 (The reference in CallbackFilterIterator doesn't work as expected)

8 years agoMerge branch 'PHP-5.6' into PHP-7.0
Dmitry Stogov [Mon, 18 Apr 2016 22:37:24 +0000 (01:37 +0300)]
Merge branch 'PHP-5.6' into PHP-7.0

* PHP-5.6:
  Prevent usage in GC after free.

8 years agoPrevent usage in GC after free.
Dmitry Stogov [Mon, 18 Apr 2016 22:31:49 +0000 (01:31 +0300)]
Prevent usage in GC after free.

8 years agoFix SEND_USER as well
Nikita Popov [Mon, 18 Apr 2016 20:45:38 +0000 (22:45 +0200)]
Fix SEND_USER as well

Missed copy&paste code here

8 years agoFix SEND_ARRAY+PREFER_REF SHM corruption
Nikita Popov [Mon, 18 Apr 2016 16:24:45 +0000 (18:24 +0200)]
Fix SEND_ARRAY+PREFER_REF SHM corruption

Make the behavior consistent between namespaced and not and with
PHP 5.6.

8 years agocombine conditions
Xinchen Hui [Mon, 18 Apr 2016 11:13:54 +0000 (19:13 +0800)]
combine conditions

8 years agoMerge branch 'PHP-7.0' of https://github.com/php/php-src into PHP-7.0
Bob Weinand [Mon, 18 Apr 2016 10:13:59 +0000 (12:13 +0200)]
Merge branch 'PHP-7.0' of https://github.com/php/php-src into PHP-7.0

8 years agoMerge branch 'PHP-5.6' into PHP-7.0
Ferenc Kovacs [Mon, 18 Apr 2016 07:04:55 +0000 (09:04 +0200)]
Merge branch 'PHP-5.6' into PHP-7.0

* PHP-5.6:
  mark frequent intermittent fpm test with XFAIL

8 years agomark frequent intermittent fpm test with XFAIL
Ferenc Kovacs [Mon, 18 Apr 2016 07:04:27 +0000 (09:04 +0200)]
mark frequent intermittent fpm test with XFAIL

8 years agoMerge branch 'PHP-5.6' into PHP-7.0
Ferenc Kovacs [Mon, 18 Apr 2016 06:15:47 +0000 (08:15 +0200)]
Merge branch 'PHP-5.6' into PHP-7.0

* PHP-5.6:
  prepare for 5.6.21RC1

8 years agoprepare for 5.6.21RC1
Ferenc Kovacs [Mon, 18 Apr 2016 06:14:16 +0000 (08:14 +0200)]
prepare for 5.6.21RC1

8 years agoBump version in test
Christopher Jones [Mon, 18 Apr 2016 01:15:01 +0000 (11:15 +1000)]
Bump version in test

8 years agoFix SEND_UNPACK array separation
Nikita Popov [Sat, 16 Apr 2016 20:33:23 +0000 (22:33 +0200)]
Fix SEND_UNPACK array separation

Separating only immutable arrays is not enough.

8 years agoFix non-/Zend tests too
Bob Weinand [Sat, 16 Apr 2016 18:57:28 +0000 (20:57 +0200)]
Fix non-/Zend tests too

8 years agoFixed bug #72038 (Function calls with values to a by-ref parameter don't always throw...
Bob Weinand [Sat, 16 Apr 2016 18:27:53 +0000 (20:27 +0200)]
Fixed bug #72038 (Function calls with values to a by-ref parameter don't always throw a notice)

8 years agoAdds new curl option CURLOPT_SSL_VERIFYSTATUS to enable OCSP verification
Dominic Luechinger [Wed, 13 Apr 2016 20:14:43 +0000 (22:14 +0200)]
Adds new curl option CURLOPT_SSL_VERIFYSTATUS to enable OCSP verification

8 years agoAdd test for bug #72028
Anatol Belski [Sat, 16 Apr 2016 14:11:22 +0000 (16:11 +0200)]
Add test for bug #72028

8 years agoUse symtable lookup for arrays in array_column
Nikita Popov [Sat, 16 Apr 2016 07:56:08 +0000 (09:56 +0200)]
Use symtable lookup for arrays in array_column

8 years agoRespect property visibility in array_column
Nikita Popov [Sat, 16 Apr 2016 07:52:22 +0000 (09:52 +0200)]
Respect property visibility in array_column

8 years agoFixed bug #72031
Nikita Popov [Fri, 15 Apr 2016 14:28:48 +0000 (16:28 +0200)]
Fixed bug #72031

8 years agoFixed bug #72028 (pg_query_params(): NULL converts to empty string)
Xinchen Hui [Sat, 16 Apr 2016 04:29:27 +0000 (21:29 -0700)]
Fixed bug #72028 (pg_query_params(): NULL converts to empty string)

I don't have a pgsql server by hand, so no test script, but the fix must
be right.

8 years agoFixed bug #71972 (Cyclic references causing session_start(): Failed to decode session...
Xinchen Hui [Sat, 16 Apr 2016 04:08:51 +0000 (21:08 -0700)]
Fixed bug #71972 (Cyclic references causing session_start(): Failed to decode session object)

8 years agoAlign NEWS entry format
Lior Kaplan [Fri, 15 Apr 2016 19:17:37 +0000 (22:17 +0300)]
Align NEWS entry format

8 years agoMerge branch 'PHP-5.6' into PHP-7.0
Lior Kaplan [Fri, 15 Apr 2016 19:09:05 +0000 (22:09 +0300)]
Merge branch 'PHP-5.6' into PHP-7.0

* PHP-5.6:
  Align NEWS entry format

8 years agoAlign NEWS entry format
Lior Kaplan [Fri, 15 Apr 2016 19:07:47 +0000 (22:07 +0300)]
Align NEWS entry format

8 years agoupdate NEWS
Anatol Belski [Fri, 15 Apr 2016 11:41:09 +0000 (13:41 +0200)]
update NEWS

8 years agoFixed #71062 pg_convert() doesn't accept ISO 8601 for datatype timestamp
Anatol Belski [Fri, 15 Apr 2016 11:38:49 +0000 (13:38 +0200)]
Fixed #71062 pg_convert() doesn't accept ISO 8601 for datatype timestamp

8 years agoFixed failed with libedit
Xinchen Hui [Fri, 15 Apr 2016 03:57:53 +0000 (11:57 +0800)]
Fixed failed with libedit

8 years agoFixed bug #72014 (Including a file with anonymous classes multiple times leads to...
Xinchen Hui [Thu, 14 Apr 2016 12:21:19 +0000 (20:21 +0800)]
Fixed bug #72014 (Including a file with anonymous classes multiple times leads to fatal error)

8 years agoOn second thoughts, keep this in sync with 5.6 for 71422
Christopher Jones [Thu, 14 Apr 2016 05:49:15 +0000 (15:49 +1000)]
On second thoughts, keep this in sync with 5.6 for 71422

8 years agoMerge branch 'PHP-5.6' into PHP-7.0
Christopher Jones [Thu, 14 Apr 2016 05:09:02 +0000 (15:09 +1000)]
Merge branch 'PHP-5.6' into PHP-7.0

8 years agoFix old comment cut-n-paste error
Christopher Jones [Thu, 14 Apr 2016 05:08:42 +0000 (15:08 +1000)]
Fix old comment cut-n-paste error

8 years agoFixed bug #71600 (oci_fetch_all segfaults when selecting more than 8 columns) (Tian...
Christopher Jones [Thu, 14 Apr 2016 04:09:16 +0000 (14:09 +1000)]
Fixed bug #71600 (oci_fetch_all segfaults when selecting more than 8 columns) (Tian Yang)

8 years agoMerge fix for bug #71422. No code changed needed in PHP 7
Christopher Jones [Thu, 14 Apr 2016 03:55:32 +0000 (13:55 +1000)]
Merge fix for bug #71422.  No code changed needed in PHP 7

8 years agoFixed bug #71422 (Fix ORA-01438: value larger than specified precision allowed for...
Christopher Jones [Thu, 14 Apr 2016 03:50:01 +0000 (13:50 +1000)]
Fixed bug #71422 (Fix ORA-01438: value larger than specified precision allowed for this column)

8 years agoMerge branch 'PHP-7.0' of https://git.php.net/repository/php-src into PHP-7.0
Christopher Jones [Thu, 14 Apr 2016 03:43:13 +0000 (13:43 +1000)]
Merge branch 'PHP-7.0' of https://git.php.net/repository/php-src into PHP-7.0

8 years agoupdate NEWS
Anatol Belski [Tue, 12 Apr 2016 17:37:36 +0000 (19:37 +0200)]
update NEWS

8 years agoFixed bug #68849 bindValue is not using the right data type
Anatol Belski [Tue, 12 Apr 2016 17:12:45 +0000 (19:12 +0200)]
Fixed bug #68849 bindValue is not using the right data type

8 years agoFix ZEND_SEPARATE for by-val func returning ref zval
Nikita Popov [Tue, 12 Apr 2016 12:39:05 +0000 (14:39 +0200)]
Fix ZEND_SEPARATE for by-val func returning ref zval

8 years agoDrop unnecessary ZEND_SEPARATE code
Nikita Popov [Tue, 12 Apr 2016 12:33:56 +0000 (14:33 +0200)]
Drop unnecessary ZEND_SEPARATE code

The following write ops will separate if necessary.

8 years agophpdbg: close file handles
Joe Watkins [Tue, 12 Apr 2016 12:40:03 +0000 (13:40 +0100)]
phpdbg: close file handles

8 years agofix skipif
Remi Collet [Tue, 12 Apr 2016 11:46:06 +0000 (13:46 +0200)]
fix skipif

8 years agoThis only make sense on *nix
Xinchen Hui [Tue, 12 Apr 2016 07:30:11 +0000 (15:30 +0800)]
This only make sense on *nix

8 years agoprepare next
Anatol Belski [Tue, 12 Apr 2016 04:49:30 +0000 (06:49 +0200)]
prepare next

8 years agoupdate NEWS
Anatol Belski [Mon, 11 Apr 2016 13:37:45 +0000 (15:37 +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 agofix version macro to check
Anatol Belski [Mon, 11 Apr 2016 12:54:58 +0000 (14:54 +0200)]
fix version macro to check

8 years agohandle dummy frame
Joe Watkins [Mon, 11 Apr 2016 12:24:37 +0000 (13:24 +0100)]
handle dummy frame

8 years agoMerge branch 'PHP-7.0' of https://github.com/php/php-src into PHP-7.0
Joe Watkins [Mon, 11 Apr 2016 07:04:14 +0000 (08:04 +0100)]
Merge branch 'PHP-7.0' of https://github.com/php/php-src into PHP-7.0

8 years agofix calendar segfault
Joe Watkins [Mon, 11 Apr 2016 07:03:15 +0000 (08:03 +0100)]
fix calendar segfault

8 years agoupdate NEWS
Anatol Belski [Sun, 10 Apr 2016 17:10:45 +0000 (19:10 +0200)]
update NEWS

8 years agoFixed bug #71998 Function pg_insert does not insert when column type = inet
Anatol Belski [Sun, 10 Apr 2016 16:48:35 +0000 (18:48 +0200)]
Fixed bug #71998 Function pg_insert does not insert when column type = inet

8 years agoFixed bug #65480 No declaration for msgformat_fix_quotes() in msgformat.c or msgforma...
Anatol Belski [Sat, 9 Apr 2016 17:10:53 +0000 (19:10 +0200)]
Fixed bug #65480 No declaration for msgformat_fix_quotes() in msgformat.c or msgformat_attr.c

8 years agoMerge branch 'PHP-7.0' of git.php.net:/php-src into PHP-7.0
Xinchen Hui [Sat, 9 Apr 2016 17:02:20 +0000 (10:02 -0700)]
Merge branch 'PHP-7.0' of git.php.net:/php-src into PHP-7.0

8 years agoFixed bug #71995 (Returning the same var twice from __sleep() produces broken seriali...
Xinchen Hui [Sat, 9 Apr 2016 17:01:04 +0000 (10:01 -0700)]
Fixed bug #71995 (Returning the same var twice from __sleep() produces broken serialized data)

8 years agoupdate NEWS
Anatol Belski [Sat, 9 Apr 2016 16:52:59 +0000 (18:52 +0200)]
update NEWS

8 years agoFixed bug #66289 Locale::lookup incorrectly returns en or en_US if locale is empty
Anatol Belski [Sat, 9 Apr 2016 16:22:57 +0000 (18:22 +0200)]
Fixed bug #66289 Locale::lookup incorrectly returns en or en_US if locale is empty

8 years agoEnable configure without opcache-file and huge-code-pages
Lior Kaplan [Sat, 9 Apr 2016 12:57:57 +0000 (15:57 +0300)]
Enable configure without opcache-file and huge-code-pages

This doesn't chagne the default (yes for both features), but respects
--disable-opcache-file and --disable-huge-code-pages configure flags if given.

8 years agoMerge branch 'PHP-5.6' into PHP-7.0
Lior Kaplan [Fri, 8 Apr 2016 22:35:30 +0000 (01:35 +0300)]
Merge branch 'PHP-5.6' into PHP-7.0

* PHP-5.6:
  opcache config.m4: Use = for comparison

8 years agoopcache config.m4: Use = for comparison
Lior Kaplan [Fri, 8 Apr 2016 19:38:07 +0000 (22:38 +0300)]
opcache config.m4: Use = for comparison

8 years agofix indent
Anatol Belski [Fri, 8 Apr 2016 12:17:57 +0000 (14:17 +0200)]
fix indent

8 years agoupdate NEWS
Anatol Belski [Fri, 8 Apr 2016 11:51:29 +0000 (13:51 +0200)]
update NEWS

8 years agofix compat for ICU < 50
Anatol Belski [Fri, 8 Apr 2016 10:48:26 +0000 (12:48 +0200)]
fix compat for ICU < 50

8 years agoFixed bug #68893 Stackoverflow in datefmt_create
Anatol Belski [Fri, 8 Apr 2016 10:29:40 +0000 (12:29 +0200)]
Fixed bug #68893 Stackoverflow in datefmt_create

8 years agoAdded missing newline.
Daniel Persson [Mon, 7 Sep 2015 20:23:26 +0000 (22:23 +0200)]
Added missing newline.

8 years agoChanged to check for error with the new function that returns null if error is set
Daniel Persson [Mon, 7 Sep 2015 20:15:52 +0000 (22:15 +0200)]
Changed to check for error with the new function that returns null if error is set

8 years agoAdded function to check error and return null if error is set.
Daniel Persson [Mon, 7 Sep 2015 20:15:23 +0000 (22:15 +0200)]
Added function to check error and return null if error is set.

8 years agoAdded tests for bug 70451 and 70452
Daniel Persson [Mon, 7 Sep 2015 20:14:36 +0000 (22:14 +0200)]
Added tests for bug 70451 and 70452

8 years agoFixed bug #71986 (Nested foreach assign-by-reference creates broken variables)
Xinchen Hui [Fri, 8 Apr 2016 09:57:51 +0000 (17:57 +0800)]
Fixed bug #71986 (Nested foreach assign-by-reference creates broken variables)

8 years agoupdate NEWS
Anatol Belski [Fri, 8 Apr 2016 09:01:42 +0000 (11:01 +0200)]
update NEWS

8 years agoFixed bug #70455 Missing constant: IntlChar::NO_NUMERIC_VALUE
Anatol Belski [Fri, 8 Apr 2016 07:55:57 +0000 (09:55 +0200)]
Fixed bug #70455 Missing constant: IntlChar::NO_NUMERIC_VALUE

8 years agoupdate NEWS
Anatol Belski [Fri, 8 Apr 2016 07:28:41 +0000 (09:28 +0200)]
update NEWS

8 years agoFixed bug #71516 IntlDateFormatter losts locale if pattern is set via constructor
Anatol Belski [Fri, 8 Apr 2016 06:59:06 +0000 (08:59 +0200)]
Fixed bug #71516 IntlDateFormatter losts locale if pattern is set via constructor

8 years agoMerge branch 'PHP-7.0' of git.php.net:/php-src into PHP-7.0
Xinchen Hui [Thu, 7 Apr 2016 11:29:49 +0000 (19:29 +0800)]
Merge branch 'PHP-7.0' of git.php.net:/php-src into PHP-7.0

* 'PHP-7.0' of git.php.net:/php-src:
  Fixed bug #71980

8 years agoImproved fix for #71940
Xinchen Hui [Thu, 7 Apr 2016 11:28:54 +0000 (19:28 +0800)]
Improved fix for #71940

8 years agoFixed bug #71980
Nikita Popov [Thu, 7 Apr 2016 10:25:42 +0000 (12:25 +0200)]
Fixed bug #71980

8 years agoMerge branch 'PHP-7.0' of git.php.net:/php-src into PHP-7.0
Xinchen Hui [Thu, 7 Apr 2016 05:58:00 +0000 (13:58 +0800)]
Merge branch 'PHP-7.0' of git.php.net:/php-src into PHP-7.0

* 'PHP-7.0' of git.php.net:/php-src:
  Remove __halt_compiler from semi-reserved tokens
  Fixed Bug #71974 Trans sid will always be send, even if cookies are available
  Optimized array_fill(). This is a perfect function for fast creation of packed arrays.
  Fixed build
  fix merge mistake
  fix tests
  PostgreSQL's PDOStatement::getColumnMeta() fills in table's name.
  fix indent
  Fixed bug #71978 (Existence of return type hint affects other compatibility rules)
  fix test
  fix bug #71667 (emulate how mssql extension names "computed" columns)
  update NEWS
  add 32-bit specific variont for #62498
  skip test on 32-bit
  make opcache lockfile path configurable
  return zvals instead of strings, cast or not based on stringify attribute
  fix test
  add skip slow test

8 years agoFixed bug #71940 (Unserialize crushes on restore object reference)
Xinchen Hui [Thu, 7 Apr 2016 05:56:55 +0000 (13:56 +0800)]
Fixed bug #71940 (Unserialize crushes on restore object reference)

8 years agoRemove __halt_compiler from semi-reserved tokens
Nikita Popov [Thu, 7 Apr 2016 03:51:49 +0000 (05:51 +0200)]
Remove __halt_compiler from semi-reserved tokens

token_get_all() is not capable of dealing with this one correctly.

8 years agoFixed Bug #71974 Trans sid will always be send, even if cookies are available
Yasuo Ohgaki [Thu, 7 Apr 2016 01:25:35 +0000 (10:25 +0900)]
Fixed Bug #71974 Trans sid will always be send, even if cookies are available

8 years agoOptimized array_fill(). This is a perfect function for fast creation of packed arrays.
Dmitry Stogov [Wed, 6 Apr 2016 22:01:11 +0000 (01:01 +0300)]
Optimized array_fill(). This is a perfect function for fast creation of packed arrays.

8 years agoFixed build
Dmitry Stogov [Wed, 6 Apr 2016 21:59:21 +0000 (00:59 +0300)]
Fixed build

8 years agofix merge mistake
Anatol Belski [Wed, 6 Apr 2016 16:05:39 +0000 (18:05 +0200)]
fix merge mistake

8 years agofix tests
Anatol Belski [Wed, 6 Apr 2016 15:42:23 +0000 (17:42 +0200)]
fix tests