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: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to