ID: 39983 User updated by: mail at siegfried-bauer dot de Reported By: mail at siegfried-bauer dot de Status: Bogus Bug Type: Strings related Operating System: Linux, kernel 2.6.16.13-4 PHP Version: 5.2.0 New Comment:
my old configuration: apache_1.3.31 php-4.3.3 kernel 2.4.21 worked different! Previous Comments: ------------------------------------------------------------------------ [2006-12-29 10:55:23] [EMAIL PROTECTED] Sorry, but your problem does not imply a bug in PHP itself. For a list of more appropriate places to ask for help using PHP, please visit http://www.php.net/support.php as this bug system is not the appropriate forum for asking support questions. Due to the volume of reports we can not explain in detail here why your report is not a bug. The support channels will be able to provide an explanation for you. Thank you for your interest in PHP. ------------------------------------------------------------------------ [2006-12-29 08:11:23] mail at siegfried-bauer dot de Description: ------------ can't write a backslash into a variable. Reproduce code: --------------- #!/home/bauer/prog/php-5.1.6/sapi/cli/php <? $fp=fopen("out", "w"); printf("Hello World!\n with \\ one \\\n"); $s=sprintf("Hello World!\n with \\ one \\\n"); fwrite($fp, $s); fclose($fp); $fp=fopen("out2", "w"); fprintf($fp, "Hello World!\n with \\ one \\\n"); fclose($fp); ?> Expected result: ---------------- out doesn't contain any backslas. out2 yet. ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=39983&edit=1