#47634 [Opn->Csd]: finfo doesn't have close method as said in docs

From: Date: Fri, 20 Mar 2009 01:57:35 +0000
Subject: #47634 [Opn->Csd]: finfo doesn't have close method as said in docs
References: 1  Groups: php.doc.bugs 
Request: Send a blank email to doc-bugs+get-2011@lists.php.net to get a copy of this message
ID: 47634 Updated by: felipe@php.net Reported By: thiago@php.net -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. Thanks! Previous Comments: ------------------------------------------------------------------------ [2009-03-12 12:46:48] thiago@php.net Description: ------------ User "chris AT cmbuckley DOT co DOT uk" reported the following bug in finfo docs. URL: http://www.php.net/manual/en/function.finfo-open.php Slight mistake in Example #1: the finfo class doesn't have a close method; the close is handled by the destructor. The following line will work: <?php /* close connection */ unset($finfo); ?> ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=47634&edit=1

« previous php.doc.bugs (#2011) next »