#49841 [Opn->Csd]: Wrong variable name used
ID: 49841
Updated by: rquadling@php.net
Reported By: niko at tovrleaf dot com
-Status: Open
+Status: Closed
Bug Type: Documentation problem
PHP Version: Irrelevant
New Comment:
This bug has been fixed in the documentation's XML sources. Since the
online and downloadable versions of the documentation need some time
to get updated, we would like to ask you to be a bit patient.
Thank you for the report, and for helping us make our documentation
better.
Previous Comments:
------------------------------------------------------------------------
[2009-10-13 11:46:55] svn@php.net
Automatic comment from SVN on behalf of rquadling
Revision: http://svn.php.net/viewvc/?view=revision&revision=289616
Log: Fix example : Fix#49841
------------------------------------------------------------------------
[2009-10-12 04:59:21] niko at tovrleaf dot com
Description:
------------
Variable declared as
$file = 'output_log.txt';
but used later as
chown($path, 'ross');
while $path doesn't exists.
Reproduce code:
---------------
---
From manual page: function.clearstatcache#Examples
---
Expected result:
----------------
chown($file, 'ross');
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=49841&edit=1
Thread (2 messages)