]> granicus.if.org Git - php/log
php
9 years agorun credits script
Anatol Belski [Tue, 4 Aug 2015 14:30:53 +0000 (16:30 +0200)]
run credits script

9 years agoFixed possible access to uninitialized data (prevents valgrind issues in Zend/tests...
Dmitry Stogov [Tue, 4 Aug 2015 07:48:32 +0000 (10:48 +0300)]
Fixed possible access to uninitialized data (prevents valgrind issues in Zend/tests/bug70089.phpt)

9 years agoAdded NEWS entry
Dmitry Stogov [Tue, 4 Aug 2015 06:55:54 +0000 (09:55 +0300)]
Added NEWS entry

9 years agoGet rid of ZEND_FAST_CALL_UNBOUND
Dmitry Stogov [Tue, 4 Aug 2015 05:35:40 +0000 (08:35 +0300)]
Get rid of ZEND_FAST_CALL_UNBOUND

9 years agoMove most "finally" related code-generation from pass_two() to compiler.
Dmitry Stogov [Tue, 4 Aug 2015 04:37:06 +0000 (07:37 +0300)]
Move most "finally" related code-generation from pass_two() to compiler.

9 years agoTry to fix finally issue
Nikita Popov [Fri, 10 Jul 2015 11:30:25 +0000 (13:30 +0200)]
Try to fix finally issue

9 years agoMerge branch 'pull-request/1449'
Christoph M. Becker [Tue, 4 Aug 2015 01:37:41 +0000 (03:37 +0200)]
Merge branch 'pull-request/1449'

* pull-request/1449:
  Remove unneded space(s)

9 years agoFix further leaks
Bob Weinand [Mon, 3 Aug 2015 23:22:04 +0000 (01:22 +0200)]
Fix further leaks

9 years agoFix valgrind errors in phpdbg
Bob Weinand [Mon, 3 Aug 2015 22:00:10 +0000 (00:00 +0200)]
Fix valgrind errors in phpdbg

Revert "We cannot safely assume that all op array will be refcount 0 after execution"
This reverts commit b6936adb58288a0606ed847802d9226cddb41e2b.

This change turns out to not have been a clever idea and was causing more weirdness than it helped...

9 years agoFix last invalid read
Bob Weinand [Mon, 3 Aug 2015 18:49:41 +0000 (20:49 +0200)]
Fix last invalid read
Also revert debugging run-tests.php changes...

9 years agoFix a few valgrind errors in phpdbg
Bob Weinand [Mon, 3 Aug 2015 18:27:46 +0000 (20:27 +0200)]
Fix a few valgrind errors in phpdbg

9 years agoFix breaking on HANDLE_EXCEPTION (opline_before_exception)
Bob Weinand [Mon, 3 Aug 2015 15:15:26 +0000 (17:15 +0200)]
Fix breaking on HANDLE_EXCEPTION (opline_before_exception)

9 years agoMerge branch 'fast_memcpy' of github.com:bogdanandone/php-src
Dmitry Stogov [Mon, 3 Aug 2015 12:07:26 +0000 (15:07 +0300)]
Merge branch 'fast_memcpy' of github.com:bogdanandone/php-src

* 'fast_memcpy' of github.com:bogdanandone/php-src:
  opcache: Patch SSE based fast_memcpy() implementation

9 years agoRemove unneded space(s)
Dmitry Patsura [Mon, 3 Aug 2015 10:38:41 +0000 (18:38 +0800)]
Remove unneded space(s)

9 years agoFixed tests (system dependent numbers are replaced with %d)
Dmitry Stogov [Mon, 3 Aug 2015 06:53:13 +0000 (09:53 +0300)]
Fixed tests (system dependent numbers are replaced with %d)

9 years agoFixed test
Dmitry Stogov [Mon, 3 Aug 2015 06:11:38 +0000 (09:11 +0300)]
Fixed test

9 years agoupdated UPGRADING
Christoph M. Becker [Sun, 2 Aug 2015 22:24:39 +0000 (00:24 +0200)]
updated UPGRADING

The ZipArchive::setCompressionIndex() and ::setCompressionName() methods
introduced with 3a55ea02 were missing.

9 years agoGive better credit in NEWS
Bob Weinand [Sun, 2 Aug 2015 17:49:52 +0000 (19:49 +0200)]
Give better credit in NEWS

Patch is actually exactly what he proposed, so...

9 years agoFixed bug #70182 (Segfault in ZEND_ASSIGN_OP handlers)
Bob Weinand [Sun, 2 Aug 2015 17:08:39 +0000 (19:08 +0200)]
Fixed bug #70182 (Segfault in ZEND_ASSIGN_OP handlers)

9 years agomore info for UPGRADING.INTERNALS
Anatol Belski [Sun, 2 Aug 2015 15:49:06 +0000 (17:49 +0200)]
more info for UPGRADING.INTERNALS

9 years agoupdated NEWS
Anatol Belski [Sun, 2 Aug 2015 14:53:11 +0000 (16:53 +0200)]
updated NEWS

9 years agoFixed bug #70183 null pointer deref (segfault) in zend_eval_const_expr
Hugh Davenport [Sun, 2 Aug 2015 14:51:23 +0000 (16:51 +0200)]
Fixed bug #70183 null pointer deref (segfault) in zend_eval_const_expr

9 years agofix inconsistent dll linkage
Anatol Belski [Sun, 2 Aug 2015 14:26:48 +0000 (16:26 +0200)]
fix inconsistent dll linkage

9 years agoremove TSRMLS_*
Anatol Belski [Sun, 2 Aug 2015 11:42:01 +0000 (13:42 +0200)]
remove TSRMLS_*

either remains or merged in from PHP5

9 years agoproperly export ext/odbc globals
Anatol Belski [Sun, 2 Aug 2015 11:05:10 +0000 (13:05 +0200)]
properly export ext/odbc globals

9 years agoupdated NEWS
Anatol Belski [Sun, 2 Aug 2015 07:30:00 +0000 (09:30 +0200)]
updated NEWS

9 years agoFixed bug #69896 'asm' operand has impossible constraints
Anatol Belski [Sun, 2 Aug 2015 07:25:24 +0000 (09:25 +0200)]
Fixed bug #69896 'asm' operand has impossible constraints

Given it's an issue with 32-bit gcc-4.8, asm is disabled for the
breaking parts.

9 years agofix test
Anatol Belski [Sat, 1 Aug 2015 12:30:27 +0000 (14:30 +0200)]
fix test

catching up with the localization changes in CRT

9 years agoMerge branch 'PHP-5.6'
Christoph M. Becker [Sat, 1 Aug 2015 21:55:44 +0000 (23:55 +0200)]
Merge branch 'PHP-5.6'

9 years agofixed test
Christoph M. Becker [Sat, 1 Aug 2015 21:52:35 +0000 (23:52 +0200)]
fixed test

9 years agoSkip shebang line if present
Bob Weinand [Sat, 1 Aug 2015 19:33:23 +0000 (21:33 +0200)]
Skip shebang line if present

9 years agoFixed Bug #69998 curl multi leaking memory
Pierrick Charron [Sat, 1 Aug 2015 18:22:36 +0000 (14:22 -0400)]
Fixed Bug #69998 curl multi leaking memory

Fix the pointer address passed to the comparator and call
zend_list_delete instead of zend_list_close to avoid closing
the resource if still used.

9 years agoFix bug #70179 ($this refcount issue)
Bob Weinand [Sat, 1 Aug 2015 18:35:56 +0000 (20:35 +0200)]
Fix bug #70179 ($this refcount issue)

9 years agoOptimize btree/find_closest a bit
Bob Weinand [Sat, 1 Aug 2015 16:20:26 +0000 (18:20 +0200)]
Optimize btree/find_closest a bit

9 years agoMerge branch 'PHP-5.6'
Christoph M. Becker [Sat, 1 Aug 2015 12:21:01 +0000 (14:21 +0200)]
Merge branch 'PHP-5.6'

9 years agomentioned cURL file uploads in the "backward incompatible changes" section
Christoph M. Becker [Sat, 1 Aug 2015 12:15:44 +0000 (14:15 +0200)]
mentioned cURL file uploads in the "backward incompatible changes" section

9 years agoMerge branch 'PHP-5.6'
Christoph M. Becker [Fri, 31 Jul 2015 17:55:07 +0000 (19:55 +0200)]
Merge branch 'PHP-5.6'

* PHP-5.6:
  test fails with old libxml2; skip in this case

9 years agotest fails with old libxml2; skip in this case
Christoph M. Becker [Fri, 31 Jul 2015 17:52:42 +0000 (19:52 +0200)]
test fails with old libxml2; skip in this case

9 years agoavoid unnecessary scoping
Anatol Belski [Fri, 31 Jul 2015 12:02:03 +0000 (14:02 +0200)]
avoid unnecessary scoping

9 years agoremove useless ifdefs
Anatol Belski [Fri, 31 Jul 2015 11:43:17 +0000 (13:43 +0200)]
remove useless ifdefs

the most outer block already tell's it's ZTS code

9 years agoFix tests
Bob Weinand [Fri, 31 Jul 2015 12:39:06 +0000 (14:39 +0200)]
Fix tests

9 years agoMerge branch 'PHP-5.6'
Christoph M. Becker [Fri, 31 Jul 2015 11:54:32 +0000 (13:54 +0200)]
Merge branch 'PHP-5.6'

* PHP-5.6:
  test requires imagejpeg(); skip otherwise

9 years agotest requires imagejpeg(); skip otherwise
Christoph M. Becker [Fri, 31 Jul 2015 11:51:49 +0000 (13:51 +0200)]
test requires imagejpeg(); skip otherwise

9 years agoupdated NEWS
Anatol Belski [Fri, 31 Jul 2015 11:32:16 +0000 (13:32 +0200)]
updated NEWS

9 years agoFixed bug #70108 sometimes empty $_SERVER['QUERY_STRING']
Anatol Belski [Fri, 31 Jul 2015 11:22:24 +0000 (13:22 +0200)]
Fixed bug #70108 sometimes empty $_SERVER['QUERY_STRING']

auto_globals_jit is the reason every thread needs a copy. Otherwise
every thread will operate on the master values which can't end good.

9 years agoRemove debug instructions (...)
Bob Weinand [Fri, 31 Jul 2015 11:23:30 +0000 (13:23 +0200)]
Remove debug instructions (...)

9 years agopear 1.10.0dev2
Ferenc Kovacs [Fri, 31 Jul 2015 08:19:51 +0000 (10:19 +0200)]
pear 1.10.0dev2

9 years agoImplicit return should be always on the last line of a function
Bob Weinand [Fri, 31 Jul 2015 00:44:42 +0000 (02:44 +0200)]
Implicit return should be always on the last line of a function

9 years agoDo not mark automatic return 1; as executable
Bob Weinand [Fri, 31 Jul 2015 00:26:28 +0000 (02:26 +0200)]
Do not mark automatic return 1; as executable

9 years agoFix oplog trace with already freed closures
Bob Weinand [Fri, 31 Jul 2015 00:05:49 +0000 (02:05 +0200)]
Fix oplog trace with already freed closures

9 years agoremoved another E_STRICT(with the approval of Derick), 3 more to go
Ferenc Kovacs [Thu, 30 Jul 2015 11:53:44 +0000 (13:53 +0200)]
removed another E_STRICT(with the approval of Derick), 3 more to go

9 years agoMore PHP7 compat (Rajendra/Senthil)
Christopher Jones [Thu, 30 Jul 2015 10:25:40 +0000 (20:25 +1000)]
More PHP7 compat (Rajendra/Senthil)

9 years agoupdate UPGRADING
Xinchen Hui [Thu, 30 Jul 2015 07:23:15 +0000 (15:23 +0800)]
update UPGRADING

9 years agoMerge branch 'master' of git.php.net:php-src
Xinchen Hui [Thu, 30 Jul 2015 07:21:07 +0000 (15:21 +0800)]
Merge branch 'master' of git.php.net:php-src

9 years agoFixed condition
Xinchen Hui [Thu, 30 Jul 2015 07:09:56 +0000 (15:09 +0800)]
Fixed condition

9 years agoadd macro to access globals as whole
Anatol Belski [Thu, 30 Jul 2015 06:31:00 +0000 (08:31 +0200)]
add macro to access globals as whole

9 years agofork test
Anatol Belski [Thu, 30 Jul 2015 05:31:42 +0000 (07:31 +0200)]
fork test

9 years agoFixed bug #70163 (curl_setopt_array() type confusion)
Xinchen Hui [Thu, 30 Jul 2015 05:40:59 +0000 (13:40 +0800)]
Fixed bug #70163 (curl_setopt_array() type confusion)

9 years agoMerge branch 'zval_dump_consistent' of https://github.com/laruence/php-src
Xinchen Hui [Thu, 30 Jul 2015 05:14:38 +0000 (13:14 +0800)]
Merge branch 'zval_dump_consistent' of https://github.com/laruence/php-src

9 years ago"This" is C++ keyword
Xinchen Hui [Thu, 30 Jul 2015 03:30:34 +0000 (11:30 +0800)]
"This" is C++ keyword

9 years agoAdd NEWS entry
Bob Weinand [Wed, 29 Jul 2015 19:00:43 +0000 (21:00 +0200)]
Add NEWS entry

9 years agofix wrong info
Anatol Belski [Wed, 29 Jul 2015 17:30:36 +0000 (19:30 +0200)]
fix wrong info

9 years agoFix bug #70164 (__COMPILER_HALT_OFFSET__ under namespace is not defined)
Bob Weinand [Wed, 29 Jul 2015 17:18:13 +0000 (19:18 +0200)]
Fix bug #70164 (__COMPILER_HALT_OFFSET__ under namespace is not defined)

9 years agoupdated UPGRADING
Christoph M. Becker [Wed, 29 Jul 2015 16:28:18 +0000 (18:28 +0200)]
updated UPGRADING

9 years agoMerge branch 'pull-request/1439'
Christoph M. Becker [Wed, 29 Jul 2015 16:21:46 +0000 (18:21 +0200)]
Merge branch 'pull-request/1439'

* pull-request/1439:
  fixed broken test
  add new error constant PREG_JIT_STACKLIMIT_ERROR

9 years agodocument globals accesor macro and tls specifiers
Anatol Belski [Wed, 29 Jul 2015 15:26:05 +0000 (17:26 +0200)]
document globals accesor macro and tls specifiers

9 years agoadd one more thread storage specifier to allow external link
Anatol Belski [Wed, 29 Jul 2015 14:56:22 +0000 (16:56 +0200)]
add one more thread storage specifier to allow external link

9 years agofix thread safety
Anatol Belski [Wed, 29 Jul 2015 13:12:45 +0000 (15:12 +0200)]
fix thread safety

9 years agofix thread safety and zeroing method
Anatol Belski [Wed, 29 Jul 2015 11:35:26 +0000 (13:35 +0200)]
fix thread safety and zeroing method

9 years agoupdated NEWS
Christoph M. Becker [Wed, 29 Jul 2015 15:04:09 +0000 (17:04 +0200)]
updated NEWS

9 years agoFix #70158: Building with static imap fails
Christoph M. Becker [Wed, 29 Jul 2015 15:00:37 +0000 (17:00 +0200)]
Fix #70158: Building with static imap fails

Static builds of ext/imap have duplicate symbols, and so won't link on Windows.
To get around this issue, we simply disallow static building of the extension.

9 years agoopcache: Patch SSE based fast_memcpy() implementation
Bogdan Andone [Wed, 29 Jul 2015 11:19:04 +0000 (14:19 +0300)]
opcache: Patch SSE based fast_memcpy() implementation

Use _mm_store_si128() instead of _mm_stream_si128(). This ensures that copied memory
is preserved in data cache, which is good as the interpretor will start to use this
data without the need to go back to memory. _mm_stream* is intended to be used for
stores where we want to avoid reading data into the cache and the cache pollution;
in our scenario it seems that preserving the data in cache has a positive impact.

Tests on WordPress 4.1 show ~1% performance increase with fast_memcpy() in place
versus standard memcpy() when running php-cgi -T10000 wordpress/index.php.

I also updated SW prefetching on target memory but its contribution is almost negligible.
The address to be prefetched will be used in a couple of cycles (at the next iteration)
while the data from memory will be available in >100 cycles.

9 years agoswitch to the unified globals accessor where appropriate
Anatol Belski [Wed, 29 Jul 2015 10:26:23 +0000 (12:26 +0200)]
switch to the unified globals accessor where appropriate

9 years agoFix temporary-LOB leak and add tests (Senthil)
Christopher Jones [Wed, 29 Jul 2015 10:15:43 +0000 (20:15 +1000)]
Fix temporary-LOB leak and add tests (Senthil)

9 years agofirst stone on using the unified globals accessor
Anatol Belski [Wed, 29 Jul 2015 08:35:57 +0000 (10:35 +0200)]
first stone on using the unified globals accessor

9 years agoadd unified globals accessor macro
Anatol Belski [Wed, 29 Jul 2015 07:31:10 +0000 (09:31 +0200)]
add unified globals accessor macro

9 years agofix thread safety
Anatol Belski [Tue, 28 Jul 2015 19:06:10 +0000 (21:06 +0200)]
fix thread safety

9 years agofix thread safety
Anatol Belski [Tue, 28 Jul 2015 16:38:06 +0000 (18:38 +0200)]
fix thread safety

9 years agoMerge branch 'PHP-5.6'
Julien Pauli [Wed, 29 Jul 2015 08:05:19 +0000 (10:05 +0200)]
Merge branch 'PHP-5.6'

* PHP-5.6:
  Adjust Git-Rules
  5.4.44 next

9 years agoMerge branch 'PHP-5.5' into PHP-5.6
Julien Pauli [Wed, 29 Jul 2015 08:04:33 +0000 (10:04 +0200)]
Merge branch 'PHP-5.5' into PHP-5.6

* PHP-5.5:
  Adjust Git-Rules
  5.4.44 next

9 years agoMerge branch 'PHP-5.4' into PHP-5.5
Julien Pauli [Wed, 29 Jul 2015 08:04:08 +0000 (10:04 +0200)]
Merge branch 'PHP-5.4' into PHP-5.5

* PHP-5.4:
  Adjust Git-Rules
  5.4.44 next

Conflicts:
configure.in
main/php_version.h

9 years agoAdjust Git-Rules
Julien Pauli [Wed, 29 Jul 2015 08:02:39 +0000 (10:02 +0200)]
Adjust Git-Rules

9 years agoImprove performance of PowerPC64 fast_long_add_function
Anton Blanchard [Tue, 26 May 2015 13:41:42 +0000 (23:41 +1000)]
Improve performance of PowerPC64 fast_long_add_function

Detecting overflow with the XER is slow, partially because we have to
clear it before use.

PHP already has a fast way of detecting overflow in its fallback
c implementation. Overflow only occurs if the signs of the two
operands are the same and the sign of the result is different.
Furthermore, leaving it in c allows gcc to schedule the instructions
better.

This is 9% faster on a POWER8 running a simple testcase:

<?php
        function testcase($count = 100000000) {
$x = 1;
                for ($i = 0; $i < $count; $i++) {
                        $x = $x + 1;
                        $x = $x + 1;
                        $x = $x + 1;
                        $x = $x + 1;
                        $x = $x + 1;
                }
        }

        testcase();
?>

9 years agoMerge branch 'master' of git.php.net:php-src
Remi Collet [Wed, 29 Jul 2015 07:22:21 +0000 (09:22 +0200)]
Merge branch 'master' of git.php.net:php-src

* 'master' of git.php.net:php-src:
  Fixed bug #69674 (SIGSEGV array.c:953)

9 years agoFixed bug #69674 (SIGSEGV array.c:953)
Xinchen Hui [Wed, 29 Jul 2015 02:46:12 +0000 (10:46 +0800)]
Fixed bug #69674 (SIGSEGV array.c:953)

9 years agoImprove performance of PowerPC64 fast_long_increment_function
Anton Blanchard [Tue, 26 May 2015 13:06:12 +0000 (23:06 +1000)]
Improve performance of PowerPC64 fast_long_increment_function

Detecting overflow with the XER is slow, partially because we have to
clear it before use.

gcc does a better job of detecting overflow of an increment or decrement
than we can with inline assembly. It knows that an increment will only
overflow if it is one less than the overflow value. This means we end
up with a simple compare/branch. Furthermore, leaving it in c allows gcc
to schedule the instructions better.

This is 6% faster on a POWER8 running a simple testcase:

<?php
        function testcase($count = 100000000) {
$x = 1;
                for ($i = 0; $i < $count; $i++) {
                        $x++;
                        $x++;
                        $x++;
                        $x++;
                        $x++;
                }
        }

        testcase();
?>

9 years agoImprove performance of PowerPC64 ZEND_SIGNED_MULTIPLY_LONG
Anton Blanchard [Tue, 26 May 2015 12:42:13 +0000 (22:42 +1000)]
Improve performance of PowerPC64 ZEND_SIGNED_MULTIPLY_LONG

Detecting overflow with the XER is slow, partially because we have to
clear it before use. We can do better by using a trick where we compare
the high 64 bits of the result with the low 64 bits shifted right
63 bits.

This is 7% faster on a POWER8 running a simple testcase:

<?php
        function testcase($count = 100000000) {
                for ($i = 0; $i < $count; $i++) {
                        $x = 1;
                        $x = $x * 2;
                        $x = $x * 2;
                        $x = $x * 2;
                        $x = $x * 2;
                }
        }

        testcase();
?>

9 years agoMerge branch 'PHP-5.6'
Anatol Belski [Tue, 28 Jul 2015 15:44:14 +0000 (17:44 +0200)]
Merge branch 'PHP-5.6'

* PHP-5.6:
  updated NEWS
  Fixed bug #70002 TS issues with temporary dir handling
  update NEWS
  Fixed bug #69900 Too long timeout on pipes

9 years agoMerge branch 'PHP-5.5' into PHP-5.6
Anatol Belski [Tue, 28 Jul 2015 15:42:37 +0000 (17:42 +0200)]
Merge branch 'PHP-5.5' into PHP-5.6

* PHP-5.5:
  Fixed bug #70002 TS issues with temporary dir handling

9 years agoupdated NEWS
Anatol Belski [Tue, 28 Jul 2015 15:42:25 +0000 (17:42 +0200)]
updated NEWS

9 years agoFixed bug #70002 TS issues with temporary dir handling
Anatol Belski [Tue, 28 Jul 2015 15:41:38 +0000 (17:41 +0200)]
Fixed bug #70002 TS issues with temporary dir handling

9 years agoimprove ZEND_TLS declaration even more and move it to the better place
Anatol Belski [Tue, 28 Jul 2015 14:55:30 +0000 (16:55 +0200)]
improve ZEND_TLS declaration even more and move it to the better place

9 years agouse better name
Anatol Belski [Tue, 28 Jul 2015 13:19:24 +0000 (15:19 +0200)]
use better name

9 years agosimplify declaration
Anatol Belski [Tue, 28 Jul 2015 10:18:22 +0000 (12:18 +0200)]
simplify declaration

9 years agoadd ZEND_THREAD specifier
Anatol Belski [Tue, 28 Jul 2015 10:17:53 +0000 (12:17 +0200)]
add ZEND_THREAD specifier

9 years agoadjust storage class
Anatol Belski [Tue, 28 Jul 2015 09:45:36 +0000 (11:45 +0200)]
adjust storage class

It's more convenient do explicitly disable the external linking. Also
it's an improvement from the build access time perspective.

9 years agoFix for #70159 - Better magic constants substitution
Julien Pauli [Tue, 28 Jul 2015 13:27:58 +0000 (15:27 +0200)]
Fix for #70159 - Better magic constants substitution

9 years agoonline test
Xinchen Hui [Tue, 28 Jul 2015 08:43:12 +0000 (16:43 +0800)]
online test

9 years agoFixed bug #70156 (Segfault in zend_find_alias_name)
Xinchen Hui [Tue, 28 Jul 2015 08:39:58 +0000 (16:39 +0800)]
Fixed bug #70156 (Segfault in zend_find_alias_name)

9 years agoupdate NEWS
Anatol Belski [Tue, 28 Jul 2015 08:29:24 +0000 (10:29 +0200)]
update NEWS