From:             rems_support at sympatico dot ca
Operating system: Debian GNU/Linux
PHP version:      4.3.1
PHP Bug Type:     Feature/Change Request
Bug description:  Opposite of file_get_contents

PHP is the best ever.

Since there's now a function to get the contents of a file into a string,
wouldn't it be equally beneficial to make a function that will turn a
string into a file?

int file_set_contents(string filename, string contents)

Creates or overwrites a file with the string in contents.

Just an idea.
-- 
Edit bug report at http://bugs.php.net/?id=22643&edit=1
-- 
Try a CVS snapshot:         http://bugs.php.net/fix.php?id=22643&r=trysnapshot
Fixed in CVS:               http://bugs.php.net/fix.php?id=22643&r=fixedcvs
Fixed in release:           http://bugs.php.net/fix.php?id=22643&r=alreadyfixed
Need backtrace:             http://bugs.php.net/fix.php?id=22643&r=needtrace
Try newer version:          http://bugs.php.net/fix.php?id=22643&r=oldversion
Not developer issue:        http://bugs.php.net/fix.php?id=22643&r=support
Expected behavior:          http://bugs.php.net/fix.php?id=22643&r=notwrong
Not enough info:            http://bugs.php.net/fix.php?id=22643&r=notenoughinfo
Submitted twice:            http://bugs.php.net/fix.php?id=22643&r=submittedtwice
register_globals:           http://bugs.php.net/fix.php?id=22643&r=globals
PHP 3 support discontinued: http://bugs.php.net/fix.php?id=22643&r=php3
Daylight Savings:           http://bugs.php.net/fix.php?id=22643&r=dst
IIS Stability:              http://bugs.php.net/fix.php?id=22643&r=isapi
Install GNU Sed:            http://bugs.php.net/fix.php?id=22643&r=gnused

Reply via email to