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
Remi Collet
4ed8ff5090
not about zend_arg_info.class_name
2017-06-25 08:41:11 +02:00
Remi Collet
b3b8627106
note about IS_TYPE_IMMUTABLE
2017-06-25 08:32:03 +02:00
Remi Collet
59c30c01b3
note about php_pcre_replace*
2017-06-25 08:27:52 +02:00
Remi Collet
754e1c463d
ZEND_ACC_CLONE is removed
2017-06-25 08:23:30 +02:00
Remi Collet
8e98a44eb2
fix version
2017-06-25 08:22:29 +02:00
Anatol Belski
31e4afe3c3
[ci skip] update NEWS
2017-06-24 01:37:45 +02:00
Anatol Belski
cf1f9a20fd
Merge branch 'PHP-7.1'
...
* PHP-7.1:
[ci skip] update NEWS
2017-06-24 01:29:51 +02:00
Anatol Belski
4e98990f6b
[ci skip] update NEWS
2017-06-24 01:28:58 +02:00
Anatol Belski
eb68301df1
Relax test condition, as OpenSSL 1.1.x out differs in EOL only
2017-06-24 00:25:51 +02:00
Anatol Belski
d7b9eb981a
Merge branch 'PHP-7.1'
...
* PHP-7.1:
Fix bug #74798 pkcs7_en/decrypt does not work if \x0a is used in content
2017-06-24 00:24:56 +02:00
Anatol Belski
b714309056
Fix bug #74798 pkcs7_en/decrypt does not work if \x0a is used in content
...
The patch for bug #74720 was incomplete.
2017-06-24 00:18:57 +02:00
Nikita Popov
272a9f29f5
Merge branch 'PHP-7.1'
2017-06-23 17:33:36 +02:00
Nikita Popov
5b5a92b8b6
Fixed bug #74623
2017-06-23 17:32:45 +02:00
Nikita Popov
4948da178a
Make inference robust against infinite loop
...
Right now, if narrowing occurs on non-debug builds, inference can
easily go into an infinite loop. Prevent this, and add a pointer
that this should be reported as a bug.
2017-06-23 17:07:44 +02:00
Dmitry Stogov
d55b43d9cb
Merge branch 'fast_shutdown'
...
* fast_shutdown:
Reseet EG(active) a bit early.
Reuse "nIndex"
shutdown_executor() refactoring (reuse opcache fast request shutdown code)
2017-06-23 14:59:29 +03:00
Dmitry Stogov
866d3b40e9
Reseet EG(active) a bit early.
2017-06-23 14:58:19 +03:00
Nikita Popov
748069e3a0
Merge branch 'PHP-7.1'
2017-06-23 13:32:51 +02:00