Doc #64980 [Opn->Nab]: readline example doc incorrect
| From: | aharvey@php.net | Date: | Wed, 12 Jun 2013 19:09:22 +0000 |
| Subject: | Doc #64980 [Opn->Nab]: readline example doc incorrect | ||
| References: | 1 | Groups: | php.doc.bugs |
| Request: | Send a blank email to doc-bugs+get-9920@lists.php.net to get a copy of this message | ||
Edit report at https://bugs.php.net/bug.php?id=64980&edit=1
ID: 64980
Updated by: aharvey@php.net
Reported by: gamerscomplete at gmail dot com
Summary: readline example doc incorrect
-Status: Open
+Status: Not a bug
Type: Documentation Problem
Package: Documentation problem
PHP Version: Irrelevant
Block user comment: N
Private report: N
New Comment:
readline_list_history() appears to be correct â readline_read_history() loads a
history file, which isn't what the example demonstrates.
Previous Comments:
------------------------------------------------------------------------
[2013-06-06 17:46:23] gamerscomplete at gmail dot com
Description:
------------
Command is listed as "readline_list_history()" when the actual command is
"readline_read_history()" in the example text at
http://us2.php.net/manual/en/function.readline.php
"
//dump history
print_r(readline_list_history());
"
---
From manual page: http://www.php.net/function.readline#refsect1-
function.readline-examples
---
------------------------------------------------------------------------
--
Edit this bug report at https://bugs.php.net/bug.php?id=64980&edit=1