Ask a Question related to PHP Bugs, Design and Development.
-
spam02 at pornel dot net #1
#40713 [NEW]: set_magic_quotes_runtime(0) causes Fatal Error
From: spam02 at pornel dot net
Operating system: *
PHP version: 6CVS-2007-03-03 (snap)
PHP Bug Type: Feature/Change Request
Bug description: set_magic_quotes_runtime(0) causes Fatal Error
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 bug report at [url]http://bugs.php.net/?id=40713&edit=1[/url]
--
Try a CVS snapshot (PHP 4.4): [url]http://bugs.php.net/fix.php?id=40713&r=trysnapshot44[/url]
Try a CVS snapshot (PHP 5.2): [url]http://bugs.php.net/fix.php?id=40713&r=trysnapshot52[/url]
Try a CVS snapshot (PHP 6.0): [url]http://bugs.php.net/fix.php?id=40713&r=trysnapshot60[/url]
Fixed in CVS: [url]http://bugs.php.net/fix.php?id=40713&r=fixedcvs[/url]
Fixed in release: [url]http://bugs.php.net/fix.php?id=40713&r=alreadyfixed[/url]
Need backtrace: [url]http://bugs.php.net/fix.php?id=40713&r=needtrace[/url]
Need Reproduce Script: [url]http://bugs.php.net/fix.php?id=40713&r=needscript[/url]
Try newer version: [url]http://bugs.php.net/fix.php?id=40713&r=oldversion[/url]
Not developer issue: [url]http://bugs.php.net/fix.php?id=40713&r=support[/url]
Expected behavior: [url]http://bugs.php.net/fix.php?id=40713&r=notwrong[/url]
Not enough info: [url]http://bugs.php.net/fix.php?id=40713&r=notenoughinfo[/url]
Submitted twice: [url]http://bugs.php.net/fix.php?id=40713&r=submittedtwice[/url]
register_globals: [url]http://bugs.php.net/fix.php?id=40713&r=globals[/url]
PHP 3 support discontinued: [url]http://bugs.php.net/fix.php?id=40713&r=php3[/url]
Daylight Savings: [url]http://bugs.php.net/fix.php?id=40713&r=dst[/url]
IIS Stability: [url]http://bugs.php.net/fix.php?id=40713&r=isapi[/url]
Install GNU Sed: [url]http://bugs.php.net/fix.php?id=40713&r=gnused[/url]
Floating point limitations: [url]http://bugs.php.net/fix.php?id=40713&r=float[/url]
No Zend Extensions: [url]http://bugs.php.net/fix.php?id=40713&r=nozend[/url]
MySQL Configuration Error: [url]http://bugs.php.net/fix.php?id=40713&r=mysqlcfg[/url]
spam02 at pornel dot net Guest
-
#39780 [NEW]: Fatal error reported for recoverable error
From: pz at mysqlperformanceblog dot com Operating system: Linux PHP version: 5.2.0 PHP Bug Type: GD related Bug... -
Fatal PostScript Error Msg
We are using Mac OS X 10.2.8 (Mac OS 9 classic) and Acrobat Distiller 5 on a PowerMac G4 machine. We are distilling pages from Quark 4.11 and once... -
fatal error
I install Coldfusion but I receive a fatal errorInstall Begin: Wed Apr 06 20:25:33 GMT-03:00 2005 Install End: Wed Apr 06 20:25:33 GMT-03:00 2005... -
FHLangResource.dll - Fatal Error
We are trying to use the Simplified Chinese version of FreeHand MX and are getting the following error on startup: "Can not find the file... -
IDS 9.3 Fatal Error
Platform : SunOS 5.7 sun4u sparc SUNW,Ultra-4 IDS Version : 9.30.UC2 We received the following error messages in our log file: 16:42:58 ... -
paul at phpbbservice dot nl #2
#40713 [Com]: set_magic_quotes_runtime(0) causes Fatal Error
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 [url]http://bugs.php.net/?id=40713&edit=1[/url]
paul at phpbbservice dot nl Guest



Reply With Quote

