Peter Kokot
8d3f8ca12a
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.
2018-07-25 00:53:25 +02:00
Christoph M. Becker
dcd6a6ff36
Merge branch 'PHP-7.2'
...
* PHP-7.2:
Fix #76643 : Segmentation fault when using `output_add_rewrite_var`
2018-07-24 12:41:35 +02:00
Christoph M. Becker
a96ca13963
Merge branch 'PHP-7.1' into PHP-7.2
...
* PHP-7.1:
Fix #76643 : Segmentation fault when using `output_add_rewrite_var`
2018-07-24 12:28:22 +02:00
Christoph M. Becker
40bd84d3e3
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.
2018-07-24 12:20:13 +02:00
Dmitry Stogov
d775fe33d1
Better name: ZEND_PROPERTY_HAS => ZEND_PROPERTY_NOT_EMPTY
2018-07-24 09:31:57 +03:00
Xinchen Hui
1638a6e118
Give a meaningful name
2018-07-24 12:51:36 +08:00
Xinchen Hui
4aada3993c
Micro-optmization
2018-07-24 12:16:35 +08:00
Xinchen Hui
d31d4d1392
Update NEWs
2018-07-24 11:37:30 +08:00
Xinchen Hui
3ca9aaf24e
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
2018-07-24 11:37:09 +08:00
Xinchen Hui
033dac7a6f
Update NEWs
2018-07-24 11:35:43 +08:00
Xinchen Hui
2a181b5ea0
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)
2018-07-24 11:35:22 +08:00
Xinchen Hui
38d97557da
Fixed bug #68553 (array_column: null values in $index_key become incrementing keys in result)
2018-07-24 11:34:57 +08:00
Xinchen Hui
4799cde613
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
2018-07-24 10:48:07 +08:00
Kalle Sommer Nielsen
0b7686584e
Merge branch 'master' of git.php.net:/php-src
2018-07-23 17:38:52 +02:00
Kalle Sommer Nielsen
ba138a3746
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.
2018-07-23 17:38:26 +02:00
Dmitry Stogov
7ef8e3f87f
Fixed tests
2018-07-23 17:00:33 +03:00
Dmitry Stogov
d4e60a1ffd
Avoid code duplication
2018-07-23 16:53:44 +03:00
Kalle Sommer Nielsen
b1864b0178
Fix HKEY registry path (not that it should matter, dead code, Anatol?)
2018-07-23 15:37:02 +02:00
Kalle Sommer Nielsen
08f10ef47a
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
2018-07-23 15:26:39 +02:00
Dmitry Stogov
b121405960
Use better destructor (key may be only IS_STRING or IS_LONG).
2018-07-23 15:57:06 +03:00
Dmitry Stogov
ebd1f5af3e
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).
2018-07-23 15:24:07 +03:00
Dmitry Stogov
afc82e243c
Micro-optimization
2018-07-23 10:52:00 +03:00
Xinchen Hui
850c67e957
Merge branch 'PHP-7.2'
...
* PHP-7.2:
Fixed pefree_size (efree_size will be expaned to do {} while () form)
2018-07-23 15:49:04 +08:00
Xinchen Hui
c20a97df6d
Merge branch 'PHP-7.1' into PHP-7.2
...
* PHP-7.1:
Fixed pefree_size (efree_size will be expaned to do {} while () form)
2018-07-23 15:48:52 +08:00
Xinchen Hui
2139c2c2de
Fixed pefree_size (efree_size will be expaned to do {} while () form)
2018-07-23 15:48:14 +08:00
Gabriel Caruso
c93aba042f
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
2018-07-22 16:41:41 -03:00
Gabriel Caruso
8ca1f47a7a
Use variables that already received ZEND_NUM_ARGS()
2018-07-22 15:54:00 -03:00
Jakub Zelenka
26cd84d19f
Return bool from zlog_stream_set_msg_{prefix,suffix}
2018-07-22 17:40:38 +01:00
Christoph M. Becker
89e2202cb5
Merge branch 'PHP-7.2'
...
* PHP-7.2:
Fix #52974 : jewish.c: compile error under Windows with GBK charset
2018-07-22 18:18:19 +02:00
Christoph M. Becker
33eb30274f
Merge branch 'PHP-7.1' into PHP-7.2
...
* PHP-7.1:
Fix #52974 : jewish.c: compile error under Windows with GBK charset
2018-07-22 17:59:38 +02:00
Christoph M. Becker
99fdf5916e
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.
2018-07-22 17:42:10 +02:00
Jakub Zelenka
e5a9956336
Update NEWS and UPGRADING with info about syslog.filter
2018-07-22 16:36:36 +01:00
Jakub Zelenka
c85504386d
Rename none syslog.filter to all and update ini description
2018-07-22 16:29:35 +01:00
Philip Prindeville
2010c02e5c
Add syslog.filter INI for filtering syslog messages
...
Signed-off-by: Philip Prindeville <philipp@redfish-solutions.com>
2018-07-22 15:36:47 +01:00
Nikita Popov
4a528d46f5
Add UPGRADING notes for deprecations
2018-07-21 22:48:42 +02:00
Nikita Popov
fb0e8c65b9
Deprecate pdo_odbc.db2_instance_name
...
Part of https://wiki.php.net/rfc/deprecations_php_7_3 .
2018-07-21 22:38:39 +02:00
Nikita Popov
4a5b2101e5
Deprecate string.strip_tags filter
...
Part of https://wiki.php.net/rfc/deprecations_php_7_3 .
2018-07-21 22:38:39 +02:00
Nikita Popov
d9acfa45b8
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 .
2018-07-21 22:38:35 +02:00
Nikita Popov
5c4047b339
Deprecate defining a free-standing assert() function
...
Part of https://wiki.php.net/rfc/deprecations_php_7_3 .
2018-07-21 22:34:09 +02:00
Nikita Popov
f4a9da389b
Deprecate non-string needles in string search functions
...
Part of https://wiki.php.net/rfc/deprecations_php_7_3 .
2018-07-21 22:34:09 +02:00
Nikita Popov
e6016ab20d
Deprecate undocumented mbereg_* aliases
...
Part of https://wiki.php.net/rfc/deprecations_php_7_3 .
2018-07-21 22:34:09 +02:00
Peter Kokot
fef2029614
Move GMP bug 74670 test file to tests dir
2018-07-20 19:43:09 +02:00
Nikita Popov
ee561ff2a2
Fix off-by-one allocation
...
The return value of this function is pretty meaningless, but
leaving it alone for now.
2018-07-20 17:52:56 +02:00
Nikita Popov
6e2c54d3e7
Fix incorrect length calculation
...
sizeof char pointer != sizeof string literal.
2018-07-20 17:47:53 +02:00
Trevor Rowbotham
fb0faf0208
[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.
2018-07-20 13:17:48 +02:00
Gabriel Caruso
6ac48425a8
Removed and fixed unused variables
2018-07-19 22:51:37 -03:00
Anatol Belski
8d041e171b
Merge branch 'PHP-7.2'
...
* PHP-7.2:
Update binary SDK version for AppVeyor
2018-07-19 18:38:19 +02:00
Anatol Belski
2073e96ec5
Merge branch 'PHP-7.1' into PHP-7.2
...
* PHP-7.1:
Update binary SDK version for AppVeyor
2018-07-19 18:37:38 +02:00
Anatol Belski
9e54d9d692
Update binary SDK version for AppVeyor
2018-07-19 18:35:54 +02:00
Ferenc Kovacs
5345ddee99
Merge branch 'PHP-7.2'
2018-07-19 16:59:00 +02:00