json php将json数据写入到文件的范例代码
php将json数据写入到文件的范例代码 [代码片段(3行)]
$json = '{"key":"value"}';
$file = new File('/path/to/file', true);
$file->write($json);
精彩图集
精彩文章
$json = '{"key":"value"}';
$file = new File('/path/to/file', true);
$file->write($json);
@CopyRight 2002-2008, 1SOHU.COM, Inc. All Rights Reserved QQ:1010969229