ID:          41935
 Updated by:  [EMAIL PROTECTED]
 Reported By: noone at nowhere dot com
-Status:      Open
+Status:      Bogus
 Bug Type:    Documentation problem
 PHP Version: Irrelevant
-Assigned To: 
+Assigned To: colder
 New Comment:

Sorry, but your problem does not imply a bug in PHP itself.  For a
list of more appropriate places to ask for help using PHP, please
visit http://www.php.net/support.php as this bug system is not the
appropriate forum for asking support questions.  Due to the volume
of reports we can not explain in detail here why your report is not
a bug.  The support channels will be able to provide an explanation
for you.

Thank you for your interest in PHP.

Quotes seem just fine.


Previous Comments:
------------------------------------------------------------------------

[2007-07-09 15:16:04] [EMAIL PROTECTED]

Reclassified as documentation problem

------------------------------------------------------------------------

[2007-07-09 10:49:52] noone at nowhere dot com

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);
?> 




------------------------------------------------------------------------


-- 
Edit this bug report at http://bugs.php.net/?id=41935&edit=1

Reply via email to