Hi,
Thank you for posting this in here, maybe
these semantic highlighting rules would be useful as well:
- Global
Variables –
- <?php
- $a
= 5;
- ?>
- DeprecatedMember
/ DeprecatedFunction – strike deprecated elements. See http://manual.phpdoc.org/HTMLframesConverter/default/phpDocumentor/tutorial_tags.deprecated.pkg.html
1.
/**
2.
* @deprecated deprecated since version 2.0
3.
*/
4. function uselessfunction() { }
5.
uselessfunction()
- FunctionDeclaration
- you listed method but in PHP globl functions can also be defined (actually
you can unite the functions / methods declarations rule).
1. function myFunc() { }
2. myFunc ();
3. class
A { function myMethod() { } }
4. $a
= new A(); $a->myMethod
();
- Global
“define” statements
1. define(
“ADMIN”, “administrator”);
2. echo
ADMIN;
And there are more J
Can you provide an example for each Semantic
Highlighting you listed in the page?
Roy
From:
pdt-dev-bounces@xxxxxxxxxxx [mailto:pdt-dev-bounces@xxxxxxxxxxx] On Behalf Of ???
Sent: Thursday, April 16, 2009
3:02 PM
To: PDT Developers
Subject: [pdt-dev] wiki about
semantic highlighting
i have just written a will on the above page.
i have finished two semantic highlighting,and listed some other
semantic highlightings that will be done.
i hope someone to see it if i missed some semantic highlightings,and
maybe there aresome semantic highlightings that listed do not belong to pdt.