Issues

ZF-1894: Typo in "22.2.3.1. Memory Limit"

Issue Type: Docs: Problem Created: 2007-08-30T09:59:58.000+0000 Last Updated: 2008-06-15T14:10:41.000+0000 Status: Resolved Fix version(s): - 1.5.0 (17/Mar/08)

Reporter: Jaik Dean (jaik) Assignee: Alexander Veremyev (alexander) Tags: - Zend_Memory

Related issues: Attachments:

Description

This code sample in 22.2.3.1. of the programmer's reference documentation:

<pre class="highlight">
$oldLimit = $memoryManager->getMemoryLimit();  // Get memory limit in bytes
$memoryManager->getMemoryLimit($newLimit);     // Set memory limit in bytes

Should be:

<pre class="highlight">
$oldLimit = $memoryManager->getMemoryLimit();  // Get memory limit in bytes
$memoryManager->setMemoryLimit($newLimit);     // Set memory limit in bytes

The typo is in the name of the second method call.

Comments

Posted by Alexander Veremyev (alexander) on 2007-08-30T13:33:46.000+0000

Thanks!

Just fixed.

Posted by Bill Karwin (bkarwin) on 2007-08-31T18:20:41.000+0000

Assign to Alexander.

Posted by Alexander Veremyev (alexander) on 2007-09-01T03:41:24.000+0000

Already fixed in SVN

Posted by Wil Sinclair (wil) on 2008-06-15T14:10:41.000+0000

Changing to comply with new IT coventions for components.

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