vfprintf(stream,format,argarray)
它用于将格式化字符串转换为特定输出
Sr.No | 参数 & Description |
---|---|
1 |
stream 它用于指定写入/输出字符串的位置 |
2 |
format 它用于指定字符串以及如何在其中格式化变量 链接:https://www.learnfk.comhttps://www.learnfk.com/php/php-function-vfprintf.html 来源:LearnFk无涯教程网 |
3 |
argarray 它用于指定带有要插入的参数的数组 |
返回字符串的长度
<?php $input1=123; $input2=456; $file=fopen("sample.txt","r"); vfprintf($file,"%f%f",array($input1,$input2)); ?>
祝学习愉快!(内容编辑有误?请选中要编辑内容 -> 右键 -> 修改 -> 提交!)
Tony Bai · Go语言第一课 -〔Tony Bai〕