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

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

WBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWB
Release: 2016-06-06 20:44:03
Original
1098 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
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
Latest Issues
php data acquisition?
From 1970-01-01 08:00:00
0
0
0
PHP extension intl
From 1970-01-01 08:00:00
0
0
0
How to learn php well
From 1970-01-01 08:00:00
0
0
0
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template