Issues

ZF-9482: Minor error on Code example in the ZendX_Console_Process_Unix documentation

Issue Type: Docs: Problem Created: 2010-03-19T04:39:13.000+0000 Last Updated: 2010-04-16T12:13:23.000+0000 Status: Closed Fix version(s): - 1.10.4 (28/Apr/10)

Reporter: Joe Lee (joeworks) Assignee: Juozas Kaziukenas (juokaz) Tags: - ZendX_Console_Process_Unix

Related issues: Attachments:

Description

Reference: http://framework.zend.com/manual/en/…

Current example shows:

<pre class="highlight">
// Stay in the loop if BOTH processes are running...
while ($process1->isRunning() && $process2->isRunning()) {
    sleep(1);
}

It should be:

<pre class="highlight">
// Stay in the loop if one of the processes is running...
while ($process1->isRunning() || $process2->isRunning()) {
    sleep(1);
}

Comments

Posted by Juozas Kaziukenas (juokaz) on 2010-04-16T12:13:23.000+0000

Fixed in r21891

Have you found an issue?

See the Overview section for more details.

Copyright

© 2006-2016 by Zend, a Rogue Wave Company. Made with by awesome contributors.

This website is built using zend-expressive and it runs on PHP 7.

Contacts