Re: PHP syntax colouring on documentation
| From: | Randum Ian | Date: | Fri, 04 Apr 2003 16:06:10 +0000 |
| Subject: | Re: PHP syntax colouring on documentation | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-142358@lists.php.net to get a copy of this message | ||
> Randum Ian wrote:
>
> [ snip ]
>
>>>
>>>RTFM
>>>
>>>http://www.php.net/manual/en/function.highlight-string.php
>>>http://www.php.net/manual/en/function.highlight-file.php
>>>
>>
>> Hi Burhan,
>>
>> I wasn't wanting to highlight anything like that, I am writing a guide
>> which will be printed out in colour and wanted to highlight the code
>> appropriately. Thanks for replying.
>>
>> Regards, Ian.
>
> Apologies Ian -- I am still on first cup of coffee.
>
> I don't suppose there is a standard scheme for highlighting such
> matters, but I think that since its dealing with PHP, you would be
> better off sticking with the default color highlighting that comes with
> PHP.
>
> To find out what colors are used for what, check your friendly php.ini
> :)
>
> Again, I apologize for my rash post earlier.
>
> --
> Burhan Khalid
> phplist[at]meidomus[dot]com
Don't worry about it mate, I understand how p***** off experienced coders
can get with the young ones!
I have had a look at the phpinfo() file and it has come up with what it
uses to highlight code so I might as well just use that!
Regards, Ian.