ID: 39983 Updated by: [EMAIL PROTECTED] Reported By: mail at siegfried-bauer dot de -Status: Open +Status: Bogus Bug Type: Strings related Operating System: Linux, kernel 2.6.16.13-4 PHP Version: 5.2.0 New Comment:
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. Previous Comments: ------------------------------------------------------------------------ [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