]> granicus.if.org Git - php/log
php
7 years agofix version
Remi Collet [Sun, 25 Jun 2017 06:22:29 +0000 (08:22 +0200)]
fix version

7 years ago[ci skip] update NEWS
Anatol Belski [Fri, 23 Jun 2017 23:37:45 +0000 (01:37 +0200)]
[ci skip] update NEWS

7 years agoMerge branch 'PHP-7.1'
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

7 years ago[ci skip] update NEWS
Anatol Belski [Fri, 23 Jun 2017 23:28:58 +0000 (01:28 +0200)]
[ci skip] update NEWS

7 years agoRelax test condition, as OpenSSL 1.1.x out differs in EOL only
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

7 years agoMerge branch 'PHP-7.1'
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

7 years agoFix 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.

7 years agoMerge branch 'PHP-7.1'
Nikita Popov [Fri, 23 Jun 2017 15:33:36 +0000 (17:33 +0200)]
Merge branch 'PHP-7.1'

7 years agoFixed bug #74623
Nikita Popov [Fri, 23 Jun 2017 15:32:45 +0000 (17:32 +0200)]
Fixed bug #74623

7 years agoMake inference robust against infinite loop
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.

7 years agoMerge branch 'fast_shutdown'
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)

7 years agoReseet EG(active) a bit early.
Dmitry Stogov [Fri, 23 Jun 2017 11:58:19 +0000 (14:58 +0300)]
Reseet EG(active) a bit early.

7 years agoMerge branch 'PHP-7.1'
Nikita Popov [Fri, 23 Jun 2017 11:32:32 +0000 (13:32 +0200)]
Merge branch 'PHP-7.1'

7 years agoMerge branch 'PHP-7.0' into 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

7 years agoFix error if compiled without -fpermissive flag.
ideal [Wed, 21 Jun 2017 05:16:05 +0000 (13:16 +0800)]
Fix error if compiled without -fpermissive flag.

7 years agoReuse "nIndex"
Dmitry Stogov [Fri, 23 Jun 2017 11:23:00 +0000 (14:23 +0300)]
Reuse "nIndex"

7 years agoMerge branch 'PHP-7.1'
Joe Watkins [Fri, 23 Jun 2017 06:53:24 +0000 (07:53 +0100)]
Merge branch 'PHP-7.1'

* PHP-7.1:
  fix method "eof"

7 years agoMerge branch 'PHP-7.0' into PHP-7.1
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"

7 years agofix 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()

7 years agoMerge branch 'PHP-7.1'
Joe Watkins [Fri, 23 Jun 2017 06:51:59 +0000 (07:51 +0100)]
Merge branch 'PHP-7.1'

* PHP-7.1:
  Remove superfluous branch

7 years agoMerge branch 'PHP-7.0' into PHP-7.1
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

7 years agoRemove superfluous branch
Thomas Punt [Wed, 21 Jun 2017 20:47:22 +0000 (21:47 +0100)]
Remove superfluous branch

7 years agofix news
Marat Nagayev [Thu, 22 Jun 2017 19:34:42 +0000 (22:34 +0300)]
fix news

7 years agoUpdate NEWS with info about openssl pkcs7 read and verify changes
Jakub Zelenka [Thu, 22 Jun 2017 19:39:00 +0000 (20:39 +0100)]
Update NEWS with info about openssl pkcs7 read and verify changes

7 years agoAdd openssl_pkcs7_read and output P7B in openssl_pkcs7_verify
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.

7 years agoMinor refactor of load extension by name impl
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

7 years agoAllow loading PHP and Zend extensions by name
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

7 years agoMerge branch 'PHP-7.1'
Joe Watkins [Thu, 22 Jun 2017 13:01:54 +0000 (14:01 +0100)]
Merge branch 'PHP-7.1'

* PHP-7.1:
  Fix configure error

7 years agoMerge branch 'PHP-7.0' into PHP-7.1
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

7 years agoFix 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.

7 years agoAdd test for bug #52480
Michael Moussa [Thu, 25 May 2017 23:21:00 +0000 (19:21 -0400)]
Add test for bug #52480

7 years agoMerge branch 'PHP-7.1'
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

7 years agoMerge branch 'PHP-7.0' into PHP-7.1
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

7 years agofix 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

7 years agofix news
Joe Watkins [Thu, 22 Jun 2017 10:54:10 +0000 (11:54 +0100)]
fix news

7 years agoMerge branch 'PHP-7.1'
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

7 years agoMerge branch 'PHP-7.0' into PHP-7.1
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

7 years agofix 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

7 years agoFix name in NEWS
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.

7 years agoshutdown_executor() refactoring (reuse opcache fast request shutdown code)
Dmitry Stogov [Wed, 21 Jun 2017 22:45:28 +0000 (01:45 +0300)]
shutdown_executor() refactoring (reuse opcache fast request shutdown code)

7 years agoFixed SKIP code
Dmitry Stogov [Wed, 21 Jun 2017 22:41:59 +0000 (01:41 +0300)]
Fixed SKIP code

7 years agoFixed few test failures if php.ini contains zend.assertions=-1
Dmitry Stogov [Wed, 21 Jun 2017 15:50:08 +0000 (18:50 +0300)]
Fixed few test failures if php.ini contains zend.assertions=-1

7 years agoWe don't need any special handling for CG(unclean_shutdown) at this point, because...
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.

7 years agoSetting CG(unclean_shutdown) in fast shutdown doesn't make a lot of sense (it was...
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).

7 years agoAvoid useless duplication
Dmitry Stogov [Wed, 21 Jun 2017 09:57:24 +0000 (12:57 +0300)]
Avoid useless duplication

7 years agoUse persistent heap only for persistent connections.
Dmitry Stogov [Wed, 21 Jun 2017 08:25:30 +0000 (11:25 +0300)]
Use persistent heap only for persistent connections.

7 years agoUse request heap.
Dmitry Stogov [Wed, 21 Jun 2017 08:25:05 +0000 (11:25 +0300)]
Use request heap.

7 years agoClear alocated memory blocks, only if this is really necessary.
Dmitry Stogov [Wed, 21 Jun 2017 07:37:54 +0000 (10:37 +0300)]
Clear alocated memory blocks, only if this is really necessary.

7 years agoUpdate NEWS
Christopher Jones [Wed, 21 Jun 2017 06:17:54 +0000 (16:17 +1000)]
Update NEWS

7 years agoUpdate NEWS
Christopher Jones [Wed, 21 Jun 2017 06:16:20 +0000 (16:16 +1000)]
Update NEWS

7 years agoMerge branch 'PHP-7.1'
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).

7 years agoMerge branch 'PHP-7.0' into PHP-7.1
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).

7 years agoMerge branch 'pull-request/2532' into PHP-7.0
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).

7 years agoAdd bug #74625 to package.xml
Christopher Jones [Wed, 21 Jun 2017 05:50:51 +0000 (15:50 +1000)]
Add bug #74625 to package.xml

7 years agoAdd IN bind case to bug74625.phpt
Christopher Jones [Wed, 21 Jun 2017 05:47:32 +0000 (15:47 +1000)]
Add IN bind case to bug74625.phpt

7 years agoFixed bug #74625 (Integer overflow in oci_bind_array_by_name).
Ingmar Runge [Mon, 22 May 2017 06:58:18 +0000 (08:58 +0200)]
Fixed bug #74625 (Integer overflow in oci_bind_array_by_name).

7 years agoMerge branch 'PHP-7.1'
Christopher Jones [Wed, 21 Jun 2017 05:04:34 +0000 (15:04 +1000)]
Merge branch 'PHP-7.1'

7 years agoMerge branch 'PHP-7.0' into 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

7 years agoRemove use of obsolete create_function()
Christopher Jones [Wed, 21 Jun 2017 05:02:58 +0000 (15:02 +1000)]
Remove use of obsolete create_function()

7 years agoMerge branch 'PHP-7.1'
Christopher Jones [Wed, 21 Jun 2017 04:32:00 +0000 (14:32 +1000)]
Merge branch 'PHP-7.1'

7 years agoMerge branch 'PHP-7.0' into 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

7 years agoUpdate OCI8 version test and package.xml
Christopher Jones [Wed, 21 Jun 2017 04:29:30 +0000 (14:29 +1000)]
Update OCI8 version test and package.xml

7 years agoFix bug #73634 - grapheme_strpos illegal memory access
Stanislav Malyshev [Mon, 16 Jan 2017 09:18:16 +0000 (01:18 -0800)]
Fix bug #73634 - grapheme_strpos illegal memory access

7 years agoFix bug #73648 - integer overflow in substr
Stanislav Malyshev [Mon, 16 Jan 2017 20:11:50 +0000 (12:11 -0800)]
Fix bug #73648 - integer overflow in substr

7 years agoAdded specialized FE_FETCH_R handler for iteration over array
Dmitry Stogov [Tue, 20 Jun 2017 20:25:09 +0000 (23:25 +0300)]
Added specialized FE_FETCH_R handler for iteration over array

7 years agoFE_RESER/FE_FETCH optimisation
Dmitry Stogov [Tue, 20 Jun 2017 19:26:46 +0000 (22:26 +0300)]
FE_RESER/FE_FETCH optimisation

7 years agobump versions
Joe Watkins [Tue, 20 Jun 2017 16:34:00 +0000 (17:34 +0100)]
bump versions

7 years agoUpdate NEWS for 7.2.0alpha3
Sara Golemon [Tue, 20 Jun 2017 13:47:22 +0000 (13:47 +0000)]
Update NEWS for 7.2.0alpha3

7 years agoUpdate NEWS for PHP 7.2.0alpha2
Sara Golemon [Tue, 20 Jun 2017 13:22:55 +0000 (13:22 +0000)]
Update NEWS for PHP 7.2.0alpha2

7 years agoMerge branch 'PHP-7.1'
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.

7 years agoMerge branch 'PHP-7.0' into PHP-7.1
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.

7 years agoSplit requested size as expected by CreateFileMapping.
Anatol Belski [Tue, 20 Jun 2017 13:38:25 +0000 (15:38 +0200)]
Split requested size as expected by CreateFileMapping.

Thus fixing ext\opcache\tests\log_verbosity_bug.phpt fails on 64-bit.

7 years agoNEWS entries for 7.2.0alpha2
Sara Golemon [Tue, 20 Jun 2017 13:21:46 +0000 (09:21 -0400)]
NEWS entries for 7.2.0alpha2

7 years agoMerge branch 'PHP-7.1'
Anatol Belski [Tue, 20 Jun 2017 12:06:43 +0000 (14:06 +0200)]
Merge branch 'PHP-7.1'

* PHP-7.1:
  move next

7 years agoMerge branch 'PHP-7.0' into PHP-7.1
Anatol Belski [Tue, 20 Jun 2017 12:06:27 +0000 (14:06 +0200)]
Merge branch 'PHP-7.0' into PHP-7.1

* PHP-7.0:
  move next

7 years agomove next
Anatol Belski [Tue, 20 Jun 2017 12:05:50 +0000 (14:05 +0200)]
move next

7 years agoFixed Bug #74537 (Align --with-pdo-oci configure option with --with-oci8 syntax)
Christopher Jones [Tue, 20 Jun 2017 06:24:38 +0000 (16:24 +1000)]
Fixed Bug #74537 (Align --with-pdo-oci configure option with --with-oci8 syntax)

7 years agoMerge branch 'PHP-7.1'
Christopher Jones [Tue, 20 Jun 2017 06:07:17 +0000 (16:07 +1000)]
Merge branch 'PHP-7.1'

7 years agoUpdate NEWS
Christopher Jones [Tue, 20 Jun 2017 06:01:37 +0000 (16:01 +1000)]
Update NEWS

7 years agoMerge branch 'PHP-7.0' into PHP-7.1
Christopher Jones [Tue, 20 Jun 2017 06:00:55 +0000 (16:00 +1000)]
Merge branch 'PHP-7.0' into PHP-7.1

7 years agoPDO_OCI: support IC 12.2 in configure option
Christopher Jones [Tue, 20 Jun 2017 06:00:22 +0000 (16:00 +1000)]
PDO_OCI: support IC 12.2 in configure option

7 years agoMention OCI8 TAF callback support in UPGRADING
Christopher Jones [Tue, 20 Jun 2017 05:51:56 +0000 (15:51 +1000)]
Mention OCI8 TAF callback support in UPGRADING

7 years agoMerge branch 'PHP-7.1'
Christopher Jones [Tue, 20 Jun 2017 04:56:22 +0000 (14:56 +1000)]
Merge branch 'PHP-7.1'

* PHP-7.1:
  Bump OCI8 version

7 years agoMerge branch 'PHP-7.0' into PHP-7.1
Christopher Jones [Tue, 20 Jun 2017 04:55:27 +0000 (14:55 +1000)]
Merge branch 'PHP-7.0' into PHP-7.1

* PHP-7.0:
  Bump OCI8 version

7 years agoBump OCI8 version
Christopher Jones [Tue, 20 Jun 2017 04:54:45 +0000 (14:54 +1000)]
Bump OCI8 version

7 years agoMerge branch 'PHP-7.1'
Christopher Jones [Tue, 20 Jun 2017 04:44:46 +0000 (14:44 +1000)]
Merge branch 'PHP-7.1'

* PHP-7.1:
  add test for bug #70700

7 years agoMerge branch 'PHP-7.0' into PHP-7.1
Christopher Jones [Tue, 20 Jun 2017 04:44:11 +0000 (14:44 +1000)]
Merge branch 'PHP-7.0' into PHP-7.1

* PHP-7.0:
  add test for bug #70700

7 years agoMerge branch 'pull-request/1569' into PHP-7.0
Christopher Jones [Tue, 20 Jun 2017 04:43:50 +0000 (14:43 +1000)]
Merge branch 'pull-request/1569' into PHP-7.0

* pull-request/1569:
  add test for bug #70700

7 years agoadd test for bug #70700
Chuck Burgess [Mon, 12 Oct 2015 19:56:59 +0000 (14:56 -0500)]
add test for bug #70700

7 years agoUpdate NEWS
Christopher Jones [Tue, 20 Jun 2017 04:38:31 +0000 (14:38 +1000)]
Update NEWS

7 years agoUpdate NEWS
Christopher Jones [Tue, 20 Jun 2017 04:37:52 +0000 (14:37 +1000)]
Update NEWS

7 years agoUpdate NEWS
Christopher Jones [Tue, 20 Jun 2017 04:37:16 +0000 (14:37 +1000)]
Update NEWS

7 years agoMerge branch 'PHP-7.1'
Christopher Jones [Tue, 20 Jun 2017 04:34:05 +0000 (14:34 +1000)]
Merge branch 'PHP-7.1'

* PHP-7.1:
  oci8 - Implementation of Oracle TAF Callback

7 years agoMerge branch 'PHP-7.0' into PHP-7.1
Christopher Jones [Tue, 20 Jun 2017 04:33:35 +0000 (14:33 +1000)]
Merge branch 'PHP-7.0' into PHP-7.1

* PHP-7.0:
  oci8 - Implementation of Oracle TAF Callback

7 years agoMerge branch 'pull-request/2459' into PHP-7.0
Christopher Jones [Tue, 20 Jun 2017 04:33:06 +0000 (14:33 +1000)]
Merge branch 'pull-request/2459' into PHP-7.0

* pull-request/2459:
  oci8 - Implementation of Oracle TAF Callback

7 years agooci8 - Implementation of Oracle TAF Callback
KoenigsKind [Fri, 7 Apr 2017 18:40:40 +0000 (20:40 +0200)]
oci8 - Implementation of Oracle TAF Callback

Adds support for the Transparent Application Failover Callback.
The php_oci_connection struct got a char* added which will contain the
callback function, it should be set to PHP_OCI_TAF_DISABLE_CALLBACK at
the end of a php request for permanent connections so that, if a TAF
callback occurs, no userspace function will be called.
Maybe add support for registering object functions (via array),
currently the register function only accepts a string. I didn't know how
to implement it correctly. As a failover occurs very rarely it might be
better to not keep the cache when saving the zend_fcall_info.

Things to do
[ ] config.m4 needs to compile oci8_failover.c
[ ] Check if correctly implemented (especially for multithreading)
[ ] Add support for registering callback function via array

7 years agoMerge branch 'PHP-7.1'
Christopher Jones [Tue, 20 Jun 2017 04:24:56 +0000 (14:24 +1000)]
Merge branch 'PHP-7.1'

* PHP-7.1:
  add test for bug #60994

7 years agoMerge branch 'PHP-7.0' into PHP-7.1
Christopher Jones [Tue, 20 Jun 2017 04:24:07 +0000 (14:24 +1000)]
Merge branch 'PHP-7.0' into PHP-7.1

* PHP-7.0:
  add test for bug #60994

7 years agoMerge branch 'pull-request/1566' into PHP-7.0
Christopher Jones [Tue, 20 Jun 2017 04:23:20 +0000 (14:23 +1000)]
Merge branch 'pull-request/1566' into PHP-7.0

* pull-request/1566:
  add test for bug #60994

7 years agoadd test for bug #60994
Chuck Burgess [Mon, 12 Oct 2015 15:50:09 +0000 (10:50 -0500)]
add test for bug #60994