Problem with strings on Win32
| From: | Sebastian Bergmann | Date: | Tue, 20 Feb 2001 19:40:04 +0000 |
| Subject: | Problem with strings on Win32 | ||
| Groups: | php.dev php.qa | ||
| Request: | Send a blank email to php-dev+get-47088@lists.php.net to get a copy of this message | ||
Hi there,
I just came across something very odd.
The following code
<?php
$string = "<test>";
print "*".$string."*<br>";
var_dump($string);
?>
outputs
**
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