Re: Funny thing with variables

From: Date: Mon, 22 Oct 2001 12:15:49 +0000
Subject: Re: Funny thing with variables
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-71815@lists.php.net to get a copy of this message
rtfm :o)))) http://www.php.net/manual/en/language.operators.bitwise.php Wagner Tomy Web Developer Editus Luxembourg S.A. ----- Original Message ----- From: "Niklas Lampén" <niklas.lampen@publico.fi> To: "Php-General" <php-general@lists.php.net> Sent: Monday, October 22, 2001 1:59 PM Subject: [PHP] Funny thing with variables > What causes this: > > I have a page getting variable $BackLink with string "http://www.domain.com/my_page.php4. > I accidentaly wrote <?=~$BackLink?> and what I got out was > "—‹‹ÅÐЈˆˆÑ™– ‘“ž‘›š‡‹ŒÑœ’А™™š šŽŠšŒ‹ ™‘‹Ñ—Ë". What causes this? What does that ~ sign do before a variable? > > > Niklas Lampén >

« previous php.general (#71815) next »