|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[2002-10-01 15:13 UTC] hholzgra@php.net
[2002-10-01 19:32 UTC] john at vbulletin dot com
|
|||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Sun Nov 02 02:00:01 2025 UTC |
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);