note 13747 deleted from functions.php by jeroen

From: Date: Mon, 20 Aug 2001 19:15:04 +0000
Subject: note 13747 deleted from functions.php by jeroen
Groups: php.notes 
Request: Send a blank email to php-notes+get-16923@lists.php.net to get a copy of this message
if ($somevar = yourfunction($somevar)) { dosomething; } Seems to return "false" when yourfunction returns $somevar = "" or $somevar = 0. This may seem logical. But I needed my function to return "true" as long as anything was returned. Even the nothings... ;)

« previous php.notes (#16923) next »