#40713 [Com]: set_magic_quotes_runtime(0) causes Fatal Error
| From: | paul at phpbbservice dot nl | Date: | Sat, 03 Mar 2007 21:25:49 +0000 |
| Subject: | #40713 [Com]: set_magic_quotes_runtime(0) causes Fatal Error | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-109845@lists.php.net to get a copy of this message | ||
ID: 40713
Comment by: paul at phpbbservice dot nl
Reported By: spam02 at pornel dot net
Status: Open
Bug Type: Feature/Change Request
Operating System: *
PHP Version: 6CVS-2007-03-03 (snap)
New Comment:
phpBB2 doesn't support php5 official, so php6 is a complete no ;)
phpBB3 support php6 perfect, there are special for php6 checks in
common.php
Previous Comments:
------------------------------------------------------------------------
[2007-03-03 20:56:15] spam02 at pornel dot net
Description:
------------
It's great that PHP6 dropped support for magic_quotes, but I don't see
a reason to trigger fatal error when set_magic_quotes_runtime(0) is
executed (note the argument value).
I think it's completly harmless if application attempts to *disable*
magic_quotes in PHP6 and error should be thrown only on attempts to
enable magic_quotes.
In practicular this affects PHPBB, which won't run under PHP6 because
of this.
Reproduce code:
---------------
<?php set_magic_quotes_runtime(0);
Expected result:
----------------
Notice or nothing.
Actual result:
--------------
Fatal error (not even Catchable Fatal).
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=40713&edit=1