Zend_Db_Adapter 的 charset 的 issue 指派给我了

Bill 这个老家伙,这么多天,才指派了 issue 过来。 这个 charset 应该放在 config 的什么部分? 我个人倾向于跟 $config[‘port’] 一样,直接放在 config 数组中: $config[‘charset’]。实际上之前的修改也是这么做的。 但是还有一个选择是放在 $config[‘options’][‘charset’]。这样肯定更符合老外的胃口,他们很少用 charset 这个东东的。 Bill 发邮件说他想放到 $config[‘driver-options’][‘charset’],我是严重的不同意。这个肯定不是数据库特性的东西,而应该是跟 port 一样是每个数据库不同,但是每个都可以设置的东西。 恩,考虑考虑先~~反正无论如何,我不同意放到 driver-options 里去设置 charset。

a issue of PHPUnit

In the class PHPUnit_Framework_TestCase, line 352         if ($this->name === NULL) {             throw new PHPUnit_Framework_Error(               ‘PHPUnit_Framework_TestCase::$name must not be NULL.’             );         } If the var $this->name is NULL, it throws the exception PHPUnit_Framework_Error. But, the PHPUnit_Framework_Error’s constructor is (line 77):     public function __construct($message, $code, $file, $line, $trace) 如果捉虫能拿奖金,我可能已经是百万富翁了。闷,搞了半天,才发现原来是个 issue。再做回善事,发到 PHPUnit …