Doc #64787 [Opn->Csd]: Bug at comment of example of get_resource_type($fp)
| From: | krakjoe@php.net | Date: | Sun, 13 Oct 2013 17:34:56 +0000 |
| Subject: | Doc #64787 [Opn->Csd]: Bug at comment of example of get_resource_type($fp) | ||
| References: | 1 | Groups: | php.doc.bugs |
| Request: | Send a blank email to doc-bugs+get-10482@lists.php.net to get a copy of this message | ||
Edit report at https://bugs.php.net/bug.php?id=64787&edit=1
ID: 64787
Updated by: krakjoe@php.net
Reported by: iliavlad at mail dot ru
Summary: Bug at comment of example of get_resource_type($fp)
-Status: Open
+Status: Closed
Type: Documentation Problem
Package: Documentation problem
Operating System: All
PHP Version: 5.4.14
-Assigned To:
+Assigned To: krakjoe
Block user comment: N
Private report: N
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:
------------------------------------------------------------------------
[2013-10-13 17:34:53] krakjoe@php.net
Automatic comment from SVN on behalf of krakjoe
Revision: http://svn.php.net/viewvc/?view=revision&revision=331805
Log: #64787 incorrect example output
------------------------------------------------------------------------
[2013-05-07 23:30:03] iliavlad at mail dot ru
Description:
------------
---
From manual page: http://www.php.net/function.get-resource-type#refsect1-function.get-resource-type-examples
---
This example should be changed.
https://bugs.php.net/bug.php?id=29959
Test script:
---------------
<?php
// prints: file --- it should be changed to "stream"
$fp = fopen("foo", "w");
echo get_resource_type($fp) . "\n";
Expected result:
----------------
stream
Actual result:
--------------
stream
------------------------------------------------------------------------
--
Edit this bug report at https://bugs.php.net/bug.php?id=64787&edit=1