php-general@lists.php.net

2004-12-17 Thread Tomas Tintera
Richard Lynch wrote: >Perhaps something like this: > >function my_unset($var){ > global $$var; > $wasset = isset($$var); > unset($$var); > return $wasset; >} > >my_unset(‘a‘); //unset($a); > > > >Or, in a more general way: > >function forcereturn ($php){ > return eval($php); >} > > >Damned if I und

php-general@lists.php.net

2004-12-16 Thread Tomas Tintera
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: 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 th

php-general@lists.php.net

2004-12-16 Thread Tomas Tintera
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: 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 th

php-general@lists.php.net

2004-12-15 Thread Tomas Tintera
normal type of value (like 0 or 'a') and can not be used in operations like () && (). Tomas Tintera -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php