From: [EMAIL PROTECTED]
Operating system: Linux 2.2.14-5.0smp
PHP version: 4.0.3pl1
PHP Bug Type: Scripting Engine problem
Bug description: Parse error when using terniary (?:) and unset()
?
$avariable = "test";
$avariable=="test" ? $avariable .=" No problem with is_bool" :
unset() is not a function, but a statement. It returns no value, and thus,
you can't use it as an expression for the ? operator.
Zeev
At 03:29 10/2/2001, [EMAIL PROTECTED] wrote:
From: [EMAIL PROTECTED]
Operating system: Linux 2.2.14-5.0smp
PHP version: 4.0.3pl1
PHP Bug Type: