Re: Re: PHP 4.0 Bug #7056 Updated: Setting string variables to value starting with '<' cause string to be empty.

From: Date: Thu, 12 Oct 2000 03:43:39 +0000
Subject: Re: Re: PHP 4.0 Bug #7056 Updated: Setting string variables to value starting with '<' cause string to be empty.
References: 1 2  Groups: php.dev 
Request: Send a blank email to php-dev+get-34730@lists.php.net to get a copy of this message
tammy writes: > Sigh. > > I know this. But the point is I'm trying to print FONT tags TO a browser. > Their effects should show up. They don't. Then I do a 'View Source' and > voila, no FONT tag is there either. The problem is obviously deeper than > this. I'm working on tracking it down. I'll give ya an update later. > > thanks > > t Hmm...that code works fine for me--except for some typos (unescaped double-quotes)--but those wouldn't have caused your problem; they'd've cause parse errors. Does anything interesting happen when you put 'error_reporting(E_ALL);' at the beginning of the script? With what browser are you viewing the results? What happens when you do it at the command line? BTW--to the question from the original bug post: Single-quoted strings are not parsed for escape sequences or variable expansion (save \' which does work). What behaviour are you seeing from them? -- +----------------------------------------------------------------+ |Torben Wilson <torben@php.net> Netmill iTech| |http://www.coastnet.com/~torben http://www.netmill.fi| |Ph: 1 250 383-9735 torben@netmill.fi| +----------------------------------------------------------------+

« previous php.dev (#34730) next »