|  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Doc Bug #73661 Closure support not mentioned
Submitted: 2016-12-05 19:54 UTC Modified: 2016-12-07 15:37 UTC
From: rpbiwer at gmail dot com Assigned: cmb (profile)
Status: Closed Package: runkit (PECL)
PHP Version: 5.6.28 OS:
Private report: No CVE-ID: None
View Add Comment Developer Edit
Anyone can comment on a bug. Have a simpler test case? Does it work for you on a different platform? Let us know!
Just going to say 'Me too!'? Don't clutter the database with that please !
Your email address:
Solve the problem:
44 + 24 = ?
Subscribe to this entry?

 [2016-12-05 19:54 UTC] rpbiwer at gmail dot com
From manual page:

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.


Add a Patch

Pull Requests

Add a Pull Request


AllCommentsChangesGit/SVN commitsRelated reports
 [2016-12-06 12:03 UTC]
-Status: Open +Status: Verified -Assigned To: +Assigned To: cmb
 [2016-12-06 12:03 UTC]
Indeed. I wonder, however, whether a general callable is accepted, or if it has to be an instance of Closure.
 [2016-12-07 15:18 UTC]
Okay, some quick tests reveal that only Closures are supported (opposed to general callables).
 [2016-12-07 15:36 UTC]
Automatic comment from SVN on behalf of cmb
Log: Fix #73661: Closure support not mentioned
 [2016-12-07 15:37 UTC]
-Status: Verified +Status: Closed
 [2016-12-07 15:37 UTC]
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.
 [2020-02-07 06:06 UTC]
Automatic comment on behalf of cmb
Log: Fix #73661: Closure support not mentioned
PHP Copyright © 2001-2023 The PHP Group
All rights reserved.
Last updated: Sat Dec 02 23:01:28 2023 UTC