#23248 [Opn->Bgs]: leak()
| From: | alindeman@php.net | Date: | Wed, 16 Apr 2003 23:36:21 +0000 |
| Subject: | #23248 [Opn->Bgs]: leak() | ||
| References: | 1 | Groups: | php.doc |
| Request: | Send a blank email to phpdoc+get-969352622@lists.php.net to get a copy of this message | ||
ID: 23248
Updated by: alindeman@php.net
Reported By: prof_moriarty at veryfast dot biz
-Status: Open
+Status: Bogus
Bug Type: Documentation problem
Operating System: win98
PHP Version: 4.3.0
New Comment:
From funcsummary.txt
void leak(int num_bytes=3)
Cause an intentional memory leak, for testing/debugging purposes
So, this function is used only in debugging situations and that is why
it isn't documented.
Previous Comments:
------------------------------------------------------------------------
[2003-04-16 18:23:51] prof_moriarty at veryfast dot biz
I'm actually using 4.2.3.
When i run the
get_defined_functions() function, the listing includes a mention to:
leak
So i tried it. But it doesn't actually seem to do anything. I entered a
few arguements, but it still didn't complain (even notices!).
I tried looking it up in my manual (4.3.0), and on the online manual
function list, but i can't actually find a reference to it anywhere.
So what does this ellusive function do, that means it doesn't warrent
being documented.
And i don't think it's deprecated, because the mysql() function is also
listed (but again, not in the documentation), and when it tried that
out, it gave a notice saying it was depricated.
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=23248&edit=1