在php手册上我们可以看到:
fwrite() returns the number of bytes written
好的...但是“写入的字节数”是什么东西?
二进制字符串?二进制数?溪流?诠释?
我有点迷路了。
问候
最佳答案
来自 the manual :
Description
int
fwrite ( resource $handle , string $string [, int $length ] )
它在成功时返回一个 int,正如函数名称之前的类型名称所指示的那样。它在出错时返回 FALSE:
fwrite() returns the number of bytes written, or FALSE on error.
关于php - fwrite() 返回什么类型?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/3683975/