English['k?ntents]

n. ??(?, ??, ???? ?) ??(??? ????) ??, ????; , ??; ?? (?, ??, ???? ?)

3?? ??: ?? ??: ?? ?? ??: ?? ?? ??: ?? ?? ??: ??

PHP file_put_contents() ?? ???

??: ??? ???? ???.

syntax : file_put_contents (??, ???, ??, ????)

Parameters :

parameter description
file required. ???? ? ??? ?????. ??? ??? ? ??? ?????.
??? ????. ??? ??? ???? ?????. ???, ?? ?? ??? ???? ? ????.
?? ????. ??? ?? ?? ??? ?????. ??? ?: FILE_USE_INCLUDE_PATH, FILE_APPEND, LOCK_EX.
???? ????. ?? ??? ??? ?????. context? ???? ??? ??? ? ?? ?? ?????. null? ???? ?????.

??: ? ??? ??? ??? ???? ??? ?? ?????.

PHP file_put_contents() ?? ?

<?php
echo file_put_contents("./test.txt","Hello php. I'm study in php.cn!");
?>