previousFile::write() (Previous) (Next) File::writeLine()next

View this page in Last updated: Sun, 21 Jun 2009
English | Brazilian Portuguese | Chinese | Dutch | French | German | Hungarian | Japanese | Polish | Russian | Spanish | Turkish

File::writeChar()

File::writeChar() – ファイルに 1 文字を書き込む

Synopsis

require_once 'File.php';

mixed File::writeChar ( string $filename , string $char , string $mode = FILE_MODE_APPEND , mixed $lock = = false )

Description

Parameter

Return value

Throws

Note

This function can be called statically.

See

Example

File::writeChar() の使用

<?php
require_once 'File.php';

$e File::write('test.txt''a');

if (
PEAR::isError($e)) {
    echo 
'ファイルに書き込めませんでした : ' $e->getMessage();
} else {
    echo 
"ファイル test.txt への書き込みに成功しました\n";
}
?>
previousFile::write() (Previous) (Next) File::writeLine()next

Download Documentation Last updated: Sun, 21 Jun 2009
Do you think that something on this page is wrong? Please file a bug report or add a note.
User Notes:
There are no user contributed notes for this page.