PHP Class variables with Constants

andyrew

New Member
I am getting a parse error on the lines with the constant (DEPLOYMENT). Why is this now allowed, or am I missing something.Parse error: parse error, expecting `')'' in \[code\]class UploadComponent extends Object { private $config = array( 'accessKey' => 'XXXX', 'secretKey' => 'XXXX', 'images' => array( 'bucket' => DEPLOYMENT.'-files/images', 'dns' => false ), 'files' => array( 'bucket' => DEPLOYMENT.'-files/files', 'dns' => false ), 'assets' => array( 'bucket' => DEPLOYMENT.'-files/assets', 'dns' => false ) ); ....}\[/code\]
 
Back
Top