> <?php
> $test="b";
> if ($test=="a"):
> ?>
>    value is a
> <?php
> else:
> ?>
>    value is not a
> <?php
> endif;
> ?>
> 
> It seems to work, ie it outputs different text depending on 
> the value of $test. But is it safe, can I rely on this 
> behaviour? 

Yes can rely on it, but I just think it's somewhat ugly. If I'm combing
through a file looking for outputs, stepping through multiple ?> and <?php
tags is very annoying.

Jason

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to