note 66031 added to function.highlight-string
| From: | adam at dekadens dot se | Date: | Fri, 12 May 2006 14:27:56 +0000 |
| Subject: | note 66031 added to function.highlight-string | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-111187@lists.php.net to get a copy of this message | ||
I fail to see the problem with that - why not make a function that adds <? to the beginning of
the string and ?> to the end of it?
<?
function my_highlight($s)
{
highlight_string("<?$s?>");
}
?>
----
Server IP: 129.16.214.50
Probable Submitter: 81.229.90.32
----
X-Spam-Status: No, hits=3.1 required=5.0 tests=DATE_MISSING,FROM_NO_LOWER
autolearn=no version=2.64
----
Manual Page -- http://www.php.net/manual/en/function.highlight-string.php
Edit -- http://master.php.net/note/edit/66031
Del: integrated -- http://master.php.net/note/delete/66031/integrated
Del: useless -- http://master.php.net/note/delete/66031/useless
Del: bad code -- http://master.php.net/note/delete/66031/bad+code
Del: spam -- http://master.php.net/note/delete/66031/spam
Del: non-english -- http://master.php.net/note/delete/66031/non-english
Del: in docs -- http://master.php.net/note/delete/66031/in+docs
Del: other reasons-- http://master.php.net/note/delete/66031
Reject -- http://master.php.net/note/reject/66031
Search -- http://master.php.net/manage/user-notes.php