Re: expect_expectl: how to show the part of the stream that it is matching against
| From: | Aziz Saleh | Date: | Sun, 02 Aug 2015 18:01:51 +0000 |
| Subject: | Re: expect_expectl: how to show the part of the stream that it is matching against | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-325023@lists.php.net to get a copy of this message | ||
On Sun, Aug 2, 2015 at 1:35 PM, JM <jm+php-general@roth.lu> wrote:
> Hi,
>
> Concerning this: http://php.net/manual/en/expect.examples-usage.phpo1€� ~¼
> jùïnh’Ü
>
> How do I output the buffer that expect is currently working on?
>
> It's nice that using expect within PHP is possible at all, but without an
> option to output the current working contents of the stream you are like
> developing in the dark...
>
> Best regards,
>
> Marki
>
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>
> FYI Your email went into spam on gmail.
If you want what is coming from the server, you would store the results of
expect_expectl in a variable and output it. Unless you mean something else
by the buffer!