ID: 21460 Updated by: [EMAIL PROTECTED] Reported By: [EMAIL PROTECTED] -Status: Open +Status: Closed Bug Type: Documentation problem Operating System: n/a PHP Version: 4.3.0 New Comment:
This bug has been fixed. Please wait a little the documentation's update. Thank you for your report. Previous Comments: ------------------------------------------------------------------------ [2003-01-06 06:08:02] [EMAIL PROTECTED] In function.file-get-contents.php it says "Identical to readfile(), except that file_get_contents() returns the file in a string." which is wrong... (or misleading at best)... readfile() immediately outputs the file and the return value from the function is success or failure. file_get_contents() does not behave like this at all. I would suggest that the document reads: "Identical to file(), except that file_get_contents() returns the file in a string." Since the return values from both functions are the contents of the file, just in different formats (array vs string). Paul, aka Qube@#php ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=21460&edit=1 -- PHP Documentation Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php