php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Doc Bug #63483 There is a clerical error in doc's examples
Submitted: 2012-11-10 19:21 UTC Modified: 2012-11-12 02:59 UTC
From: zmrnet at 126 dot com Assigned: laruence (profile)
Status: Closed Package: Documentation problem
PHP Version: Irrelevant OS:
Private report: No CVE-ID: None
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If you forgot your password, you can retrieve your password here.
Password:
Status:
Package:
Bug Type:
Summary:
From: zmrnet at 126 dot com
New email:
PHP Version: OS:

 

 [2012-11-10 19:21 UTC] zmrnet at 126 dot com
Description:
------------
---
From manual page: http://www.php.net/yaf-dispatcher.catchexception#refsect1-yaf-
dispatcher.catchexception-examples
---
Example #1 Yaf_Dispatcher::catchException()example

Error: public function error($exception) {

Right: public function errorAction($exception) {

Expected result:
----------------
404:Failed opening controller script xxx.php: No such file or directory ...

Actual result:
--------------
Fatal error: Uncaught exception 'Yaf_Exception_LoadFailed_Action' with message 
'There is no method errorAction in ErrorController' in ...

Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2012-11-12 01:39 UTC] aharvey@php.net
-Assigned To: +Assigned To: laruence
 [2012-11-12 02:58 UTC] laruence@php.net
Automatic comment from SVN on behalf of laruence
Revision: http://svn.php.net/viewvc/?view=revision&revision=328315
Log: Fix doc bug #63483
 [2012-11-12 02:59 UTC] laruence@php.net
-Status: Assigned +Status: Closed
 [2012-11-12 02:59 UTC] laruence@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.


 
PHP Copyright © 2001-2026 The PHP Group
All rights reserved.
Last updated: Sat Oct 10 04:00:01 2026 UTC