encoding() 공개 메소드

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.
리턴 boolean `true` if encoding has been set, `false` otherwise.
예제 #1
0
 public function testEncoding()
 {
     $stream = new Context($this->_testConfig);
     $this->assertEqual(false, $stream->encoding());
 }