Re: Using constructs like unset() in expressions like ()&&()

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Thanks for your answers (you probably don't understand me).

I am looking for some construct (or statement or function) which allows
to do this:

<?php (True==False) or (construct_i_am_looking_for(unset($a))); ?>

Note that the unset() has no return value (and so it can't be used as a
part of other expression; it can be only used as a stand-alone
statement), so I thing it could be good if there were some construct
which makes expression with return value from expression with no return
value.

It is not possible to use just
<?php (True==False) or (unset($a)); ?>

I have read the whole front section of the PHP manual (and a lot of the
rest) but haven't found a construct like that.
Is there such a construct in PHP? If there is, what is its name?

--Tomas_Tintera

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


[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux