php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Doc Bug #72423 inavailable parameter
Submitted: 2016-06-15 19:17 UTC Modified: 2016-06-16 11:18 UTC
From: tridays at qq dot com Assigned: cmb (profile)
Status: Closed Package: event (PECL)
PHP Version: Irrelevant OS: irrelevant
Private report: No CVE-ID: None
 [2016-06-15 19:17 UTC] tridays at qq dot com
Description:
------------
---
From manual page: http://www.php.net/eventbase.getmethod
---

This page tell me that I can input a EventConfig argument, which I couldn't at all.

PHP Warning:  EventBase::getMethod() expects exactly 0 parameters, 1 given.

Test script:
---------------
$config = new \EventConfig();
$base = new \EventBase($config);
var_dump($base->getMethod($config)); // warning



Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2016-06-16 11:17 UTC] cmb@php.net
Automatic comment from SVN on behalf of cmb
Revision: http://svn.php.net/viewvc/?view=revision&revision=339361
Log: Fix #72423: inavailable parameter
 [2016-06-16 11:18 UTC] cmb@php.net
-Status: Open +Status: Closed -Assigned To: +Assigned To: cmb
 [2016-06-16 11:18 UTC] cmb@php.net
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:07 UTC] phpdocbot@php.net
Automatic comment on behalf of cmb
Revision: http://git.php.net/?p=doc/en.git;a=commit;h=ebe59c212fca2dd2f967eeed6f111ac3faf0ede1
Log: Fix #72423: inavailable parameter
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Tue Mar 19 05:01:29 2024 UTC