Re: [PHP4BETA] empty("0") returns true

From: Date: Fri, 10 Mar 2000 16:15:51 +0000
Subject: Re: [PHP4BETA] empty("0") returns true
References: 1  Groups: php.version4 
Request: Send a blank email to php-version4+get-11876@lists.php.net to get a copy of this message
I apologize...I was trying to be too brief. Here is what I meant: <?php $var = "0"; print empty($var); ?> gives me a 1 in php4, and a 0 in php3. I can see how/why, I just wanted to see if it should be added to list of incompatibilities? --Joey Smith > > The argument for empty() is supposed to be a variable. > > -Andrei

« previous php.version4 (#11876) next »