note 62431 added to function.fprintf
| From: | Ed at osu1 dot php dot net | Date: | Tue, 28 Feb 2006 16:40:23 +0000 |
| Subject: | note 62431 added to function.fprintf | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-104562@lists.php.net to get a copy of this message | ||
Here's one way to do fprintf with php 4:
function fprintf4() {
echo func_num_args();
$format_and_arguments = func_get_args();
$file = array_shift($arguments);
fwrite($file, call_user_func_array('sprintf', $format_and_arguments));
}
----
Server IP: 84.18.202.180
Probable Submitter: 83.104.248.190
----
X-Spam-Status: No, hits=3.1 required=5.0 tests=DATE_MISSING,FROM_NO_LOWER
autolearn=no version=2.64
----
Manual Page -- http://www.php.net/manual/en/function.fprintf.php
Edit -- http://master.php.net/note/edit/62431
Del: integrated -- http://master.php.net/note/delete/62431/integrated
Del: useless -- http://master.php.net/note/delete/62431/useless
Del: bad code -- http://master.php.net/note/delete/62431/bad+code
Del: spam -- http://master.php.net/note/delete/62431/spam
Del: non-english -- http://master.php.net/note/delete/62431/non-english
Del: in docs -- http://master.php.net/note/delete/62431/in+docs
Del: other reasons-- http://master.php.net/note/delete/62431
Reject -- http://master.php.net/note/reject/62431
Search -- http://master.php.net/manage/user-notes.php