MessagePackUnpacker::execute PHP Method

execute() public method

public execute ( string $str = null, integer &$offset = null )
$str string
$offset integer
    public function execute($str = null, &$offset = null)
    {
    }

Usage Example

Example #1
0
 private function nextRpcMsg()
 {
     while (socket_recv($this->socket, $buf, 1024, 0)) {
         $this->unpacker->feed($buf);
         while ($this->unpacker->execute()) {
             $unserialized = $this->unpacker->data();
             $this->unpacker->reset();
             (yield $unserialized);
         }
     }
 }
All Usage Examples Of MessagePackUnpacker::execute