note 44458 added to language.types.string

From: Date: Fri, 06 Aug 2004 19:03:58 +0000
Subject: note 44458 added to language.types.string
Groups: php.notes 
Request: Send a blank email to php-notes+get-79816@lists.php.net to get a copy of this message
A note on the heredoc stuff. If you're editing with VI/VIM and possible other syntax highlighting editors, then using certain words is the way forward. if you use <<<HTML for example, then the text will be hightlighted for HTML!! I just found this out and used sed to alter all EOF to HTML. JAVASCRIPT also works, and possibly others. The only thing about <<<JAVASCRIPT is that you can't add the <script> tags.., so use HTML instead, which will correctly highlight all JavaScript too.. There might be one for Text/css too? ---- Manual Page -- http://www.php.net/manual/en/language.types.string.php Edit -- http://master.php.net/manage/user-notes.php?action=edit+44458 Delete -- http://master.php.net/manage/user-notes.php?action=delete+44458&report=yes Reject -- http://master.php.net/manage/user-notes.php?action=reject+44458&report=yes Search -- http://master.php.net/manage/user-notes.php

« previous php.notes (#79816) next »