]> granicus.if.org Git - php/log
php
9 years agoFix (revert) loop exit condition
Dmitry Stogov [Thu, 24 Sep 2015 08:19:26 +0000 (11:19 +0300)]
Fix (revert) loop exit condition

9 years agoAttmpt to fix "Unable to reattach to base address" problem. (Matt Ficken)
Dmitry Stogov [Thu, 24 Sep 2015 07:48:34 +0000 (10:48 +0300)]
Attmpt to fix "Unable to reattach to base address" problem. (Matt Ficken)

9 years agoCleanup: avoid reallocations
Dmitry Stogov [Wed, 23 Sep 2015 23:23:09 +0000 (02:23 +0300)]
Cleanup: avoid reallocations

9 years agoCleanup: avoid reallocations
Dmitry Stogov [Wed, 23 Sep 2015 22:35:16 +0000 (01:35 +0300)]
Cleanup: avoid reallocations

9 years agoFixed memory leak and avoid reallocations
Dmitry Stogov [Wed, 23 Sep 2015 22:19:15 +0000 (01:19 +0300)]
Fixed memory leak and avoid reallocations

9 years agoCleanup: replace removed condition with ZEND_ASSERT()
Dmitry Stogov [Wed, 23 Sep 2015 21:25:51 +0000 (00:25 +0300)]
Cleanup: replace removed condition with ZEND_ASSERT()

9 years agoFixed memory leak.
Dmitry Stogov [Wed, 23 Sep 2015 20:16:30 +0000 (23:16 +0300)]
Fixed memory leak.

9 years agoMerge branch 'PHP-5.6' into PHP-7.0
Anatol Belski [Wed, 23 Sep 2015 18:01:18 +0000 (20:01 +0200)]
Merge branch 'PHP-5.6' into PHP-7.0

* PHP-5.6:
  update NEWS

9 years agoupdate NEWS
Anatol Belski [Wed, 23 Sep 2015 18:00:38 +0000 (20:00 +0200)]
update NEWS

9 years agoMerge branch 'PHP-5.6' into PHP-7.0
Anatol Belski [Wed, 23 Sep 2015 17:57:42 +0000 (19:57 +0200)]
Merge branch 'PHP-5.6' into PHP-7.0

* PHP-5.6:
  add test
  expose openssl config path so it can be tested
  Fix for Bug #70384  mysqli_real_query(): Unknown type 245 sent by the server

9 years agoadd test
Anatol Belski [Wed, 23 Sep 2015 06:56:26 +0000 (08:56 +0200)]
add test

9 years agoexpose openssl config path so it can be tested
Anatol Belski [Wed, 23 Sep 2015 06:41:33 +0000 (08:41 +0200)]
expose openssl config path so it can be tested

9 years agoSpread the news about 70384
Andrey Hristov [Wed, 23 Sep 2015 16:35:45 +0000 (18:35 +0200)]
Spread the news about 70384

9 years agoFix for Bug #70384 mysqli_real_query(): Unknown type 245 sent by the server
Andrey Hristov [Wed, 23 Sep 2015 15:27:18 +0000 (17:27 +0200)]
Fix for Bug #70384  mysqli_real_query(): Unknown type 245 sent by the server

9 years agoFixed bug #70531 (-rr should not fallback to interactive mode in phpdbg)
Bob Weinand [Wed, 23 Sep 2015 16:30:13 +0000 (18:30 +0200)]
Fixed bug #70531 (-rr should not fallback to interactive mode in phpdbg)

9 years agoFix for Bug #70384 mysqli_real_query(): Unknown type 245 sent by the server
Andrey Hristov [Wed, 23 Sep 2015 15:27:18 +0000 (17:27 +0200)]
Fix for Bug #70384  mysqli_real_query(): Unknown type 245 sent by the server

9 years agoFixed bug #70532 (respect set_exception_handler in phpdbg)
Bob Weinand [Wed, 23 Sep 2015 15:53:22 +0000 (17:53 +0200)]
Fixed bug #70532 (respect set_exception_handler in phpdbg)

9 years agouse bundled openssl.cnf
Anatol Belski [Wed, 23 Sep 2015 15:14:23 +0000 (17:14 +0200)]
use bundled openssl.cnf

9 years agoFixed memleaks in apache2handler
Xinchen Hui [Wed, 23 Sep 2015 14:08:51 +0000 (07:08 -0700)]
Fixed memleaks in apache2handler

9 years agoFixed NEWS
Xinchen Hui [Wed, 23 Sep 2015 14:05:47 +0000 (07:05 -0700)]
Fixed NEWS

9 years agoFixed Bug #70558 ("Couldn't fetch" error in DOMDocument::registerNodeClass())
Xinchen Hui [Wed, 23 Sep 2015 14:01:50 +0000 (07:01 -0700)]
Fixed Bug #70558 ("Couldn't fetch" error in DOMDocument::registerNodeClass())

9 years agoZEND_COMPILE_GUARDS compiler option
Joe Watkins [Sun, 20 Sep 2015 05:23:36 +0000 (06:23 +0100)]
ZEND_COMPILE_GUARDS compiler option

9 years agoupdate NEWS
Anatol Belski [Wed, 23 Sep 2015 13:20:59 +0000 (15:20 +0200)]
update NEWS

9 years agoDon't keep dangling pointers
Dmitry Stogov [Wed, 23 Sep 2015 13:16:04 +0000 (16:16 +0300)]
Don't keep dangling pointers

9 years agoadd test
Anatol Belski [Wed, 23 Sep 2015 06:56:26 +0000 (08:56 +0200)]
add test

9 years agoexpose openssl config path so it can be tested
Anatol Belski [Wed, 23 Sep 2015 06:41:33 +0000 (08:41 +0200)]
expose openssl config path so it can be tested

9 years agoMerge branch 'PHP-5.6' into PHP-7.0
Anatol Belski [Wed, 23 Sep 2015 12:03:16 +0000 (14:03 +0200)]
Merge branch 'PHP-5.6' into PHP-7.0

* PHP-5.6:
  add missing header
  silence mkdir to fix fails after unclean test run

9 years agoadd missing header
Anatol Belski [Wed, 23 Sep 2015 12:01:59 +0000 (14:01 +0200)]
add missing header

For PRIu32 and maybe more, that fixes build

9 years agosilence mkdir to fix fails after unclean test run
Anatol Belski [Thu, 17 Sep 2015 06:39:38 +0000 (08:39 +0200)]
silence mkdir to fix fails after unclean test run

9 years agoFixed test
Dmitry Stogov [Wed, 23 Sep 2015 10:18:30 +0000 (13:18 +0300)]
Fixed test

9 years agoFixed Bug #70557 (Memleak on return type verifying failed)
Xinchen Hui [Wed, 23 Sep 2015 06:10:23 +0000 (14:10 +0800)]
Fixed Bug #70557 (Memleak on return type verifying failed)

9 years agoFixed bug #70548 (Redundant information printed in case of uncaught engine exception)
Xinchen Hui [Wed, 23 Sep 2015 05:04:33 +0000 (13:04 +0800)]
Fixed bug #70548 (Redundant information printed in case of uncaught engine exception)

9 years agoFixed bug #70555 (fun_get_arg() on unsetted vars return UNKNOW)
Xinchen Hui [Wed, 23 Sep 2015 02:00:20 +0000 (10:00 +0800)]
Fixed bug #70555 (fun_get_arg() on unsetted vars return UNKNOW)

and also keep the indices of func_get_args(). since they are similar
issue of #70574, thus reuse its test script.

9 years agoCleanup: removed deprecated commented code. Incorrect zval_dtor() usage replaced...
Dmitry Stogov [Tue, 22 Sep 2015 22:32:30 +0000 (01:32 +0300)]
Cleanup: removed deprecated commented code. Incorrect zval_dtor() usage replaced by zval_dtor_ptr().

9 years agoCleanup: zend_object_std_dtor() is called through free_obj handler
Dmitry Stogov [Tue, 22 Sep 2015 21:12:31 +0000 (00:12 +0300)]
Cleanup: zend_object_std_dtor() is called through free_obj handler

9 years agoProperly cleanup on wrong ZEND_OVERLOADED_FUNCTION call
Dmitry Stogov [Tue, 22 Sep 2015 20:51:30 +0000 (23:51 +0300)]
Properly cleanup on wrong ZEND_OVERLOADED_FUNCTION call

9 years agoCleanup: removed deprecated commented code
Dmitry Stogov [Tue, 22 Sep 2015 19:55:00 +0000 (22:55 +0300)]
Cleanup: removed deprecated commented code

9 years agounmap correct handle
Anatol Belski [Tue, 22 Sep 2015 19:20:50 +0000 (21:20 +0200)]
unmap correct handle

9 years agoadd test
Anatol Belski [Tue, 22 Sep 2015 14:25:13 +0000 (16:25 +0200)]
add test

9 years agonullify the memory chunk to avoid crashes when freeing resource
Anatol Belski [Tue, 22 Sep 2015 18:33:46 +0000 (20:33 +0200)]
nullify the memory chunk to avoid crashes when freeing resource

9 years agocheck for NULL return
Anatol Belski [Tue, 22 Sep 2015 13:31:02 +0000 (15:31 +0200)]
check for NULL return

9 years agoCleanup: don't keep useless dangling pointer
Dmitry Stogov [Tue, 22 Sep 2015 14:48:25 +0000 (17:48 +0300)]
Cleanup: don't keep useless dangling pointer

9 years agoCleanup: removed old commented code
Dmitry Stogov [Tue, 22 Sep 2015 14:06:10 +0000 (17:06 +0300)]
Cleanup: removed old commented code

9 years agoCleanup: removed deprecated commented code
Dmitry Stogov [Tue, 22 Sep 2015 14:02:25 +0000 (17:02 +0300)]
Cleanup: removed deprecated commented code

9 years agoCleanup: removed comments (zend_object.handle and zend_resource.handle are not going...
Dmitry Stogov [Tue, 22 Sep 2015 12:56:52 +0000 (15:56 +0300)]
Cleanup: removed comments (zend_object.handle and zend_resource.handle are not going to be removed in PHP-7.0)

9 years agoCleanup (we keep and reuse size from zend_mm_huge_list)
Dmitry Stogov [Tue, 22 Sep 2015 12:51:02 +0000 (15:51 +0300)]
Cleanup (we keep and reuse size from zend_mm_huge_list)

9 years agoFixed reporting about repeatable "huge" memory leaks.
Dmitry Stogov [Tue, 22 Sep 2015 12:46:41 +0000 (15:46 +0300)]
Fixed reporting about repeatable "huge" memory leaks.

9 years agoMake use of timelib 2015.02's support for external memory managers.
Dmitry Stogov [Tue, 22 Sep 2015 08:17:50 +0000 (09:17 +0100)]
Make use of timelib 2015.02's support for external memory managers.

9 years agoMerge branch 'PHP-5.6' into PHP-7.0
Derick Rethans [Tue, 22 Sep 2015 08:08:47 +0000 (09:08 +0100)]
Merge branch 'PHP-5.6' into PHP-7.0

9 years agoUpdate timelib to 2015.02
Derick Rethans [Tue, 22 Sep 2015 07:59:45 +0000 (08:59 +0100)]
Update timelib to 2015.02

9 years agoMerge branch 'PHP-7.0' of git.php.net:php-src into PHP-7.0
Derick Rethans [Tue, 22 Sep 2015 07:47:15 +0000 (08:47 +0100)]
Merge branch 'PHP-7.0' of git.php.net:php-src into PHP-7.0

9 years agoMerge branch 'PHP-5.6' into PHP-7.0
Derick Rethans [Tue, 22 Sep 2015 07:45:33 +0000 (08:45 +0100)]
Merge branch 'PHP-5.6' into PHP-7.0

9 years agoFixed test cases due to changes in rules
Derick Rethans [Tue, 22 Sep 2015 07:42:12 +0000 (08:42 +0100)]
Fixed test cases due to changes in rules

9 years agoBumb timelib version to 2015.01
Derick Rethans [Tue, 22 Sep 2015 07:41:56 +0000 (08:41 +0100)]
Bumb timelib version to 2015.01

9 years agoFixed bug #70279 (HTTP Authorization Header is sometimes passed to newer reqeusts)
Xinchen Hui [Tue, 22 Sep 2015 07:28:53 +0000 (15:28 +0800)]
Fixed bug #70279 (HTTP Authorization Header is sometimes passed to newer reqeusts)

9 years agoFixed #70547 similar bug in func_get_args
Xinchen Hui [Tue, 22 Sep 2015 05:58:42 +0000 (13:58 +0800)]
Fixed #70547 similar bug in func_get_args

9 years agoFixed bug #70546 (ext/sysvshm: two broken tests on Solaris) by rainer.jung
Xinchen Hui [Tue, 22 Sep 2015 04:06:09 +0000 (12:06 +0800)]
Fixed bug #70546 (ext/sysvshm: two broken tests on Solaris) by rainer.jung

9 years agoFixed bug #70547 (unsetting function variables corrupts backtrace)
Xinchen Hui [Tue, 22 Sep 2015 03:59:35 +0000 (11:59 +0800)]
Fixed bug #70547 (unsetting function variables corrupts backtrace)

9 years agoFixed bug #70544 (ext/zip/tests/oo_addglob.phpt broken on Solaris)
Xinchen Hui [Mon, 21 Sep 2015 14:04:27 +0000 (22:04 +0800)]
Fixed bug #70544 (ext/zip/tests/oo_addglob.phpt broken on Solaris)

9 years agoFixed bug #70538 ("php-fpm -i" crashes)
Xinchen Hui [Mon, 21 Sep 2015 03:18:37 +0000 (11:18 +0800)]
Fixed bug #70538 ("php-fpm -i" crashes)

9 years agoFixed bug #70538 ("php-fpm -i" crashes)
Xinchen Hui [Mon, 21 Sep 2015 02:55:38 +0000 (10:55 +0800)]
Fixed bug #70538 ("php-fpm -i" crashes)

9 years agoUse die
Xinchen Hui [Sun, 20 Sep 2015 16:34:28 +0000 (09:34 -0700)]
Use die

9 years agoFixed bug #70535 (XSLT: free(): invalid pointer)
Xinchen Hui [Sun, 20 Sep 2015 16:30:50 +0000 (09:30 -0700)]
Fixed bug #70535 (XSLT: free(): invalid pointer)

9 years agoRequire at least OpenSSL version 0.9.8
Jakub Zelenka [Sun, 20 Sep 2015 12:01:15 +0000 (13:01 +0100)]
Require at least OpenSSL version 0.9.8

9 years agoMerge branch 'PHP-5.6' into PHP-7.0
Jakub Zelenka [Sun, 20 Sep 2015 11:38:58 +0000 (12:38 +0100)]
Merge branch 'PHP-5.6' into PHP-7.0

9 years agoUse tabs for arg info indent in openssl.c
Jakub Zelenka [Sun, 20 Sep 2015 11:34:35 +0000 (12:34 +0100)]
Use tabs for arg info indent in openssl.c

9 years agoUnused var
Xinchen Hui [Sun, 20 Sep 2015 02:51:53 +0000 (19:51 -0700)]
Unused var

9 years agoFixed bug #70528 (assert() with instanceof adds apostrophes around class name)
Xinchen Hui [Sun, 20 Sep 2015 02:49:36 +0000 (19:49 -0700)]
Fixed bug #70528 (assert() with instanceof adds apostrophes around class name)

9 years agoAdd FAST_ZPP to various important stream funcs
Bob Weinand [Sun, 20 Sep 2015 02:27:51 +0000 (04:27 +0200)]
Add FAST_ZPP to various important stream funcs

9 years agoRemove superfluous branches
Bob Weinand [Sun, 20 Sep 2015 00:59:30 +0000 (02:59 +0200)]
Remove superfluous branches

9 years agoShort-circuit zend_parse_parameters_none() so that expensive zpp() call never happens...
Bob Weinand [Sun, 20 Sep 2015 00:43:22 +0000 (02:43 +0200)]
Short-circuit zend_parse_parameters_none() so that expensive zpp() call never happens in non-exceptional case

9 years agoSet expectations in generator handling
Bob Weinand [Sun, 20 Sep 2015 00:19:31 +0000 (02:19 +0200)]
Set expectations in generator handling

9 years agoRevert accidentally committed closures.c and execute.c
Bob Weinand [Sat, 19 Sep 2015 21:22:07 +0000 (23:22 +0200)]
Revert accidentally committed closures.c and execute.c

9 years agoOptimize zend_mm_small_size_to_bin()
Bob Weinand [Sat, 19 Sep 2015 21:07:43 +0000 (23:07 +0200)]
Optimize zend_mm_small_size_to_bin()
It removes a cmov operation and has a much faster branch for small allocations (especially when handling strings) (<= 64 bytes)

9 years agoForce compiler to prefer ZEND_CALL_NESTED_FUNCTION
Bob Weinand [Sat, 19 Sep 2015 17:48:03 +0000 (19:48 +0200)]
Force compiler to prefer ZEND_CALL_NESTED_FUNCTION
It is by far the most used branch; compilers tended here to split the branches via an &2, &1 check, now it only does an &3 check and prefers ZEND_CALL_NESTED_FUNCTION branch

9 years agoAlways properly show exit status in phpdbg
Bob Weinand [Sat, 19 Sep 2015 16:30:07 +0000 (18:30 +0200)]
Always properly show exit status in phpdbg

Especially when it is only set after main run (e.g. register_shutdown_function)

9 years agoFix oplog...
Bob Weinand [Sat, 19 Sep 2015 15:10:01 +0000 (17:10 +0200)]
Fix oplog...

9 years agoMerge branch 'PHP-7.0' of git.php.net:/php-src into PHP-7.0
Xinchen Hui [Sat, 19 Sep 2015 13:20:00 +0000 (06:20 -0700)]
Merge branch 'PHP-7.0' of git.php.net:/php-src into PHP-7.0

9 years agoApply same fixes for until
Bob Weinand [Sat, 19 Sep 2015 13:19:26 +0000 (15:19 +0200)]
Apply same fixes for until

9 years agoFixed bug #70526 (xmlrpc_set_type returns false on success)
Xinchen Hui [Sat, 19 Sep 2015 13:10:48 +0000 (06:10 -0700)]
Fixed bug #70526 (xmlrpc_set_type returns false on success)

9 years agoFix leave and finish
Bob Weinand [Sat, 19 Sep 2015 12:57:21 +0000 (14:57 +0200)]
Fix leave and finish

9 years agoFixed bug #70529 Session read causes "String is not zero-terminated" error
Yasuo Ohgaki [Sat, 19 Sep 2015 02:24:01 +0000 (11:24 +0900)]
Fixed bug #70529 Session read causes "String is not zero-terminated" error

9 years agoFixed bug #70481 (Memory leak in auto_global_copy_ctor() in ZTS build)
Xinchen Hui [Fri, 18 Sep 2015 09:27:39 +0000 (17:27 +0800)]
Fixed bug #70481 (Memory leak in auto_global_copy_ctor() in ZTS build)

9 years agoRETURN_FALSE
Xinchen Hui [Fri, 18 Sep 2015 08:33:33 +0000 (16:33 +0800)]
RETURN_FALSE

9 years agoUse Zend MM to keep statistic of non-persistent connections (calloc/free->pecalloc...
Dmitry Stogov [Fri, 18 Sep 2015 07:36:09 +0000 (10:36 +0300)]
Use Zend MM to keep statistic of non-persistent connections (calloc/free->pecalloc/pefree)

9 years agoSkip session_regenerate_id_cookie.phpt when there's no cgi
Matteo Beccati [Fri, 18 Sep 2015 05:51:46 +0000 (07:51 +0200)]
Skip session_regenerate_id_cookie.phpt when there's no cgi

9 years agoAdd eventual escaping for phpdbg arguments
Bob Weinand [Thu, 17 Sep 2015 22:50:08 +0000 (00:50 +0200)]
Add eventual escaping for phpdbg arguments

9 years agoAdd # delimiter to phpdbg commands
Bob Weinand [Thu, 17 Sep 2015 20:52:55 +0000 (22:52 +0200)]
Add # delimiter to phpdbg commands

9 years agoDon't allocate memory for empty HashTables.
Dmitry Stogov [Thu, 17 Sep 2015 16:17:10 +0000 (19:17 +0300)]
Don't allocate memory for empty HashTables.

9 years agoUpdate information about new opcache features
Dmitry Stogov [Thu, 17 Sep 2015 09:58:08 +0000 (12:58 +0300)]
Update information about new opcache features

9 years agoAdded information about new opcache configuration directives
Dmitry Stogov [Thu, 17 Sep 2015 09:51:43 +0000 (12:51 +0300)]
Added information about new opcache configuration directives

9 years agoMerge branch 'PHP-5.6' into PHP-7.0
Ferenc Kovacs [Wed, 16 Sep 2015 23:49:39 +0000 (01:49 +0200)]
Merge branch 'PHP-5.6' into PHP-7.0

* PHP-5.6:
  prepare for PHP-5.6.14RC1

9 years agoprepare for PHP-5.6.14RC1
Ferenc Kovacs [Wed, 16 Sep 2015 23:48:02 +0000 (01:48 +0200)]
prepare for PHP-5.6.14RC1

9 years agoAdd test for #70516 session_regenerate_id() does not send session ID cookie
Yasuo Ohgaki [Wed, 16 Sep 2015 20:22:21 +0000 (05:22 +0900)]
Add test for #70516 session_regenerate_id() does not send session ID cookie

9 years agoadd range check
Anatol Belski [Sat, 12 Sep 2015 19:37:12 +0000 (21:37 +0200)]
add range check

9 years agofix regressio introduce in 22e23e7cb8ca9aa134d138b5fed031af6c842b44
Remi Collet [Wed, 16 Sep 2015 12:32:05 +0000 (14:32 +0200)]
fix regressio introduce in 22e23e7cb8ca9aa134d138b5fed031af6c842b44

9 years agoFugbix typo
Sebastian Bergmann [Tue, 15 Sep 2015 15:47:17 +0000 (17:47 +0200)]
Fugbix typo

9 years agoSuppressed warning about this function is not used
Xinchen Hui [Tue, 15 Sep 2015 15:54:14 +0000 (08:54 -0700)]
Suppressed warning about this function is not used

9 years agoAdd Note about huge_code_pages
Xinchen Hui [Tue, 15 Sep 2015 15:28:32 +0000 (08:28 -0700)]
Add Note about huge_code_pages

9 years agoSuppressed warning -Wvolatile-register-var
Xinchen Hui [Tue, 15 Sep 2015 15:23:21 +0000 (08:23 -0700)]
Suppressed warning -Wvolatile-register-var