]>
granicus.if.org Git - php/log
Dmitry Stogov [Thu, 26 Jul 2018 09:58:07 +0000 (12:58 +0300)]
Pack zend_constant.flags and zend_constant.module_number into reserved space inside zend_constant.value.
Dmitry Stogov [Thu, 26 Jul 2018 07:42:57 +0000 (10:42 +0300)]
Documented ZEND_ACC_* flags (values are kept unchanged, except for ZEND_ACC_IMMUTABLE, that was introduced in 7.3 anyway)
Gabriel Caruso [Thu, 26 Jul 2018 01:05:41 +0000 (22:05 -0300)]
Remove unused variables
Gabriel Caruso [Thu, 26 Jul 2018 00:45:21 +0000 (21:45 -0300)]
Remove extra semicolons
Peter Kokot [Mon, 23 Jul 2018 03:19:11 +0000 (05:19 +0200)]
Replace obsolete AC_TRY_CPP with AC_PREPROC_IFELSE
The AC_TRY_CPP macro is obsolete since Autoconf 2.50 in 2001:
- http://git.savannah.gnu.org/cgit/autoconf.git/tree/NEWS
- https://www.gnu.org/software/autoconf/manual/autoconf-2.69/html_node/Obsolete-Macros.html
Dmitry Stogov [Wed, 25 Jul 2018 20:00:33 +0000 (23:00 +0300)]
typo
Dmitry Stogov [Wed, 25 Jul 2018 10:40:47 +0000 (13:40 +0300)]
Encode parent class name as IS_CONST operand in DECLARE_INHERITED_CLASS and DECLARE_ANON_INHERITED_CLASS opcodes (eliminate FETCH_CLAS
S opcode).
Peter Kokot [Wed, 25 Jul 2018 03:38:50 +0000 (05:38 +0200)]
Fix typos in code comments
Dmitry Stogov [Wed, 25 Jul 2018 09:49:03 +0000 (12:49 +0300)]
Regenerate scanners using re2c version >= 1.0.0 (newer version, at least, produce less code)
Dmitry Stogov [Wed, 25 Jul 2018 09:48:16 +0000 (12:48 +0300)]
Split add/sub_function(s) into fast and slow parts
Peter Kokot [Sat, 21 Jul 2018 05:04:52 +0000 (07:04 +0200)]
Remove obsolete macro AC_DECL_YYTEXT
The macro AC_DECL_YYTEXT has been obsolete since Autoconf 2.50 released
in 2001. Now it is included in the AC_PROG_LEX macro.
Autoconf news info about obsoletion:
- http://git.savannah.gnu.org/cgit/autoconf.git/tree/NEWS
Docs:
https://www.gnu.org/software/autoconf/manual/autoconf-2.69/html_node/Obsolete-Macros.html
PHP 5.4 to 7.1 require Autoconf 2.59+ version, PHP 7.2 and above require
2.64+ version, and the PHP 7.2 phpize script requires 2.59+ version which
are all greater than above mentioned 2.50 version. Systems out there should
well support this by now.
Peter Kokot [Tue, 3 Jul 2018 00:52:16 +0000 (02:52 +0200)]
Remove unused Git attributes ident
The $Id$ keywords were used in Subversion where they can be substituted
with filename, last revision number change, last changed date, and last
user who changed it.
In Git this functionality is different and can be done with Git attribute
ident. These need to be defined manually for each file in the
.gitattributes file and are afterwards replaced with 40-character
hexadecimal blob object name which is based only on the particular file
contents.
This patch simplifies handling of $Id$ keywords by removing them since
they are not used anymore.
Christoph M. Becker [Tue, 24 Jul 2018 10:33:08 +0000 (12:33 +0200)]
Merge branch 'PHP-7.2'
* PHP-7.2:
Fix #76643: Segmentation fault when using `output_add_rewrite_var`
Christoph M. Becker [Tue, 24 Jul 2018 10:22:33 +0000 (12:22 +0200)]
Merge branch 'PHP-7.1' into PHP-7.2
* PHP-7.1:
Fix #76643: Segmentation fault when using `output_add_rewrite_var`
Christoph M. Becker [Tue, 24 Jul 2018 10:20:13 +0000 (12:20 +0200)]
Fix #76643: Segmentation fault when using `output_add_rewrite_var`
We have to check whether _SERVER is actually an array before we're
going to use it as such.
Dmitry Stogov [Tue, 24 Jul 2018 06:31:57 +0000 (09:31 +0300)]
Better name: ZEND_PROPERTY_HAS => ZEND_PROPERTY_NOT_EMPTY
Xinchen Hui [Tue, 24 Jul 2018 04:51:36 +0000 (12:51 +0800)]
Give a meaningful name
Xinchen Hui [Tue, 24 Jul 2018 04:16:35 +0000 (12:16 +0800)]
Micro-optmization
Xinchen Hui [Tue, 24 Jul 2018 03:37:30 +0000 (11:37 +0800)]
Update NEWs
Xinchen Hui [Tue, 24 Jul 2018 03:37:09 +0000 (11:37 +0800)]
Merge branch 'PHP-7.2'
* PHP-7.2:
Update NEWs
Fixed bug #68553 (array_column: null values in $index_key become incrementing keys in result)
Conflicts:
ext/standard/array.c
Xinchen Hui [Tue, 24 Jul 2018 03:35:43 +0000 (11:35 +0800)]
Update NEWs
Xinchen Hui [Tue, 24 Jul 2018 03:35:22 +0000 (11:35 +0800)]
Merge branch 'PHP-7.1' into PHP-7.2
* PHP-7.1:
Fixed bug #68553 (array_column: null values in $index_key become incrementing keys in result)
Xinchen Hui [Tue, 24 Jul 2018 03:34:57 +0000 (11:34 +0800)]
Fixed bug #68553 (array_column: null values in $index_key become incrementing keys in result)
Xinchen Hui [Tue, 24 Jul 2018 02:48:07 +0000 (10:48 +0800)]
Merge branch 'master' of https://github.com/oerdnj/php-src
* 'master' of https://github.com/oerdnj/php-src:
Use __cpuid_count() from cpuid.h instead of custom assembly
Kalle Sommer Nielsen [Mon, 23 Jul 2018 15:38:52 +0000 (17:38 +0200)]
Merge branch 'master' of git.php.net:/php-src
Kalle Sommer Nielsen [Mon, 23 Jul 2018 15:38:26 +0000 (17:38 +0200)]
Removed the generated-tests library, this is a left Zöe's phpruntests repository it seems and never fully implemented. The only times this part of the code has been touched throughout the years has been minor PRs and entire php-src grep commits.
If anything this belongs to the phpruntests.git repository.
Dmitry Stogov [Mon, 23 Jul 2018 14:00:33 +0000 (17:00 +0300)]
Fixed tests
Dmitry Stogov [Mon, 23 Jul 2018 13:53:44 +0000 (16:53 +0300)]
Avoid code duplication
Kalle Sommer Nielsen [Mon, 23 Jul 2018 13:37:02 +0000 (15:37 +0200)]
Fix HKEY registry path (not that it should matter, dead code, Anatol?)
Kalle Sommer Nielsen [Mon, 23 Jul 2018 13:26:39 +0000 (15:26 +0200)]
Remove some dead code
sapi/*: Remove Windows code from FPM and LiteSpeed, as we don't support these SAPIs on Windows anyway
ext/com_dotnet: Remove non Windows code, as ext/com_dotnet is only supported on Windows
Dmitry Stogov [Mon, 23 Jul 2018 12:57:06 +0000 (15:57 +0300)]
Use better destructor (key may be only IS_STRING or IS_LONG).
Dmitry Stogov [Mon, 23 Jul 2018 12:24:07 +0000 (15:24 +0300)]
API cleanup.
Removed useless filename and lineno arguments, used in DEBUG build.
The patch doesn't break source compatibility of public API (only binary compatibility).
Dmitry Stogov [Mon, 23 Jul 2018 07:52:00 +0000 (10:52 +0300)]
Micro-optimization
Xinchen Hui [Mon, 23 Jul 2018 07:49:04 +0000 (15:49 +0800)]
Merge branch 'PHP-7.2'
* PHP-7.2:
Fixed pefree_size (efree_size will be expaned to do {} while () form)
Xinchen Hui [Mon, 23 Jul 2018 07:48:52 +0000 (15:48 +0800)]
Merge branch 'PHP-7.1' into PHP-7.2
* PHP-7.1:
Fixed pefree_size (efree_size will be expaned to do {} while () form)
Xinchen Hui [Mon, 23 Jul 2018 07:48:14 +0000 (15:48 +0800)]
Fixed pefree_size (efree_size will be expaned to do {} while () form)
Gabriel Caruso [Sun, 22 Jul 2018 19:41:41 +0000 (16:41 -0300)]
Give a reason why the test was skipped
This will help us debug why a test was skipped in GCOV
(http://gcov.php.net/viewer.php?version=PHP_HEAD&func=skip), and maybe
put them to run again
Gabriel Caruso [Sun, 22 Jul 2018 18:54:00 +0000 (15:54 -0300)]
Use variables that already received ZEND_NUM_ARGS()
Jakub Zelenka [Sun, 22 Jul 2018 16:40:38 +0000 (17:40 +0100)]
Return bool from zlog_stream_set_msg_{prefix,suffix}
Christoph M. Becker [Sun, 22 Jul 2018 16:04:12 +0000 (18:04 +0200)]
Merge branch 'PHP-7.2'
* PHP-7.2:
Fix #52974: jewish.c: compile error under Windows with GBK charset
Christoph M. Becker [Sun, 22 Jul 2018 15:44:37 +0000 (17:44 +0200)]
Merge branch 'PHP-7.1' into PHP-7.2
* PHP-7.1:
Fix #52974: jewish.c: compile error under Windows with GBK charset
Christoph M. Becker [Sun, 22 Jul 2018 15:42:10 +0000 (17:42 +0200)]
Fix #52974: jewish.c: compile error under Windows with GBK charset
jewish.c includes ISO-8859-8 encoded Hebrew Hebrew month names, which
may cause compile errors, and is generally confusing. We replace the
literal month names with appropriate escape sequences.
Jakub Zelenka [Sun, 22 Jul 2018 15:36:36 +0000 (16:36 +0100)]
Update NEWS and UPGRADING with info about syslog.filter
Jakub Zelenka [Sun, 22 Jul 2018 15:29:35 +0000 (16:29 +0100)]
Rename none syslog.filter to all and update ini description
Philip Prindeville [Fri, 11 Aug 2017 18:30:50 +0000 (12:30 -0600)]
Add syslog.filter INI for filtering syslog messages
Signed-off-by: Philip Prindeville <philipp@redfish-solutions.com>
Nikita Popov [Sat, 21 Jul 2018 20:48:42 +0000 (22:48 +0200)]
Add UPGRADING notes for deprecations
Nikita Popov [Sat, 21 Jul 2018 20:37:37 +0000 (22:37 +0200)]
Deprecate pdo_odbc.db2_instance_name
Part of https://wiki.php.net/rfc/deprecations_php_7_3.
Nikita Popov [Thu, 5 Jul 2018 19:27:17 +0000 (21:27 +0200)]
Deprecate string.strip_tags filter
Part of https://wiki.php.net/rfc/deprecations_php_7_3.
Nikita Popov [Thu, 5 Jul 2018 16:43:42 +0000 (18:43 +0200)]
Deprecate fgetss() and gzgetss()
SplFileObject::fgetss() will also generate a deprecation notice
through an internal call to fgetss().
Part of RFC https://wiki.php.net/rfc/deprecations_php_7_3.
Nikita Popov [Wed, 4 Jul 2018 21:20:29 +0000 (23:20 +0200)]
Deprecate defining a free-standing assert() function
Part of https://wiki.php.net/rfc/deprecations_php_7_3.
Nikita Popov [Wed, 4 Jul 2018 21:16:05 +0000 (23:16 +0200)]
Deprecate non-string needles in string search functions
Part of https://wiki.php.net/rfc/deprecations_php_7_3.
Nikita Popov [Wed, 4 Jul 2018 20:48:16 +0000 (22:48 +0200)]
Deprecate undocumented mbereg_* aliases
Part of https://wiki.php.net/rfc/deprecations_php_7_3.
Peter Kokot [Thu, 19 Jul 2018 21:05:34 +0000 (23:05 +0200)]
Move GMP bug 74670 test file to tests dir
Nikita Popov [Fri, 20 Jul 2018 15:52:56 +0000 (17:52 +0200)]
Fix off-by-one allocation
The return value of this function is pretty meaningless, but
leaving it alone for now.
Nikita Popov [Fri, 20 Jul 2018 15:47:53 +0000 (17:47 +0200)]
Fix incorrect length calculation
sizeof char pointer != sizeof string literal.
Trevor Rowbotham [Thu, 19 Jul 2018 19:14:39 +0000 (15:14 -0400)]
[ci skip] Add new global MBString constants to UPGRADING
The constants are mentioned further up in the New Features section,
but weren't explicitly listed under the New Global Constants section.
Gabriel Caruso [Mon, 16 Jul 2018 03:19:02 +0000 (00:19 -0300)]
Removed and fixed unused variables
Anatol Belski [Thu, 19 Jul 2018 16:38:19 +0000 (18:38 +0200)]
Merge branch 'PHP-7.2'
* PHP-7.2:
Update binary SDK version for AppVeyor
Anatol Belski [Thu, 19 Jul 2018 16:37:38 +0000 (18:37 +0200)]
Merge branch 'PHP-7.1' into PHP-7.2
* PHP-7.1:
Update binary SDK version for AppVeyor
Anatol Belski [Thu, 19 Jul 2018 16:35:54 +0000 (18:35 +0200)]
Update binary SDK version for AppVeyor
Ferenc Kovacs [Thu, 19 Jul 2018 14:59:00 +0000 (16:59 +0200)]
Merge branch 'PHP-7.2'
Ferenc Kovacs [Thu, 19 Jul 2018 14:57:50 +0000 (16:57 +0200)]
Merge branch 'PHP-7.1' into PHP-7.2
Ferenc Kovacs [Thu, 19 Jul 2018 14:57:18 +0000 (16:57 +0200)]
Merge branch 'PHP-7.0' into PHP-7.1
Ferenc Kovacs [Thu, 19 Jul 2018 14:56:32 +0000 (16:56 +0200)]
Merge branch 'PHP-5.6' into PHP-7.0
Ferenc Kovacs [Thu, 19 Jul 2018 14:32:50 +0000 (16:32 +0200)]
5.6.38 will be next
Dmitry Stogov [Thu, 19 Jul 2018 12:47:15 +0000 (15:47 +0300)]
Removed redundand code
Dmitry Stogov [Thu, 19 Jul 2018 12:28:31 +0000 (15:28 +0300)]
Matching loops optimization
Dmitry Stogov [Thu, 19 Jul 2018 08:19:28 +0000 (11:19 +0300)]
Micro optimizations
Dmitry Stogov [Thu, 19 Jul 2018 06:41:15 +0000 (09:41 +0300)]
Fixed typo
Hongbo [Wed, 18 Jul 2018 17:30:44 +0000 (01:30 +0800)]
fix ext_skel continue
"continue" inside switch is ambiguous, should be "continue 2".
Dmitry Stogov [Wed, 18 Jul 2018 14:46:48 +0000 (17:46 +0300)]
Reorder conditions
Dmitry Stogov [Wed, 18 Jul 2018 13:35:17 +0000 (16:35 +0300)]
Move "/e" modifier check into regex compiler
Dmitry Stogov [Wed, 18 Jul 2018 13:10:41 +0000 (16:10 +0300)]
Merge "no_utf_check" and "g_notempty" into single "options".
Dmitry Stogov [Wed, 18 Jul 2018 11:49:52 +0000 (14:49 +0300)]
Allocate array of proper size
Dmitry Stogov [Wed, 18 Jul 2018 11:49:00 +0000 (14:49 +0300)]
Perform checks for propertis started with '\\0' only for dynamic properties
Christoph M. Becker [Wed, 18 Jul 2018 09:29:05 +0000 (11:29 +0200)]
[ci skip] Fix typo in comment
Remi Collet [Wed, 18 Jul 2018 09:17:53 +0000 (11:17 +0200)]
add info about zend_class_entry.iterator_funcs
Dmitry Stogov [Tue, 17 Jul 2018 14:31:04 +0000 (17:31 +0300)]
Improved "Fast Shutdown".
Christoph M. Becker [Tue, 17 Jul 2018 14:02:50 +0000 (16:02 +0200)]
Update NEWS for 7.3.0beta1
Ondřej Surý [Tue, 17 Jul 2018 13:59:53 +0000 (13:59 +0000)]
Use __cpuid_count() from cpuid.h instead of custom assembly
Anatol Belski [Tue, 17 Jul 2018 10:38:21 +0000 (12:38 +0200)]
Merge branch 'PHP-7.2'
* PHP-7.2:
7.0.32 next
Anatol Belski [Tue, 17 Jul 2018 10:37:51 +0000 (12:37 +0200)]
Merge branch 'PHP-7.1' into PHP-7.2
* PHP-7.1:
7.0.32 next
Anatol Belski [Tue, 17 Jul 2018 10:37:02 +0000 (12:37 +0200)]
Merge branch 'PHP-7.0' into PHP-7.1
* PHP-7.0:
7.0.32 next
Anatol Belski [Tue, 17 Jul 2018 10:36:13 +0000 (12:36 +0200)]
7.0.32 next
Dmitry Stogov [Tue, 17 Jul 2018 10:30:55 +0000 (13:30 +0300)]
Inline FETCH_CONST and DEFINED handlers into "hybrid" executor.
Anatol Belski [Tue, 17 Jul 2018 10:01:14 +0000 (12:01 +0200)]
Merge branch 'master' of git.php.net:php-src
Anatol Belski [Tue, 17 Jul 2018 10:00:11 +0000 (12:00 +0200)]
Merge branch 'PHP-7.2'
* PHP-7.2:
[ci skip] Update NEWS
Anatol Belski [Tue, 17 Jul 2018 09:59:17 +0000 (11:59 +0200)]
Merge branch 'PHP-7.1' into PHP-7.2
* PHP-7.1:
[ci skip] Update NEWS
Dmitry Stogov [Tue, 17 Jul 2018 09:58:58 +0000 (12:58 +0300)]
Reduce overhead of case-insensitive constants deprecation for "fast path"
Anatol Belski [Tue, 17 Jul 2018 09:58:43 +0000 (11:58 +0200)]
Merge branch 'PHP-7.0' into PHP-7.1
* PHP-7.0:
[ci skip] Update NEWS
Anatol Belski [Tue, 17 Jul 2018 08:21:21 +0000 (10:21 +0200)]
[ci skip] Update NEWS
Christoph M. Becker [Tue, 17 Jul 2018 09:53:06 +0000 (11:53 +0200)]
Improve implementation of array_key_first() and array_key_last()
Firstly, we must not separate the $stack argument for performance
reasons. Secondly, we prefer `Z_ARRVAL_P` over `HASH_OF` to clarify
our intention.
Thanks to Nikita, for catching these issues!
Enno Woortmann [Tue, 17 Jul 2018 08:29:55 +0000 (10:29 +0200)]
Add implementation and tests for new methods - array_key_first(array $a) Returns the key of the first element or null - array_key_last(array $a) Returns the key of the last element or null
Christoph M. Becker [Tue, 17 Jul 2018 09:01:44 +0000 (11:01 +0200)]
FILTER_FLAG_(SCHEME|HOST)_REQUIRED are now deprecated
Christoph M. Becker [Mon, 16 Jul 2018 20:53:24 +0000 (22:53 +0200)]
Deprecate explicit use of FILTER_FLAG_SCHEME|HOST_REQUIRED
As of PHP 5.2.1 FILTER_VALIDATE_URL implies FILTER_FLAG_SCHEME_REQUIRED
| FILTER_FLAG_HOST_REQUIRED, which makes these constants useless at
best, if not even misleading. Therefore we deprecate the explicit use
of these constants for FILTER_VALIDATE_URL, to pave the way for their
eventual removal.
See <https://wiki.php.net/rfc/deprecations_php_7_3#filter_flag_scheme_required_and_filter_flag_host_required>.
Remi Collet [Tue, 17 Jul 2018 04:07:43 +0000 (06:07 +0200)]
Merge branch 'PHP-7.2'
* PHP-7.2:
NEWS
Remi Collet [Tue, 17 Jul 2018 04:07:28 +0000 (06:07 +0200)]
NEWS
Stanislav Malyshev [Tue, 17 Jul 2018 01:52:14 +0000 (18:52 -0700)]
Merge branch 'PHP-7.2'
* PHP-7.2:
Fix test
Stanislav Malyshev [Tue, 17 Jul 2018 01:52:01 +0000 (18:52 -0700)]
Fix test
Stanislav Malyshev [Mon, 16 Jul 2018 23:54:31 +0000 (16:54 -0700)]
Merge branch 'PHP-7.2'
* PHP-7.2:
Fixed bug #76459 windows linkinfo lacks openbasedir check
Add NEWS
Fixed bug #76459 windows linkinfo lacks openbasedir check
Fix bug #76557: heap-buffer-overflow (READ of size 48) while reading exif data
Fix bug #76423 - Int Overflow lead to Heap OverFlow in exif_thumbnail_extract of exif.c