Dmitry Stogov
5a51da9942
Use inlined version of zval_ptr_dtor() in array_map() loop
2017-06-29 12:15:57 +03:00
Dmitry Stogov
e111bccd48
Use zval_ptr_dtor_nogc() for data that can't be circular
2017-06-29 12:14:41 +03:00
Dmitry Stogov
bbb786c85b
Split zend_init_execute_data() into zend_init_func_execute_data() and zend_init_code_execute_data()
2017-06-29 10:10:57 +03:00
Dmitry Stogov
c23ffaa211
We don't have to use "persistent" heap with PHP-7 HashTable(s).
2017-06-29 09:24:07 +03:00
Xinchen Hui
d79305fb7a
Merge branch 'PHP-7.1'
...
* PHP-7.1:
Fix typo in PHP 7.1.8 news
2017-06-29 11:51:05 +08:00
Tyson Andre
a99c5f28c5
Fix typo in PHP 7.1.8 news
2017-06-28 15:46:58 -07:00
Anatol Belski
b411d4acc3
[ci skip] update NEWS
2017-06-28 23:38:49 +02:00
Nikita Popov
4465b37105
Fix zend_get_zval_ptr()
2017-06-28 10:21:32 +02:00
George Wang
79128b34ff
Merge branch 'PHP-7.1'
2017-06-27 23:18:27 -04:00
George Wang
4e4f2f9f89
Merge branch 'PHP-7.0' into PHP-7.1
2017-06-27 23:16:25 -04:00
George Wang
751d19f698
[BUGFIX] fixes the issue that a value from .user.ini displays in phpinfo(), but not applies.
...
[BUGFIX] when lsapi used the php_value has higher priority then ini_set when called from the script by itself .
2017-06-27 23:14:36 -04:00
Dmitry Stogov
f626a783b6
Avoid string duplication in preg_split()
2017-06-28 00:43:55 +03:00
Anatol Belski
e08c0ed8ce
Bug #74815 crash with a combination of INI entries at startup
...
TS related VCWD routines depend on CWD. Thus, a premature CWD
deactivation renders the VCWD layer unusable. Same issue seems to
persist in versions < 7.2, just that the code path is actually unused so
the issue didn't show up. Still might make sense to backport this into
lower branches.
2017-06-27 16:30:10 +02:00
Dmitry Stogov
c0be77aa75
Removed deprecated checks.
2017-06-27 13:12:09 +03:00
Dmitry Stogov
908ce66f73
Cleanup. Removed unused functions and unimplemented prototype. Avoid useless "dtor_obj" calls.
2017-06-27 12:03:06 +03:00
Remi Collet
b6ee9dd490
upgrading: doc about ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX
2017-06-26 17:26:07 +02:00
Remi Collet
85c32322ac
Merge branch 'master' of git.php.net:php-src
...
* 'master' of git.php.net:php-src: (24 commits)
Removed EG(valid_symbol_table). Used EG(active) instead.
Release temporary string reference
Remove superfluous semicolons
Fix tests on Windows
Produce a better exception message when IntlDateFormatter constructor fails.
Fix format arguments
Remove unused variable op2. It is redeclared later.
Fix typo
Implement object type annotation
Fixed bug #73173
Expose inflate_get_status() and inflate_get_read_len() functions
Add more constants, improve comments, and add tests
Fixed bug #73900
Add OPENSSL_DONT_ZERO_PAD_KEY constant to prevent key padding
Drop soap_hash_str_find_deref()
Only compute callback name in error cases
Extract zend_get_callable_name() API
Move va_copy compatibility code into zend_portability.h
Remove unnecessary string copy
Fix FE_FETCH_* exception check
...
2017-06-26 17:22:01 +02:00
Dmitry Stogov
caaeb4849a
Removed EG(valid_symbol_table). Used EG(active) instead.
2017-06-26 13:35:07 +03:00
Sara Golemon
24030d54d8
Release temporary string reference
2017-06-25 19:39:13 -04:00
Tom Van Looy
04fb3f28ff
Remove superfluous semicolons
2017-06-26 00:23:25 +02:00
Nikita Popov
b3849edf2c
Fix tests on Windows
2017-06-26 00:22:14 +02:00
Sara Golemon
ecaf408d30
Produce a better exception message when IntlDateFormatter constructor fails.
2017-06-25 17:44:59 -04:00
Nikita Popov
e5741da85c
Fix format arguments
...
Only dropped one before, both need to go...
2017-06-25 22:32:57 +02:00
Tom Van Looy
60d032d65e
Remove unused variable op2. It is redeclared later.
2017-06-25 22:31:00 +02:00
Nikita Popov
9dfcb04f10
Fix typo
2017-06-25 22:28:56 +02:00
Michał Brzuchalski
8e10c9d373
Implement object type annotation
...
RFC: https://wiki.php.net/rfc/object-typehint
2017-06-25 21:49:41 +02:00
Nikita Popov
dd15b34018
Merge branch 'PHP-7.1'
2017-06-25 20:17:34 +02:00
Nikita Popov
e938cfc921
Merge branch 'PHP-7.0' into PHP-7.1
2017-06-25 20:17:26 +02:00
Nikita Popov
604827b694
Fixed bug #73173
...
Patch by tloi at fortinet dot com.
2017-06-25 20:17:06 +02:00
Bob Weinand
a1755671e2
Merge branch 'PHP-7.1'
2017-06-25 20:15:31 +02:00
Bob Weinand
44d734254a
Merge branch 'PHP-7.0' into PHP-7.1
2017-06-25 20:13:48 +02:00
Bob Weinand
cfee5116dd
Expose inflate_get_status() and inflate_get_read_len() functions
2017-06-25 20:12:45 +02:00
Matthew Trescott
0c4f11ecaa
Add more constants, improve comments, and add tests
2017-06-25 20:12:45 +02:00
Nikita Popov
957c24d5ee
Merge branch 'PHP-7.1'
2017-06-25 19:49:25 +02:00
Nikita Popov
653b96347c
Merge branch 'PHP-7.0' into PHP-7.1
2017-06-25 19:49:11 +02:00
Nikita Popov
2fddc4a7f1
Fixed bug #73900
2017-06-25 19:48:17 +02:00
Jakub Zelenka
e657f0d3f2
Merge branch 'PHP-7.1'
2017-06-25 18:11:10 +01:00
Jakub Zelenka
0c707fcb10
Add OPENSSL_DONT_ZERO_PAD_KEY constant to prevent key padding
...
It fixes bug #71917 (openssl_open() returns junk on envelope < 16 bytes)
and bug #72362 (OpenSSL Blowfish encryption is incorrect for short
keys).
2017-06-25 18:08:50 +01:00
Nikita Popov
1f924d75cb
Drop soap_hash_str_find_deref()
...
And directly use zend_hash_str_find_deref() instead.
2017-06-25 18:51:59 +02:00
Nikita Popov
035a27cbc6
Only compute callback name in error cases
...
Mostly the callback name is only used to report an error. Try to
avoid calculating it if no error occurred.
2017-06-25 18:45:59 +02:00
Nikita Popov
ee8e75aab4
Extract zend_get_callable_name() API
...
Instead of interleaving this inside zend_is_callable(), implement
this in a separate function instead.
Also add _deref() hash APIs. I've wanted these for a while, and
this is another place where they're useful, so finally do it...
2017-06-25 18:26:03 +02:00
Nikita Popov
205807f60e
Move va_copy compatibility code into zend_portability.h
...
Previously this was defined in zend.c and php.h and also handled
in another way in soap.c.
2017-06-25 17:00:26 +02:00
Nikita Popov
6dd2eaf45c
Remove unnecessary string copy
2017-06-25 16:52:50 +02:00
Nikita Popov
c136afa2be
Fix FE_FETCH_* exception check
...
Only applying this for 7.2, because handling this would be ugly
under the old retval freeing semantics.
2017-06-25 16:45:17 +02:00
Nikita Popov
ed37ca7369
Fixed bug #74810
...
And also did some general cleanup in ZEND_FUNC_GET_ARGS.
2017-06-25 16:00:24 +02:00
Nikita Popov
191f154d40
Merge branch 'PHP-7.1'
2017-06-25 15:32:38 +02:00
Nikita Popov
bda0f4e8dc
Merge branch 'PHP-7.0' into PHP-7.1
2017-06-25 15:30:29 +02:00
Nikita Popov
de66e80d75
Don't leave holes in func_get_args() and backtraces
...
Argument lists should always be continuous and hole-free, even if
local variables are unset. Replace UNDEF values with NULLs.
2017-06-25 15:27:45 +02:00
Bob Weinand
fda0a8b735
Fixed bug #73944 (inflate_init() dictionary option) - add NEWS entry
2017-06-25 10:57:36 +02:00
wapmorgan
cd1869bcf2
Remove invalid check of dictionary content and add initialization of dictionary if raw compression used
2017-06-25 10:53:28 +02:00