|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[2007-07-09 15:16 UTC] bjori@php.net
[2007-07-09 21:33 UTC] colder@php.net
|
|||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Fri Nov 21 13:00:01 2025 UTC |
Description: ------------ There is an error in "Example 1698. Using the 'e' modifier". Either single quotes or additional escapes should be used imho: <?php preg_replace("/(<\\/?)(\\w+)([^>]*>)/e", "'\\1'.strtoupper('\\2').'\\3'", $html_body); ?>