|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[2002-07-02 16:33 UTC] sterling@php.net
|
|||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Wed Oct 29 14:00:01 2025 UTC |
The following code should be run in Linux and the harddisk or disk partition has no much space. Code: $fp = fopen("abc.txt","w"); fwrite($fp,"abcdefg"); fclose($fp); After running the code, the file "abc.txt" is created but with 0 bytes.(No content in the file). The fwrite function should return 0 if it cannot write anything on the file.