]>
granicus.if.org Git - php/log
Michał Brzuchalski [Sun, 25 Jun 2017 19:43:25 +0000 (21:43 +0200)]
Implement object type annotation
RFC: https://wiki.php.net/rfc/object-typehint
Nikita Popov [Sun, 25 Jun 2017 18:17:34 +0000 (20:17 +0200)]
Merge branch 'PHP-7.1'
Nikita Popov [Sun, 25 Jun 2017 18:17:15 +0000 (20:17 +0200)]
Merge branch 'PHP-7.0' into PHP-7.1
Nikita Popov [Sun, 25 Jun 2017 18:14:58 +0000 (20:14 +0200)]
Fixed bug #73173
Patch by tloi at fortinet dot com.
Bob Weinand [Sun, 25 Jun 2017 18:15:31 +0000 (20:15 +0200)]
Merge branch 'PHP-7.1'
Bob Weinand [Sun, 25 Jun 2017 18:13:48 +0000 (20:13 +0200)]
Merge branch 'PHP-7.0' into PHP-7.1
Bob Weinand [Sun, 25 Jun 2017 18:11:53 +0000 (20:11 +0200)]
Expose inflate_get_status() and inflate_get_read_len() functions
Matthew Trescott [Sun, 25 Jun 2017 09:07:14 +0000 (11:07 +0200)]
Add more constants, improve comments, and add tests
Nikita Popov [Sun, 25 Jun 2017 17:49:25 +0000 (19:49 +0200)]
Merge branch 'PHP-7.1'
Nikita Popov [Sun, 25 Jun 2017 17:48:54 +0000 (19:48 +0200)]
Merge branch 'PHP-7.0' into PHP-7.1
Nikita Popov [Sun, 25 Jun 2017 17:48:17 +0000 (19:48 +0200)]
Fixed bug #73900
Jakub Zelenka [Sun, 25 Jun 2017 17:11:10 +0000 (18:11 +0100)]
Merge branch 'PHP-7.1'
Jakub Zelenka [Sun, 25 Jun 2017 17:08:50 +0000 (18:08 +0100)]
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).
Nikita Popov [Sun, 25 Jun 2017 16:51:40 +0000 (18:51 +0200)]
Drop soap_hash_str_find_deref()
And directly use zend_hash_str_find_deref() instead.
Nikita Popov [Sun, 25 Jun 2017 16:45:59 +0000 (18:45 +0200)]
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.
Nikita Popov [Sun, 25 Jun 2017 15:55:56 +0000 (17:55 +0200)]
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...
Nikita Popov [Sun, 25 Jun 2017 15:00:26 +0000 (17:00 +0200)]
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.
Nikita Popov [Sun, 25 Jun 2017 14:52:50 +0000 (16:52 +0200)]
Remove unnecessary string copy
Nikita Popov [Sun, 25 Jun 2017 14:45:17 +0000 (16:45 +0200)]
Fix FE_FETCH_* exception check
Only applying this for 7.2, because handling this would be ugly
under the old retval freeing semantics.
Nikita Popov [Sun, 25 Jun 2017 13:37:29 +0000 (15:37 +0200)]
Fixed bug #74810
And also did some general cleanup in ZEND_FUNC_GET_ARGS.
Nikita Popov [Sun, 25 Jun 2017 13:31:06 +0000 (15:31 +0200)]
Merge branch 'PHP-7.1'
Nikita Popov [Sun, 25 Jun 2017 13:30:29 +0000 (15:30 +0200)]
Merge branch 'PHP-7.0' into PHP-7.1
Nikita Popov [Sun, 25 Jun 2017 13:08:36 +0000 (15:08 +0200)]
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.
Bob Weinand [Sun, 25 Jun 2017 08:57:36 +0000 (10:57 +0200)]
Fixed bug #73944 (inflate_init() dictionary option) - add NEWS entry
wapmorgan [Sat, 24 Jun 2017 19:44:01 +0000 (22:44 +0300)]
Remove invalid check of dictionary content and add initialization of dictionary if raw compression used
Remi Collet [Sun, 25 Jun 2017 06:41:11 +0000 (08:41 +0200)]
not about zend_arg_info.class_name
Remi Collet [Sun, 25 Jun 2017 06:32:03 +0000 (08:32 +0200)]
note about IS_TYPE_IMMUTABLE
Remi Collet [Sun, 25 Jun 2017 06:27:52 +0000 (08:27 +0200)]
note about php_pcre_replace*
Remi Collet [Sun, 25 Jun 2017 06:23:30 +0000 (08:23 +0200)]
ZEND_ACC_CLONE is removed
Remi Collet [Sun, 25 Jun 2017 06:22:29 +0000 (08:22 +0200)]
fix version
Anatol Belski [Fri, 23 Jun 2017 23:37:45 +0000 (01:37 +0200)]
[ci skip] update NEWS
Anatol Belski [Fri, 23 Jun 2017 23:29:51 +0000 (01:29 +0200)]
Merge branch 'PHP-7.1'
* PHP-7.1:
[ci skip] update NEWS
Anatol Belski [Fri, 23 Jun 2017 23:28:58 +0000 (01:28 +0200)]
[ci skip] update NEWS
Anatol Belski [Fri, 23 Jun 2017 22:25:51 +0000 (00:25 +0200)]
Relax test condition, as OpenSSL 1.1.x out differs in EOL only
Anatol Belski [Fri, 23 Jun 2017 22:24:56 +0000 (00:24 +0200)]
Merge branch 'PHP-7.1'
* PHP-7.1:
Fix bug #74798 pkcs7_en/decrypt does not work if \x0a is used in content
Anatol Belski [Fri, 23 Jun 2017 22:18:57 +0000 (00:18 +0200)]
Fix bug #74798 pkcs7_en/decrypt does not work if \x0a is used in content
The patch for bug #74720 was incomplete.
Nikita Popov [Fri, 23 Jun 2017 15:33:36 +0000 (17:33 +0200)]
Merge branch 'PHP-7.1'
Nikita Popov [Fri, 23 Jun 2017 15:32:45 +0000 (17:32 +0200)]
Fixed bug #74623
Nikita Popov [Fri, 23 Jun 2017 15:07:44 +0000 (17:07 +0200)]
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.
Dmitry Stogov [Fri, 23 Jun 2017 11:59:29 +0000 (14:59 +0300)]
Merge branch 'fast_shutdown'
* fast_shutdown:
Reseet EG(active) a bit early.
Reuse "nIndex"
shutdown_executor() refactoring (reuse opcache fast request shutdown code)
Dmitry Stogov [Fri, 23 Jun 2017 11:58:19 +0000 (14:58 +0300)]
Reseet EG(active) a bit early.
Nikita Popov [Fri, 23 Jun 2017 11:32:32 +0000 (13:32 +0200)]
Merge branch 'PHP-7.1'
Nikita Popov [Fri, 23 Jun 2017 11:31:39 +0000 (13:31 +0200)]
Merge branch 'PHP-7.0' into PHP-7.1
ideal [Wed, 21 Jun 2017 05:16:05 +0000 (13:16 +0800)]
Fix error if compiled without -fpermissive flag.
Dmitry Stogov [Fri, 23 Jun 2017 11:23:00 +0000 (14:23 +0300)]
Reuse "nIndex"
Joe Watkins [Fri, 23 Jun 2017 06:53:24 +0000 (07:53 +0100)]
Merge branch 'PHP-7.1'
* PHP-7.1:
fix method "eof"
Joe Watkins [Fri, 23 Jun 2017 06:53:12 +0000 (07:53 +0100)]
Merge branch 'PHP-7.0' into PHP-7.1
* PHP-7.0:
fix method "eof"
danchukas [Thu, 22 Jun 2017 14:25:40 +0000 (17:25 +0300)]
fix method "eof"
replace "eof" with "feof"
because:
1) http://php.net/manual/ru/function.feof.php
2) Error: Call to undefined function eof()
Joe Watkins [Fri, 23 Jun 2017 06:51:59 +0000 (07:51 +0100)]
Merge branch 'PHP-7.1'
* PHP-7.1:
Remove superfluous branch
Joe Watkins [Fri, 23 Jun 2017 06:51:46 +0000 (07:51 +0100)]
Merge branch 'PHP-7.0' into PHP-7.1
* PHP-7.0:
Remove superfluous branch
Thomas Punt [Wed, 21 Jun 2017 20:47:22 +0000 (21:47 +0100)]
Remove superfluous branch
Marat Nagayev [Thu, 22 Jun 2017 19:34:42 +0000 (22:34 +0300)]
fix news
Jakub Zelenka [Thu, 22 Jun 2017 19:39:00 +0000 (20:39 +0100)]
Update NEWS with info about openssl pkcs7 read and verify changes
Jelle van der Waa [Tue, 30 May 2017 09:24:31 +0000 (11:24 +0200)]
Add openssl_pkcs7_read and output P7B in openssl_pkcs7_verify
Add an optional argument to openssl_pkcs7_verify to save the P7B
structure which can contain extra CA intermediate certificates send
along with an S/MIME signed email.
Introduce a new function called openssl_pkcs7_read, which can read a
PKCS#7 structure passed as a string and returns by reference an array
with PEM certificates formatted as a string.
Sara Golemon [Thu, 22 Jun 2017 17:13:42 +0000 (13:13 -0400)]
Minor refactor of load extension by name impl
Minimize the #ifdef surface area
Localize orig_libpath to retry scope
Send errors to php_error() rathern than stderr
Francois Laupretre [Thu, 28 Jan 2016 18:50:18 +0000 (19:50 +0100)]
Allow loading PHP and Zend extensions by name
Allow extension name as INI 'extension=' and dl() argument
No BC break, as file name is still accepted.
When using the '-z' command line option (CLI/CGI), an absolute file name must still be provided (nothing changed here)
Change comments in example INI files
Joe Watkins [Thu, 22 Jun 2017 13:01:54 +0000 (14:01 +0100)]
Merge branch 'PHP-7.1'
* PHP-7.1:
Fix configure error
Joe Watkins [Thu, 22 Jun 2017 13:01:30 +0000 (14:01 +0100)]
Merge branch 'PHP-7.0' into PHP-7.1
* PHP-7.0:
Fix configure error
Peter Kokot [Thu, 15 Jun 2017 00:30:39 +0000 (02:30 +0200)]
Fix configure error
This patch fixes configure error on some systems such as Alpine.
```
line 3472: test: =: unary operator expected
```
One of the fixes has been suggested also here already:
https://bugs.php.net/bug.php?id=39835
Thank you for considering merging this.
Michael Moussa [Thu, 25 May 2017 23:21:00 +0000 (19:21 -0400)]
Add test for bug #52480
Joe Watkins [Thu, 22 Jun 2017 10:57:49 +0000 (11:57 +0100)]
Merge branch 'PHP-7.1'
* PHP-7.1:
fix bug #73471 PHP freezes with AppendIterator
Joe Watkins [Thu, 22 Jun 2017 10:57:22 +0000 (11:57 +0100)]
Merge branch 'PHP-7.0' into PHP-7.1
* PHP-7.0:
fix bug #73471 PHP freezes with AppendIterator
jhdxr [Sun, 30 Apr 2017 05:33:53 +0000 (13:33 +0800)]
fix bug #73471 PHP freezes with AppendIterator
Joe Watkins [Thu, 22 Jun 2017 10:54:10 +0000 (11:54 +0100)]
fix news
Joe Watkins [Thu, 22 Jun 2017 10:53:07 +0000 (11:53 +0100)]
Merge branch 'PHP-7.1'
* PHP-7.1:
fix bug #74780 parse_url() borken when query string contains colon
Update NEWS
Joe Watkins [Thu, 22 Jun 2017 10:52:20 +0000 (11:52 +0100)]
Merge branch 'PHP-7.0' into PHP-7.1
* PHP-7.0:
fix bug #74780 parse_url() borken when query string contains colon
jhdxr [Tue, 20 Jun 2017 18:03:13 +0000 (02:03 +0800)]
fix bug #74780 parse_url() borken when query string contains colon
Niklas Keller [Thu, 22 Jun 2017 10:38:22 +0000 (12:38 +0200)]
Fix name in NEWS
It's enough to name my php.net account there.
Dmitry Stogov [Wed, 21 Jun 2017 22:45:28 +0000 (01:45 +0300)]
shutdown_executor() refactoring (reuse opcache fast request shutdown code)
Dmitry Stogov [Wed, 21 Jun 2017 22:41:59 +0000 (01:41 +0300)]
Fixed SKIP code
Dmitry Stogov [Wed, 21 Jun 2017 15:50:08 +0000 (18:50 +0300)]
Fixed few test failures if php.ini contains zend.assertions=-1
Dmitry Stogov [Wed, 21 Jun 2017 13:11:50 +0000 (16:11 +0300)]
We don't need any special handling for CG(unclean_shutdown) at this point, because in case of exit() or die() all destructors must be already called before.
Dmitry Stogov [Wed, 21 Jun 2017 13:09:21 +0000 (16:09 +0300)]
Setting CG(unclean_shutdown) in fast shutdown doesn't make a lot of sense (it was set to prevent memory leak messages, but we doesn't check memory leaks in RELEASE build anyway).
Dmitry Stogov [Wed, 21 Jun 2017 09:57:24 +0000 (12:57 +0300)]
Avoid useless duplication
Dmitry Stogov [Wed, 21 Jun 2017 08:25:30 +0000 (11:25 +0300)]
Use persistent heap only for persistent connections.
Dmitry Stogov [Wed, 21 Jun 2017 08:25:05 +0000 (11:25 +0300)]
Use request heap.
Dmitry Stogov [Wed, 21 Jun 2017 07:37:54 +0000 (10:37 +0300)]
Clear alocated memory blocks, only if this is really necessary.
Christopher Jones [Wed, 21 Jun 2017 06:17:54 +0000 (16:17 +1000)]
Update NEWS
Christopher Jones [Wed, 21 Jun 2017 06:16:20 +0000 (16:16 +1000)]
Update NEWS
Christopher Jones [Wed, 21 Jun 2017 05:56:09 +0000 (15:56 +1000)]
Merge branch 'PHP-7.1'
* PHP-7.1:
Add bug #74625 to package.xml
Add IN bind case to bug74625.phpt
Fixed bug #74625 (Integer overflow in oci_bind_array_by_name).
Christopher Jones [Wed, 21 Jun 2017 05:55:54 +0000 (15:55 +1000)]
Merge branch 'PHP-7.0' into PHP-7.1
* PHP-7.0:
Add bug #74625 to package.xml
Add IN bind case to bug74625.phpt
Fixed bug #74625 (Integer overflow in oci_bind_array_by_name).
Christopher Jones [Wed, 21 Jun 2017 05:55:28 +0000 (15:55 +1000)]
Merge branch 'pull-request/2532' into PHP-7.0
* pull-request/2532:
Add bug #74625 to package.xml
Add IN bind case to bug74625.phpt
Fixed bug #74625 (Integer overflow in oci_bind_array_by_name).
Christopher Jones [Wed, 21 Jun 2017 05:50:51 +0000 (15:50 +1000)]
Add bug #74625 to package.xml
Christopher Jones [Wed, 21 Jun 2017 05:47:32 +0000 (15:47 +1000)]
Add IN bind case to bug74625.phpt
Ingmar Runge [Mon, 22 May 2017 06:58:18 +0000 (08:58 +0200)]
Fixed bug #74625 (Integer overflow in oci_bind_array_by_name).
Christopher Jones [Wed, 21 Jun 2017 05:04:34 +0000 (15:04 +1000)]
Merge branch 'PHP-7.1'
Christopher Jones [Wed, 21 Jun 2017 05:04:03 +0000 (15:04 +1000)]
Merge branch 'PHP-7.0' into PHP-7.1
Christopher Jones [Wed, 21 Jun 2017 05:02:58 +0000 (15:02 +1000)]
Remove use of obsolete create_function()
Christopher Jones [Wed, 21 Jun 2017 04:32:00 +0000 (14:32 +1000)]
Merge branch 'PHP-7.1'
Christopher Jones [Wed, 21 Jun 2017 04:29:43 +0000 (14:29 +1000)]
Merge branch 'PHP-7.0' into PHP-7.1
Christopher Jones [Wed, 21 Jun 2017 04:29:30 +0000 (14:29 +1000)]
Update OCI8 version test and package.xml
Stanislav Malyshev [Mon, 16 Jan 2017 09:18:16 +0000 (01:18 -0800)]
Fix bug #73634 - grapheme_strpos illegal memory access
Stanislav Malyshev [Mon, 16 Jan 2017 20:11:50 +0000 (12:11 -0800)]
Fix bug #73648 - integer overflow in substr
Dmitry Stogov [Tue, 20 Jun 2017 20:25:09 +0000 (23:25 +0300)]
Added specialized FE_FETCH_R handler for iteration over array
Dmitry Stogov [Tue, 20 Jun 2017 19:26:46 +0000 (22:26 +0300)]
FE_RESER/FE_FETCH optimisation
Joe Watkins [Tue, 20 Jun 2017 16:34:00 +0000 (17:34 +0100)]
bump versions
Sara Golemon [Tue, 20 Jun 2017 13:47:22 +0000 (13:47 +0000)]
Update NEWS for 7.2.0alpha3
Sara Golemon [Tue, 20 Jun 2017 13:22:55 +0000 (13:22 +0000)]
Update NEWS for PHP 7.2.0alpha2
Anatol Belski [Tue, 20 Jun 2017 13:45:34 +0000 (15:45 +0200)]
Merge branch 'PHP-7.1'
* PHP-7.1:
Split requested size as expected by CreateFileMapping.
Anatol Belski [Tue, 20 Jun 2017 13:45:05 +0000 (15:45 +0200)]
Merge branch 'PHP-7.0' into PHP-7.1
* PHP-7.0:
Split requested size as expected by CreateFileMapping.