ID: 15200 Updated by: sander Reported By: [EMAIL PROTECTED] Old Status: Open Status: Bogus Bug Type: Filesystem function related Operating System: Linux 2.4 Mandrake 8 PHP Version: 4.0.6 New Comment:
RTM on magic quotes! Previous Comments: ------------------------------------------------------------------------ [2002-01-24 06:01:05] [EMAIL PROTECTED] this bug (?) is difficult to encircle and reproduce (and understand), because it appears in a very erratic way. from time to time, when a file is read with file() and its content displayed line by line with each(), all its single and double quotes are automatically backslashed ! example : with 'toto.txt' contains : je n'aime pas ce "bug" ! and the following script : <?php $my_file = file('toto.txt'); while(list(, $my_line) = each($my_file)) { echo $my_line; } ?> **sometimes** we get something like : je n\'aime pas ce \"bug\" ! (and sometimes not...) ?!?! - our system : Linux 2.4 (Mdk 8) Apache 1.3.22 PHP 4.0.6 (RPM Mdk) ------------------------------------------------------------------------ Edit this bug report at http://bugs.php.net/?id=15200&edit=1 -- 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]