PHP 5.4中引用的的几个问题
问题 I. PHP Notice: Only variable references should be returned by reference
在调试函数时
function &GetSellerList($request) { $request->setVersion(EBAY_WSDL_VERSION); return ($res = & $this->call('GetSellerList', $request););}
function &GetSellerList($request) { $request->setVersion(EBAY_WSDL_VERSION); $res = & $this->call('GetSellerList', $request); return ($res);}
$this->_parser = &new EbatNs_ResponseParser( &$this, $tns, $this->_parserOptions );
$this->_parser = &new EbatNs_ResponseParser( $this, $tns, $this->_parserOptions );