Doc #74285 [NEW]: Closure::bindto documentation is missing change in PHP7.0.0
| From: | bburnichon at gmail dot com | Date: | Tue, 21 Mar 2017 13:25:52 +0000 |
| Subject: | Doc #74285 [NEW]: Closure::bindto documentation is missing change in PHP7.0.0 | ||
| Groups: | php.doc.bugs | ||
| Request: | Send a blank email to doc-bugs+get-14531@lists.php.net to get a copy of this message | ||
From: bburnichon at gmail dot com
Operating system:
PHP version: Irrelevant
Package: Documentation problem
Bug Type: Documentation Problem
Bug description:Closure::bindto documentation is missing change in PHP7.0.0
Description:
------------
---
From manual page: http://www.php.net/closure.bindto
---
Same changelog as below should be added to bindto.
http://php.net/manual/en/closure.bind.php#refsect1-closure.bind-changelog
Also, it is not clear to me that only "stdClass" or stdClass instances
are not accepted by both methods since PHP 7.0.0.
I have read documentation several times and thought that instances were
not allowed and that only strings were valid. I was wrong and
restriction is about "stdClass" scope and not about type of parameter
called "scope".
--
Edit bug report at https://bugs.php.net/bug.php?id=74285&edit=1
--
Try a snapshot (PHP 5.4): https://bugs.php.net/fix.php?id=74285&r=trysnapshot54
Try a snapshot (PHP 5.5): https://bugs.php.net/fix.php?id=74285&r=trysnapshot55
Try a snapshot (trunk): https://bugs.php.net/fix.php?id=74285&r=trysnapshottrunk
Fixed in SVN: https://bugs.php.net/fix.php?id=74285&r=fixed
Fixed in release: https://bugs.php.net/fix.php?id=74285&r=alreadyfixed
Need backtrace: https://bugs.php.net/fix.php?id=74285&r=needtrace
Need Reproduce Script: https://bugs.php.net/fix.php?id=74285&r=needscript
Try newer version: https://bugs.php.net/fix.php?id=74285&r=oldversion
Not developer issue: https://bugs.php.net/fix.php?id=74285&r=support
Expected behavior: https://bugs.php.net/fix.php?id=74285&r=notwrong
Not enough info: https://bugs.php.net/fix.php?id=74285&r=notenoughinfo
Submitted twice: https://bugs.php.net/fix.php?id=74285&r=submittedtwice
register_globals: https://bugs.php.net/fix.php?id=74285&r=globals
PHP 4 support discontinued: https://bugs.php.net/fix.php?id=74285&r=php4
Daylight Savings: https://bugs.php.net/fix.php?id=74285&r=dst
IIS Stability: https://bugs.php.net/fix.php?id=74285&r=isapi
Install GNU Sed: https://bugs.php.net/fix.php?id=74285&r=gnused
Floating point limitations: https://bugs.php.net/fix.php?id=74285&r=float
No Zend Extensions: https://bugs.php.net/fix.php?id=74285&r=nozend
MySQL Configuration Error: https://bugs.php.net/fix.php?id=74285&r=mysqlcfg