0
在下面的代碼中,testFunctionA輸出true,而testFunctionB輸出null。這是一個已知的錯誤,我可以繞過它而無需擺脫我的@depends標誌?@depends標誌打破我的PHPUnit函數中的參數
public function testFunctionA($x = true) {
var_dump($x); // outputs true
}
/*
* @depends testFunctionA
*/
public function testFunctionB($y = true) {
var_dump($y); // outputs NULL
}