Home > Backend Development > PHP Tutorial > 使用php的socket_read如何读一个int出来?

使用php的socket_read如何读一个int出来?

WBOY
Release: 2016-06-06 20:15:24
Original
1049 people have browsed it

对socket_read不太熟,它返回的是string
或者用别的方式实现readInt也可,求助

回复内容:

对socket_read不太熟,它返回的是string
或者用别的方式实现readInt也可,求助

http://www.oschina.net/code/snippet_157781_9206

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