encoding() public method

Sets the encoding of the socket connection. Does not apply to this implementation.
public encoding ( string $charset = null ) : boolean
$charset string The character set to use.
return boolean `true` if encoding has been set, `false` otherwise.
コード例 #1
0
 public function testEncoding()
 {
     $stream = new Context($this->_testConfig);
     $this->assertEqual(false, $stream->encoding());
 }