public function __construct() {
$this->clients = new \SplObjectStorage;
}
請問 new \SplObjectStorage 是什麼意思?
「\」 是什麼?
SplObjectStorage 不用()嗎?
public function onError(ConnectionInterface $conn, \Exception $e) {
echo "錯誤:{$e->getMessage()}\n";
$conn->close();
}
ConnectionInterface $conn, \Exception $e
這裡的\是什麼意思??