RE: [PHP] Variables

From: Date: Wed, 11 Jul 2001 07:27:12 +0000
Subject: RE: [PHP] Variables
Groups: php.general 
Request: Send a blank email to php-general+get-57319@lists.php.net to get a copy of this message
Yeah I did, so my wonder was: why impossible? -Maxim Maletsky P.S: me too sleepy, maybe... -----Original Message----- From: Adrian Ciutureanu [mailto:adrian.ciutureanu@softure.com] Sent: Wednesday, July 11, 2001 4:22 PM To: Maxim Maletsky; James Bartlett Cc: php-general@lists.php.net Subject: RE: [PHP] Variables it prints exactly what I expect didn't you expect that $test1==$test2 returns true? > -----Original Message----- > From: Maxim Maletsky [mailto:maxim@japaninc.com] > Sent: 11 iulie 2001 10:21 > To: Adrian Ciutureanu; James Bartlett > Cc: php-general@lists.php.net > Subject: RE: [PHP] Variables > > > What's impossible? > > > > $test1 = 'foo'; > $test2 = 'foo'; > > echo 'it is '; > > if($test1==$test2) { > echo 'very '; > } > else { > echo 'im'; > } > > echo 'possible'; > > > > > Guess what will this print to you... > > > -Maxim Maletsky > > > > -----Original Message----- > From: Adrian Ciutureanu [mailto:adrian.ciutureanu@softure.com] > Sent: Wednesday, July 11, 2001 3:24 PM > To: James Bartlett > Cc: php-general@lists.php.net > Subject: RE: [PHP] Variables > > > That's IMPOSIBLE! > > > -----Original Message----- > > From: James Bartlett [mailto:zotud@btinternet.com] > > Sent: 11 iulie 2001 05:27 > > To: php-general@lists.php.net > > Subject: Re: [PHP] Variables > > > > > > I have tried that also...it still does not want to work... > > ----- Original Message ----- > > From: Dallas K. > > To: James Bartlett ; php-general@lists.php.net > > Sent: Wednesday, July 11, 2001 5:43 AM > > Subject: Re: [PHP] Variables > > > > > > don't use the quotes.... > > > > if($test1 == $test2) > > { echo "True"; > > } > > else > > { echo "False"; > > } > > -- > PHP General Mailing List (http://www.php.net/) > To unsubscribe, e-mail: php-general-unsubscribe@lists.php.net > For additional commands, e-mail: php-general-help@lists.php.net > To contact the list administrators, e-mail: > php-list-admin@lists.php.net > > -- > PHP General Mailing List (http://www.php.net/) > To unsubscribe, e-mail: php-general-unsubscribe@lists.php.net > For additional commands, e-mail: php-general-help@lists.php.net > To contact the list administrators, e-mail: > php-list-admin@lists.php.net > >

« previous php.general (#57319) next »