i have this codeline....
define('CSV_TEXTSIGN', '');
$var = ( empty( trim( CSV_TEXTSIGN ) ) ? '"' : CSV_TEXTSIGN );
this causes a error
Fatal error: Can't use function return value in write context in... line XX
but there are only valid functions...
bool empty ( mixed $var )
string trim ( string $str [, string $charlist ] )
i tried to switch " with ' in define and also use vars instead of constants
am i blind ? can someone explain me whats going wrong ?