Doc #73661 [Ver->Csd]: Closure support not mentioned
| From: | cmb@php.net | Date: | Wed, 07 Dec 2016 15:37:24 +0000 |
| Subject: | Doc #73661 [Ver->Csd]: Closure support not mentioned | ||
| References: | 1 | Groups: | php.doc.bugs |
| Request: | Send a blank email to doc-bugs+get-14190@lists.php.net to get a copy of this message | ||
Edit report at https://bugs.php.net/bug.php?id=73661&edit=1
ID: 73661
Updated by: cmb@php.net
Reported by: rpbiwer at gmail dot com
Summary: Closure support not mentioned
-Status: Verified
+Status: Closed
Type: Documentation Problem
Package: runkit
PHP Version: 5.6.28
Assigned To: cmb
Block user comment: N
Private report: N
New Comment:
This bug has been fixed in the documentation's XML sources. Since the
online and downloadable versions of the documentation need some time
to get updated, we would like to ask you to be a bit patient.
Thank you for the report, and for helping us make our documentation better.
Previous Comments:
------------------------------------------------------------------------
[2016-12-07 15:36:55] cmb@php.net
Automatic comment from SVN on behalf of cmb
Revision: http://svn.php.net/viewvc/?view=revision&revision=341329
Log: Fix #73661: Closure support not mentioned
------------------------------------------------------------------------
[2016-12-07 15:18:17] cmb@php.net
Okay, some quick tests reveal that only Closures are supported (opposed to general callables).
------------------------------------------------------------------------
[2016-12-06 12:03:55] cmb@php.net
Indeed. I wonder, however, whether a general callable is accepted, or if it has to be an instance of
Closure.
------------------------------------------------------------------------
[2016-12-05 19:54:53] rpbiwer at gmail dot com
Description:
------------
---
From manual page: http://www.php.net/function.runkit-function-add
---
runkit now accepts a closure as the second argument as an alternative to the "params" and
"code" strings, but this isn't mentioned in the documentation.
------------------------------------------------------------------------
--
Edit this bug report at https://bugs.php.net/bug.php?id=73661&edit=1