Doc #55454 [Opn->Asn]: Apparent errors in the examples

From: Date: Mon, 22 Aug 2011 14:04:17 +0000
Subject: Doc #55454 [Opn->Asn]: Apparent errors in the examples
References: 1  Groups: php.doc.bugs 
Request: Send a blank email to doc-bugs+get-7044@lists.php.net to get a copy of this message
Edit report at https://bugs.php.net/bug.php?id=55454&edit=1 ID: 55454 Updated by: kalle@php.net Reported by: dpatterson at dplhenterprises dot com Summary: Apparent errors in the examples -Status: Open +Status: Assigned Type: Documentation Problem Package: Documentation problem PHP Version: Irrelevant -Assigned To: +Assigned To: kalle Block user comment: N Private report: N New Comment: Hi I honestly don't know how this extension works, but if you got a better example then please post it here and I'll update the documentation to reflect it. Previous Comments: ------------------------------------------------------------------------ [2011-08-18 20:11:33] dpatterson at dplhenterprises dot com Description: ------------ The examples for the expect extension appear to a number of undefined constants (PASSWORD, YESNO, SHELL, UNAME). These are used in the calls to expect_expectl() and, unless I miss by guess, will result in PHP Notice errors of the form "Use of undefined constant PASSWORD - assumed 'PASSWORD' in ...". Just seems like the examples should be error free as possible. Thanks. ------------------------------------------------------------------------ -- Edit this bug report at https://bugs.php.net/bug.php?id=55454&edit=1

« previous php.doc.bugs (#7044) next »