|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[2003-06-23 06:40 UTC] momo@php.net
|
|||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Wed Nov 05 08:00:02 2025 UTC |
Description: ------------ php.ini: (standard (dist) with this modifications) register_globals = On magic_quotes_gpc = 0n magic_quotes_runtime = 0n magic_quotes_sybase = 0n If I use the stripslashes() function on '' i wil get only one ' back. I think this is not correct. If i have some text between the single quotes ('test'). The function works fine. I found this Bug in version 4.3.2 and it is in version 4.3.3RC1, too. There is a same bug in the system, but it is closed!!! Bug #15824 It says: Set magic_quotes_sybase = Off and the function works. And it should be fixed in CVS, but it was last year. Why isn't it in version 4.3.2 and 4.3.3RC1 ? Reproduce code: --------------- <? $string = "Hello '' Test"; echo stripslashes($string); ?> Expected result: ---------------- Hello '' Test"; Actual result: -------------- Hello ' Test