stream_get_contents 和file_get_content的区别

stream_get_contents — 读取资源流到一个字符串,

即其读取的内容是一个已经打开的资源句柄,如fopen函数打开的文件句柄,、

而 file_get_content可以直接读取文件内容读取到一个字符串,保存在内存中。

 


is_numeric:  检测变量是否为数字或数字字符串

原文地址:https://www.cnblogs.com/hehexu/p/8279249.html