Doc #69608 [NEW]: fwrite and magic_quotes_runtime
| From: | cmb@php.net | Date: | Fri, 08 May 2015 19:34:29 +0000 |
| Subject: | Doc #69608 [NEW]: fwrite and magic_quotes_runtime | ||
| Groups: | php.doc.bugs | ||
| Request: | Send a blank email to doc-bugs+get-12314@lists.php.net to get a copy of this message | ||
From: cmb
Operating system: *
PHP version: Irrelevant
Package: Filesystem function related
Bug Type: Documentation Problem
Bug description:fwrite and magic_quotes_runtime
Description:
------------
---
From manual page: http://www.php.net/function.fwrite
---
The documentation states:
> Note that if the length argument is given, then the
> magic_quotes_runtime configuration option will be ignored and no
> slashes will be stripped from string.
However, when magic_quotes_runtime is On, writing would not
*strip*, but rather *add* slashes (backslashes might be the better
wording).
--
Edit bug report at https://bugs.php.net/bug.php?id=69608&edit=1
--
Try a snapshot (PHP 5.4): https://bugs.php.net/fix.php?id=69608&r=trysnapshot54
Try a snapshot (PHP 5.5): https://bugs.php.net/fix.php?id=69608&r=trysnapshot55
Try a snapshot (trunk): https://bugs.php.net/fix.php?id=69608&r=trysnapshottrunk
Fixed in SVN: https://bugs.php.net/fix.php?id=69608&r=fixed
Fixed in release: https://bugs.php.net/fix.php?id=69608&r=alreadyfixed
Need backtrace: https://bugs.php.net/fix.php?id=69608&r=needtrace
Need Reproduce Script: https://bugs.php.net/fix.php?id=69608&r=needscript
Try newer version: https://bugs.php.net/fix.php?id=69608&r=oldversion
Not developer issue: https://bugs.php.net/fix.php?id=69608&r=support
Expected behavior: https://bugs.php.net/fix.php?id=69608&r=notwrong
Not enough info: https://bugs.php.net/fix.php?id=69608&r=notenoughinfo
Submitted twice: https://bugs.php.net/fix.php?id=69608&r=submittedtwice
register_globals: https://bugs.php.net/fix.php?id=69608&r=globals
PHP 4 support discontinued: https://bugs.php.net/fix.php?id=69608&r=php4
Daylight Savings: https://bugs.php.net/fix.php?id=69608&r=dst
IIS Stability: https://bugs.php.net/fix.php?id=69608&r=isapi
Install GNU Sed: https://bugs.php.net/fix.php?id=69608&r=gnused
Floating point limitations: https://bugs.php.net/fix.php?id=69608&r=float
No Zend Extensions: https://bugs.php.net/fix.php?id=69608&r=nozend
MySQL Configuration Error: https://bugs.php.net/fix.php?id=69608&r=mysqlcfg