php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Doc Bug #50900 Example 2 is having a typo.
Submitted: 2010-02-01 17:22 UTC Modified: 2010-02-01 17:27 UTC
Votes:1
Avg. Score:3.0 ± 0.0
Reproduced:1 of 1 (100.0%)
Same Version:0 (0.0%)
Same OS:0 (0.0%)
From: sajidalimudassar at gmail dot com Assigned:
Status: Closed Package: Documentation problem
PHP Version: Irrelevant OS: Irrelevant
Private report: No CVE-ID: None
 [2010-02-01 17:22 UTC] sajidalimudassar at gmail dot com
Description:
------------
In example 2, line number 13, it is written

func_get_arg1(1);

Notice extra 1, at the end of function name,

it should be like following.
func_get_arg(1);

Reproduce code:
---------------
---
From manual page: function.func-get-arg#Examples
---


Expected result:
----------------
correct the misspelled function name from example 2. 


Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2010-02-01 17:27 UTC] svn@php.net
Automatic comment from SVN on behalf of danbrown
Revision: http://svn.php.net/viewvc/?view=revision&revision=294318
Log: Fixes and closes Bug #50900.
 [2010-02-01 17:27 UTC] danbrown@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: Fri Oct 09 01:00:01 2026 UTC