|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[2002-01-24 07:25 UTC] sander@php.net
[2002-01-24 08:53 UTC] phasme at cicv dot fr
[2002-01-24 11:05 UTC] sander@php.net
[2002-01-25 04:45 UTC] phasme at cicv dot fr
[2002-02-07 13:29 UTC] ceo at l-i-e dot com
[2002-03-18 00:00 UTC] php-bugs at lists dot php dot net
|
|||||||||||||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Sat Nov 01 02:00:01 2025 UTC |
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)