note 37678 added to function.preg-replace

From: Date: Sat, 22 Nov 2003 23:00:10 +0000
Subject: note 37678 added to function.preg-replace
Groups: php.notes 
Request: Send a blank email to php-notes+get-60828@lists.php.net to get a copy of this message
Be careful with the Example 5 code. The parts for stripping script tags and HTML tags in general contain "?>", which is interpreted as the end of PHP code, even when included on a double-slash comment line. ---- Manual Page -- http://www.php.net/manual/en/function.preg-replace.php Edit -- http://master.php.net/manage/user-notes.php?action=edit+37678 Delete -- http://master.php.net/manage/user-notes.php?action=delete+37678&report=yes Reject -- http://master.php.net/manage/user-notes.php?action=reject+37678&report=yes Search -- http://master.php.net/manage/user-notes.php

« previous php.notes (#60828) next »