|   | php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login | 
| 
 PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits              [2007-02-07 09:06 UTC] tony2001@php.net
 | |||||||||||||||||||||||||||
|  Copyright © 2001-2025 The PHP Group All rights reserved. | Last updated: Fri Oct 31 14:00:01 2025 UTC | 
Description: ------------ when magic_quotes_sybase=On in PHP.ini and call addslashes function in php page,get a wrong result.As if the addslashes function does not work as it should be when magic_quotes_sybase=On. Reproduce code: --------------- <?php echo addslashes("'\\\"\0"); ?> Expected result: ---------------- \'\\\"\0 Actual result: -------------- ''\"\0