我收到了错误,NetBeans 告诉我它在 $xml_package 声明的最后一行期待一些东西。有什么我想念的想法吗?
谢谢你。
class foo
{
public function __construct()
{
public $rateRequest = 'RateV4Request';
public $xml_request = '<'. $rateRequest. '><Revision></Revision></'.
$rateRequest. '>';
public $xml_package = '<Package><Service></Service><ZipOrigination>
</ZipOrigination><ZipDestination></ZipDestination>
<Pounds></Pounds><Ounces></Ounces><Container>
</Container><Size></Size></Package>';
}
}