php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Doc Bug #37295 documentation for runkit_function_add has bad example
Submitted: 2006-05-03 17:11 UTC Modified: 2006-05-03 19:14 UTC
From: davija at cshp dot info Assigned:
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: davija at cshp dot info
New email:
PHP Version: OS:

 

 [2006-05-03 17:11 UTC] davija at cshp dot info
Description:
------------
In the online documenation for runkit_function_add, the example references create_function instead of runkit_function_add.  Additionally, the given example will not even run.  Changing the name of the function from create_function to runkit_function_add does work however.  Documentation example just needs to be updated (would be nice if it had been tested first).


Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2006-05-03 19:14 UTC] colder@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.

Thanks for spotting this.
 [2020-02-07 06:11 UTC] phpdocbot@php.net
Automatic comment on behalf of colder
Revision: http://git.php.net/?p=doc/en.git;a=commit;h=e1fe201686039990af32b17af376dafca90ea0ce
Log: Fix #37295 (wrong function used in the example)
 
PHP Copyright © 2001-2025 The PHP Group
All rights reserved.
Last updated: Sun Aug 03 07:00:03 2025 UTC