Hi, I'm running PHP 4.0.2 with Xitami on Windows NT. Strange bugs have been occurring and I think I've narrowed it down to real values being involved near the problem area. I've figured out a workaround but I thought I'd ask here anyway. I say the bug is strange because its effect is very indirect. A newly built string will echo OK to the output but when written to file will be garbled or worse, when the string in question is an SQL query, the entire table will end up corrupted ! The workaround I found was to copy any real values involved in building my strings into intermediate variables while casting again to real type, like this : $intermediate_val = (real)$the_val. It may be useful to mention the fact that the source value is a data member in a class. I can't quite figure out if the problem lies with real values, strings, the combination of the two or even if the fact the value is part of a class has anything to do with it. Maybe someone here can tell me if they know more about the issue and if it has been covered by any recent bug fix. If not, I hope this will have helped someone else who's been experiencing the same problem. Thanks, Michael O'Shea -- PHP Windows 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]