ID: 8558
Updated by: [EMAIL PROTECTED]
Reported By: [EMAIL PROTECTED]
-Status: Open
+Status: Won\'t fix
Bug Type: Misbehaving function
Operating System: Win32
PHP Version: 3.0.16
New Comment:
We are sorry, but can not support PHP 3 related problems anymore.
Momentum is gathering for PHP 5, and we think supporting PHP 3 will
lead to a waste of resources which we want to put into getting PHP 5
ready. Ofcourse PHP 4 will will continue to be supported for the
forseeable future.
Previous Comments:
------------------------------------------------------------------------
[2001-01-04 17:41:15] [EMAIL PROTECTED]
When was the /e modifier added to PHP?
On PHP 3.0.16 / Apache CGI / Win32 it does not work, but on PHP 4.0.2 /
Apache Module / Linux it does work. Is this a platform issue, or a
version issue?
Are there any workarounds if this is a version issue?
Thanks,
John
Code sample:
$searcharray = array(
"/(\[)(list)(=)(['\"]?)([^\"']*)(\\4])(.*)(\[\/list\])/esiU",
"/(\[)(list)(])(.*)(\[\/list\])/esiU",
"/(\[)(url)(=)(['\"]?)([^\"']*)(\\4])(.*)(\[\/url\])/esiU",
"/(\[)(url)(])(.*)(\[\/url\])/esiU",
"/(\[)(code)(])(\r\n)*(.*)(\[\/code\])/esiU"
);
$replacearray = array(
"createlists('\\7', '\\5')",
"createlists('\\4')",
"checkurl('\\5', '\\7')",
"checkurl('\\4')",
"stripbrsfromcode('\\5')"
);
$bbcode=preg_replace($searcharray, $replacearray, $bbcode);
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=8558&edit=1