Re: [PHP-DEV] Problem with strings on Win32 From: Martin Jansen (mj <email protected>)
Date: 02/20/01

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

-- 
PHP Development Mailing List <http://www.php.net/>
To unsubscribe, e-mail: php-dev-unsubscribe <email protected>
For additional commands, e-mail: php-dev-help <email protected>
To contact the list administrators, e-mail: php-list-admin <email protected>