]> granicus.if.org Git - php/log
php
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

9 years agoUpgrade unicode_data.h to UnicodeData.txt 8.0.0 (part of bug #70475 ext/mbstring...
Xinchen Hui [Tue, 15 Sep 2015 14:56:10 +0000 (07:56 -0700)]
Upgrade unicode_data.h to UnicodeData.txt 8.0.0  (part of bug #70475 ext/mbstring/unicode_data.h needs update)

9 years agoprepare NEWS for RC4
Anatol Belski [Tue, 15 Sep 2015 10:42:39 +0000 (12:42 +0200)]
prepare NEWS for RC4

9 years agoadd missing NEWS entry
Anatol Belski [Tue, 15 Sep 2015 06:17:25 +0000 (08:17 +0200)]
add missing NEWS entry

9 years agoImprove row fetch changes for PHP7. Update test SKIPIFs. Add test for 11g client...
Christopher Jones [Tue, 15 Sep 2015 00:06:29 +0000 (10:06 +1000)]
Improve row fetch changes for PHP7. Update test SKIPIFs. Add test for 11g client (Senthil)

9 years agoEnabled placing PHP code segment into huge pages
Dmitry Stogov [Mon, 14 Sep 2015 23:04:09 +0000 (02:04 +0300)]
Enabled placing PHP code segment into huge pages

9 years agoEnable file based cache compilation by default
Dmitry Stogov [Mon, 14 Sep 2015 22:58:32 +0000 (01:58 +0300)]
Enable file based cache compilation by default

9 years agoUse shorter php.ini directive name "opcache.huge_code_pages" and disable it by default.
Dmitry Stogov [Mon, 14 Sep 2015 22:54:04 +0000 (01:54 +0300)]
Use shorter php.ini directive name "opcache.huge_code_pages" and disable it by default.

9 years agoRemoved useless include
Dmitry Stogov [Mon, 14 Sep 2015 22:46:53 +0000 (01:46 +0300)]
Removed useless include

9 years agoAvoid reallocations
Dmitry Stogov [Mon, 14 Sep 2015 20:04:27 +0000 (23:04 +0300)]
Avoid reallocations

9 years agoUse memcpy() instead of mmap() to keep modifyed code (e.g. gdb breakpoints)
Dmitry Stogov [Mon, 14 Sep 2015 15:42:45 +0000 (18:42 +0300)]
Use memcpy() instead of mmap() to keep modifyed code (e.g. gdb breakpoints)

9 years agoFix bug #70487
Nikita Popov [Mon, 14 Sep 2015 13:03:51 +0000 (15:03 +0200)]
Fix bug #70487

Switch to * instead of + in zpp.

9 years agoAdded an experemental ability to move PHP code pages (PHP TEXT segment) into HUGE...
Dmitry Stogov [Mon, 14 Sep 2015 10:34:17 +0000 (13:34 +0300)]
Added an experemental ability to move PHP code pages (PHP TEXT segment) into HUGE pages.
PHP should be configured and built with --enable-huge-code-pages, OS should be configured to provide huge pages.
It's possible to enable/disable this future in php.ini through opcache.enable_huge_code_pages=0/1.
The feature was tested on Linux and provided 2% improvement on real-life apps, because of 2-3 times reduction in number of iTLB misses.

9 years agoFix mem leak in PHP7
Christopher Jones [Mon, 14 Sep 2015 03:29:09 +0000 (13:29 +1000)]
Fix mem leak in PHP7

9 years agoMerge branch 'master' of https://git.php.net/repository/php-src
Christopher Jones [Mon, 14 Sep 2015 02:52:40 +0000 (12:52 +1000)]
Merge branch 'master' of https://git.php.net/repository/php-src

9 years agoAdd support for **= in opcache optimizer
Bob Weinand [Sun, 13 Sep 2015 10:35:35 +0000 (12:35 +0200)]
Add support for **= in opcache optimizer

9 years agoadd overflow check
Anatol Belski [Sat, 12 Sep 2015 16:57:23 +0000 (18:57 +0200)]
add overflow check

9 years agofix data types
Anatol Belski [Sat, 12 Sep 2015 16:53:30 +0000 (18:53 +0200)]
fix data types

9 years agoadd range checks
Anatol Belski [Tue, 8 Sep 2015 14:35:35 +0000 (16:35 +0200)]
add range checks

9 years agoFinal diff fixes for PHP7 on base platform (some mem leaks still to be fixed). Updat...
Christopher Jones [Fri, 11 Sep 2015 23:10:32 +0000 (09:10 +1000)]
Final diff fixes for PHP7 on base platform (some mem leaks still to be fixed).  Update driver name. Improve test portability (Senthil)

9 years agoMerge branch 'master' of https://git.php.net/repository/php-src
Christopher Jones [Fri, 11 Sep 2015 23:05:41 +0000 (09:05 +1000)]
Merge branch 'master' of https://git.php.net/repository/php-src

9 years agoFixed bug #70478 (**= does no longer work)
Bob Weinand [Fri, 11 Sep 2015 22:54:48 +0000 (00:54 +0200)]
Fixed bug #70478 (**= does no longer work)

Reordered ZEND_(ASSIGN_)POW opcodes in zend_vm_def.h so that it won't be missed in future

9 years agoMerge branch 'master' of https://git.php.net/repository/php-src
Christopher Jones [Fri, 11 Sep 2015 22:51:24 +0000 (08:51 +1000)]
Merge branch 'master' of https://git.php.net/repository/php-src

9 years agoManual CSE to avoid double read
Dmitry Stogov [Fri, 11 Sep 2015 11:13:41 +0000 (14:13 +0300)]
Manual CSE to avoid double read

9 years agoChange this as sixd suggested
Xinchen Hui [Fri, 11 Sep 2015 07:05:56 +0000 (15:05 +0800)]
Change this as sixd suggested

9 years agoMerge branch 'PHP-5.6'
Xinchen Hui [Fri, 11 Sep 2015 05:52:00 +0000 (13:52 +0800)]
Merge branch 'PHP-5.6'

9 years agoAdd test XFAIL for bug #70470
Xinchen Hui [Fri, 11 Sep 2015 05:45:18 +0000 (13:45 +0800)]
Add test XFAIL for bug #70470

9 years agoRemove free_string_zval
Xinchen Hui [Fri, 11 Sep 2015 02:58:24 +0000 (10:58 +0800)]
Remove free_string_zval

9 years agofixed compilation error
Dmitry Stogov [Thu, 10 Sep 2015 17:24:11 +0000 (20:24 +0300)]
fixed compilation error

9 years agoDon't keep dangling pointer.
Dmitry Stogov [Thu, 10 Sep 2015 17:03:42 +0000 (20:03 +0300)]
Don't keep dangling pointer.

9 years agoFixed Sixd :<
Xinchen Hui [Thu, 10 Sep 2015 12:14:22 +0000 (20:14 +0800)]
Fixed Sixd :<

9 years agoMerge branch 'PHP-5.6'
Xinchen Hui [Thu, 10 Sep 2015 11:56:18 +0000 (19:56 +0800)]
Merge branch 'PHP-5.6'

9 years agoFixed bug #70431 (Memory leak in php_ini.c)
Xinchen Hui [Thu, 10 Sep 2015 11:53:37 +0000 (19:53 +0800)]
Fixed bug #70431 (Memory leak in php_ini.c)

9 years agoUse efree_size
Xinchen Hui [Thu, 10 Sep 2015 08:22:07 +0000 (16:22 +0800)]
Use efree_size

9 years agoSimplfy zend_is_true
Xinchen Hui [Thu, 10 Sep 2015 08:13:22 +0000 (16:13 +0800)]
Simplfy zend_is_true

9 years agoAdded folder marks
Xinchen Hui [Thu, 10 Sep 2015 07:01:28 +0000 (15:01 +0800)]
Added folder marks

9 years agoUnexpected
Xinchen Hui [Thu, 10 Sep 2015 06:57:22 +0000 (14:57 +0800)]
Unexpected

9 years agocleanup tmp_member handling
Xinchen Hui [Thu, 10 Sep 2015 06:39:25 +0000 (14:39 +0800)]
cleanup tmp_member handling

9 years agoMerge branch 'master' of git.php.net:php-src
Dmitry Stogov [Wed, 9 Sep 2015 23:53:57 +0000 (02:53 +0300)]
Merge branch 'master' of git.php.net:php-src

* 'master' of git.php.net:php-src:
  Aligned IntlChar protos to their ARG_INFO (related to #70453)
  Skip IntlChar related test if ext/intl is not available

9 years agoChange array sorting implementation to avoid two level callbacks system.
Dmitry Stogov [Wed, 9 Sep 2015 23:51:23 +0000 (02:51 +0300)]
Change array sorting implementation to avoid two level callbacks system.
Simplify zval comparion API.

9 years agoAligned IntlChar protos to their ARG_INFO (related to #70453)
Christoph M. Becker [Wed, 9 Sep 2015 23:38:15 +0000 (01:38 +0200)]
Aligned IntlChar protos to their ARG_INFO (related to #70453)

9 years agoSkip IntlChar related test if ext/intl is not available
Christoph M. Becker [Wed, 9 Sep 2015 23:31:55 +0000 (01:31 +0200)]
Skip IntlChar related test if ext/intl is not available

9 years agoAdded support of LDAP_OPT_TIMEOUT, fixes #69574
Côme Bernigaud [Wed, 9 Sep 2015 16:02:10 +0000 (18:02 +0200)]
Added support of LDAP_OPT_TIMEOUT, fixes #69574

9 years agoBetter array_compare improvement
Dmitry Stogov [Wed, 9 Sep 2015 12:11:03 +0000 (15:11 +0300)]
Better array_compare improvement

9 years agoAdd entry for #70284 in 7.0.0RC2
Lior Kaplan [Wed, 9 Sep 2015 11:22:46 +0000 (14:22 +0300)]
Add entry for #70284 in 7.0.0RC2

9 years agoAdd entry for #70284 in 5.6.13
Lior Kaplan [Wed, 9 Sep 2015 11:20:04 +0000 (14:20 +0300)]
Add entry for #70284 in 5.6.13

9 years agoDon't inline "slow" and rarely used functions.
Dmitry Stogov [Wed, 9 Sep 2015 10:42:35 +0000 (13:42 +0300)]
Don't inline "slow" and rarely used functions.

9 years agoMerge branch 'master' of git.php.net:/php-src
Xinchen Hui [Wed, 9 Sep 2015 10:02:27 +0000 (18:02 +0800)]
Merge branch 'master' of git.php.net:/php-src

9 years agoUseless ZVAL_UNDEF
Xinchen Hui [Wed, 9 Sep 2015 10:00:04 +0000 (18:00 +0800)]
Useless ZVAL_UNDEF

9 years agoImproved array_compare
Xinchen Hui [Wed, 9 Sep 2015 09:56:44 +0000 (17:56 +0800)]
Improved array_compare

9 years agoMerge branch 'PHP-5.6'
Côme Bernigaud [Wed, 9 Sep 2015 09:05:29 +0000 (11:05 +0200)]
Merge branch 'PHP-5.6'

* PHP-5.6:
  Fix bug in LDAP extensions' saving TIMELIMIT and DEREF

9 years agoAvoid useless EG(exception) checks
Dmitry Stogov [Wed, 9 Sep 2015 08:54:44 +0000 (11:54 +0300)]
Avoid useless EG(exception) checks

9 years agoMerge branch 'PHP-5.5' into PHP-5.6
Côme Bernigaud [Wed, 9 Sep 2015 08:34:46 +0000 (10:34 +0200)]
Merge branch 'PHP-5.5' into PHP-5.6

* PHP-5.5:
  Fix bug in LDAP extensions' saving TIMELIMIT and DEREF

9 years agoMerge branch 'pull-request/1512' into PHP-5.5
Côme Bernigaud [Wed, 9 Sep 2015 08:30:17 +0000 (10:30 +0200)]
Merge branch 'pull-request/1512' into PHP-5.5

* pull-request/1512:
  Fix bug in LDAP extensions' saving TIMELIMIT and DEREF

9 years agoUnused var
Xinchen Hui [Wed, 9 Sep 2015 07:15:43 +0000 (15:15 +0800)]
Unused var

9 years agounused var
Xinchen Hui [Wed, 9 Sep 2015 07:11:42 +0000 (15:11 +0800)]
unused var

9 years agoMerge branch 'PHP-5.6'
Christoph M. Becker [Wed, 9 Sep 2015 02:33:28 +0000 (04:33 +0200)]
Merge branch 'PHP-5.6'

* PHP-5.6:
  Skip test for old glibc iconv

9 years agoSkip test for old glibc iconv
Christoph M. Becker [Wed, 9 Sep 2015 02:27:28 +0000 (04:27 +0200)]
Skip test for old glibc iconv

bug32001.phpt has a high failure rate for the submitted reports. According to
several samples it seems the iconv implementation of glibc 2.12 (released
2010-05) is the culprit. It seems appropriate to skip the test for such old
versions.

9 years agoSmall cleanup in pack() implementation
Nikita Popov [Wed, 9 Sep 2015 01:58:37 +0000 (03:58 +0200)]
Small cleanup in pack() implementation

9 years agoFix bug in LDAP extensions' saving TIMELIMIT and DEREF
Tyson Andre [Tue, 8 Sep 2015 22:24:09 +0000 (15:24 -0700)]
Fix bug in LDAP extensions' saving TIMELIMIT and DEREF

LDAP_OPT_TIMELIMIT and LDAP_OPT_DEREF's original values weren't
saved properly because of a bug introduced when copy and pasting.

This lead to the original timeout being changed
when specifying a temporary override (e.g. for ldap_search(..., $timeout))

9 years agoupdated NEWS
Christoph M. Becker [Wed, 9 Sep 2015 01:21:17 +0000 (03:21 +0200)]
updated NEWS

9 years agoMerge branch 'PHP-5.6'
Christoph M. Becker [Wed, 9 Sep 2015 01:19:55 +0000 (03:19 +0200)]
Merge branch 'PHP-5.6'

* PHP-5.6:
  Fix #70456: mysqlnd doesn't activate TCP keep-alive when connecting to a server

Resolved conflicts:
ext/mysqlnd/mysqlnd_net.c

9 years agoupdated NEWS
Christoph M. Becker [Wed, 9 Sep 2015 01:12:59 +0000 (03:12 +0200)]
updated NEWS

9 years agoDon't inline "Undefined variable" warning reporting.
Dmitry Stogov [Wed, 9 Sep 2015 00:18:52 +0000 (03:18 +0300)]
Don't inline "Undefined variable" warning reporting.

9 years agoFix #70456: mysqlnd doesn't activate TCP keep-alive when connecting to a server
Sergei Turchanov [Thu, 3 Sep 2015 07:24:34 +0000 (17:24 +1000)]
Fix #70456: mysqlnd doesn't activate TCP keep-alive when connecting to a server

libmysqlclient activates TCP keep-alive when connecting to a server. PHP
mysqlnd extension must do the same to maintain compatibility.

9 years agoMerged RFC Random Functions Throwing Exceptions in PHP 7
Bob Weinand [Tue, 8 Sep 2015 22:58:09 +0000 (00:58 +0200)]
Merged RFC Random Functions Throwing Exceptions in PHP 7
Squashes commits from PR #1397

commit cd5dcc8c9eb43603d908abcea69c9e18df0f2ed5
Author: SammyK <sammyk@sammykmedia.com>
Date:   Tue Sep 8 13:53:42 2015 -0500

    Add min max samezies

commit b719499218a4e84efecd4dc1d4235d16142c9793
Author: SammyK <sammyk@sammykmedia.com>
Date:   Wed Sep 2 07:00:25 2015 -0500

    Make random_bytes() throw Error when $length <= 0 and random_int() throw Error when $min > $max

commit 0cca557291c278716ec4b00b32fc2bdc1c1c8848
Author: SammyK <sammyk@sammykmedia.com>
Date:   Wed Sep 2 06:55:59 2015 -0500

    Make random_*() functions throw Error exception when random bytes cannot be obtained

commit 998c7f1e209123605b41139e8d9093075ce16bd6
Author: SammyK <sammyk@sammykmedia.com>
Date:   Wed Sep 2 06:41:20 2015 -0500

    Make random_*() functions throw TypeError when zend_parse_parameters fails

commit 99d305c18820ff55d82d952777cbcdf1cf0158be
Author: SammyK <sammyk@sammykmedia.com>
Date:   Mon Jul 6 19:50:47 2015 -0500

    Make exceptions less specific

commit b042dfab290713366741a663a420cf12bf802f39
Author: SammyK <sammyk@sammykmedia.com>
Date:   Mon Jul 6 17:20:13 2015 -0500

    Upgrade warnings to RuntimeExceptions

9 years agoFixed typo that might cause serious bugs in MM. May be it was the reason of bug ...
Dmitry Stogov [Tue, 8 Sep 2015 14:22:26 +0000 (17:22 +0300)]
Fixed typo that might cause serious bugs in MM. May be it was the reason of bug #70392 (SIGSEGV during PHP shutdown).

9 years agoCheck EG(exception) only if it's really necessary
Dmitry Stogov [Tue, 8 Sep 2015 14:20:52 +0000 (17:20 +0300)]
Check EG(exception) only if it's really necessary

9 years agoFix typo in comment.
Yasuo Ohgaki [Tue, 8 Sep 2015 09:52:31 +0000 (18:52 +0900)]
Fix typo in comment.

9 years agoAdd URL rewrite issue note.
Yasuo Ohgaki [Tue, 8 Sep 2015 09:50:40 +0000 (18:50 +0900)]
Add URL rewrite issue note.

9 years agoAdd more test cases
Yasuo Ohgaki [Tue, 8 Sep 2015 09:44:02 +0000 (18:44 +0900)]
Add more test cases

9 years agoupdated NEWS
Christoph M. Becker [Mon, 7 Sep 2015 21:48:14 +0000 (23:48 +0200)]
updated NEWS

9 years agoFix #70454: IntlChar::forDigit second parameter should be optional
Christoph M. Becker [Mon, 7 Sep 2015 21:46:12 +0000 (23:46 +0200)]
Fix #70454: IntlChar::forDigit second parameter should be optional

ZPP expects "ll" instead of "l|l" what would match the "proto" and the
ARG_INFO.

9 years agoupdated NEWS
Christoph M. Becker [Mon, 7 Sep 2015 21:06:13 +0000 (23:06 +0200)]
updated NEWS

9 years agoFix #70453: IntlChar::foldCase() incorrect arguments and missing constants
Christoph M. Becker [Mon, 7 Sep 2015 21:02:56 +0000 (23:02 +0200)]
Fix #70453: IntlChar::foldCase() incorrect arguments and missing constants

We add missing ARG_INFO for the seconds parameter $options, and add the
respective constants IntlChar::FOLD_CASE_DEFAULT and
::FOLD_CASE_EXCLUDE_SPECIAL_I.

9 years agoupdate NEWS
Anatol Belski [Mon, 7 Sep 2015 15:35:57 +0000 (17:35 +0200)]
update NEWS

9 years agoadd test for bug #70423
Anatol Belski [Mon, 7 Sep 2015 15:29:55 +0000 (17:29 +0200)]
add test for bug #70423

9 years agoFixed bug #70449 (PHP won't compile on 10.4 and 10.5 because of missing constants)
Bob Weinand [Mon, 7 Sep 2015 15:28:29 +0000 (17:28 +0200)]
Fixed bug #70449 (PHP won't compile on 10.4 and 10.5 because of missing constants)

9 years agoupdate NEWS
Anatol Belski [Mon, 7 Sep 2015 15:09:19 +0000 (17:09 +0200)]
update NEWS

9 years agoremove unnecessary check
Anatol Belski [Mon, 7 Sep 2015 13:14:26 +0000 (15:14 +0200)]
remove unnecessary check

as it's unrelated to the size pre calculation

9 years agoFix bug #70423 Warning Internal error: wrong size calculation
Anatol Belski [Mon, 7 Sep 2015 13:02:33 +0000 (15:02 +0200)]
Fix bug #70423 Warning Internal error: wrong size calculation

9 years agoext/zip version is now 1.13.0
Remi Collet [Mon, 7 Sep 2015 12:04:20 +0000 (14:04 +0200)]
ext/zip version is now 1.13.0

9 years agoMerge branch 'PHP-5.6'
Remi Collet [Mon, 7 Sep 2015 11:55:19 +0000 (13:55 +0200)]
Merge branch 'PHP-5.6'

* PHP-5.6:
  Fix build