[snip]
If( X and (if Y exists, then W otherwise Z))

Does this work?  If so how is it evaluated?

Here is the actual code.
<code>

if ($tostaf  && ($reply->comment ? $config->send_comment_staf :
$config->send_emailreply_staf)) 
[/snip]

IF X then IF Y, W
IF X then IF NOT Y, Z

There is no ELSE to support the IF NOT X, if X does not exist then the
evaluation is over.

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to