Re: Problem with strings on Win32
| From: | Martin Jansen | Date: | Tue, 20 Feb 2001 20:21:22 +0000 |
| Subject: | Re: Problem with strings on Win32 | ||
| Groups: | php.dev | ||
| Request: | Send a blank email to php-dev+get-47093@lists.php.net to get a copy of this message | ||
On Tue, 20 Feb 2001 20:40:04 +0100, Sebastian Bergmann wrote:
> The following code
>
> <?php
> $string = "<test>";
>
> print "*".$string."*<br>";
> var_dump($string);
> ?>
>
> outputs
>
> **
> string(6) ""
On my machine (Windows 2000 Professional German) everything
works fine:
| [d:\php\php4.0.4pl1]php
| <?php
| $string = "<test>";
|
| print "*".$string."*<br>";
| var_dump($string);
| ?>
| ^Z
| X-Powered-By: PHP/4.0.4pl1
| Content-type: text/html
|
| *<test>*<br>string(6) "<test>"
|
| [d:\php\php4.0.4pl1]
Using PHP 4.0.4pl1.
Martin