Home > Backend Development > PHP Tutorial > 为什么PHP5中新增了很多stream_开头的函数,优势是什么

为什么PHP5中新增了很多stream_开头的函数,优势是什么

WBOY
Release: 2016-06-06 20:44:03
Original
1053 people have browsed it

比如本来有socket_accept
然后就有stream_socket_accept
这样功能一样的函数有很多,难道是带stream_的高端?高端在哪?
我看别人的代码中也偏向于使用后者。

回复内容:

比如本来有socket_accept
然后就有stream_socket_accept
这样功能一样的函数有很多,难道是带stream_的高端?高端在哪?
我看别人的代码中也偏向于使用后者。

http://php.net/manual/zh/intro.stream.php
http://php.net/manual/zh/book.stream.php

Related labels:
php
source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template