Doc #63209 [Opn->Csd]: return value similar to false (empty string) in case of an empty file

From: Date: Wed, 23 Jan 2013 15:26:14 +0000
Subject: Doc #63209 [Opn->Csd]: return value similar to false (empty string) in case of an empty file
References: 1  Groups: php.doc.bugs 
Request: Send a blank email to doc-bugs+get-9461@lists.php.net to get a copy of this message
Edit report at https://bugs.php.net/bug.php?id=63209&edit=1 ID: 63209 Updated by: googleguy@php.net Reported by: francois dot nivet at diplomatie dot gouv dot fr Summary: return value similar to false (empty string) in case of an empty file -Status: Open +Status: Closed Type: Documentation Problem Package: Documentation problem Operating System: debian PHP Version: 5.3Git-2012-10-03 (Git) -Assigned To: +Assigned To: googleguy 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-01-23 15:25:55] googleguy@php.net Automatic comment from SVN on behalf of googleguy Revision: http://svn.php.net/viewvc/?view=revision&revision=329280 Log: Added return false problem warning. Fixes bug #63209. ------------------------------------------------------------------------ [2012-10-03 13:22:43] francois dot nivet at diplomatie dot gouv dot fr Description: ------------ --- From manual page: http://www.php.net/function.file-get-contents --- Maybe should you add a warning as for strpos wich can return 0 equivalent to false if not using === for testing the result ------------------------------------------------------------------------ -- Edit this bug report at https://bugs.php.net/bug.php?id=63209&edit=1

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