Re: Problem with strings on Win32
| From: | Richard Lynch | Date: | Tue, 20 Feb 2001 20:48:22 +0000 |
| Subject: | Re: Problem with strings on Win32 | ||
| References: | 1 | Groups: | php.qa |
| Request: | Send a blank email to php-qa+get-2423@lists.php.net to get a copy of this message | ||
> <?php
> $string = "<test>";
>
> print "*".$string."*<br>";
> var_dump($string);
> ?>
>
> outputs
>
> **
There's an unknown tag (test) in the browser View Source, right?...
Or is this from the command line?
Try using HTMLEntities($string) to see the < and >
> string(6) ""
>
> . So, the variable's type and size are set correctly, but not its value.
>
> I'm using yesterday's CVS on Windows 2000 Professional. Sascha already
> checked this on his machine(s) and could NOT reproduce this.
>
> A confused Sebastian %-/
>
> --
> sebastian bergmann e-mail : sb@sebastian-bergmann.de
> homepage :
>http://www.sebastian-bergmann.de
> make a gift :
> http://wishlist.sebastian-bergmann.de
> measure the usability of your web application ->
> http://phpOpenTracker.de
>
> --
> PHP Quality Assurance Mailing List <http://www.php.net/>
> To unsubscribe, e-mail: php-qa-unsubscribe@lists.php.net
> For additional commands, e-mail: php-qa-help@lists.php.net
> To contact the list administrators, e-mail: php-list-admin@lists.php.net
>
>