Swoole\Buffer::__toString

(PHP 5 >= 5.2.0, PHP 7, PECL swoole >= 1.9.0)

Swoole\Buffer::__toStringGet the string value of the memory buffer.

说明

public Swoole\Buffer::__toString ( void ) : string

参数

此函数没有参数。

返回值

The string value of the memory buffer.

相关文章
php eventbuffer linearizes data within buffer and returns it s contents as a stringphp eventbuffer scans the buffer for an occurrence of a stringphp ffi creates a php string from a memory areaphp variable handling 函数 dumps a string representation of an internal zend value to outputphp intldateformatter parse string to a field based time valuephp intldateformatter parse string to a timestamp valuephp swoole buffer append the string or binary data at the end of the memory buffer and return the new size of memory allocated.php swoole buffer reset the memory buffer.php swoole buffer fixed size memory blocks allocation.php swoole buffer destruct the swoole memory buffer.php swoole buffer expand the size of memory buffer.php swoole buffer read data from the memory buffer based on offset and length.php swoole buffer release the memory to os which is not used by the memory buffer.php swoole buffer read data from the memory buffer based on offset and length. or remove data from the memory buffer.php swoole buffer get the string value of the memory buffer.php swoole buffer write data to the memory buffer. the memory allocated for the buffer will not be changed.php swoole mmap map a file into memory and return the stream resource which can be used by php stream operations.php swoole table decrement the value in the swoole table by $row key and $column key.php swoole table get the value in the swoole table by $row key and $column key.php swoole table increment the value by $row key and $column key.
关注编程学问公众号