Ticket #2346 (accepted enhancement)
Sync PHP syntax highlighting with up do date language keywords
Reported by: | ianzag | Owned by: | zaytsev |
---|---|---|---|
Priority: | minor | Milestone: | Future Releases |
Component: | mcedit | Version: | master |
Keywords: | PHP syntax highlight | Cc: | |
Blocked By: | Blocking: | ||
Branch state: | no branch | Votes for changeset: |
Description
- Add OOP keywords (interface, implements, try/catch etc)
- Add predefined exceptions (Exception etc)
- Add predefined interfaces (Iterator etc)
- Add std JSON functions (json_encode etc)
- Add minor std keywords missing in highlight file
Attached diff was made over official v4.7.4 release
Attachments
Change History
Changed 14 years ago by ianzag
- Attachment php.syntax.diff added
comment:1 Changed 14 years ago by zaytsev
- Status changed from new to accepted
- Priority changed from major to minor
- Version set to master
- Owner set to zaytsev
Can be included via the syntax consolidation branch.
comment:2 Changed 14 years ago by belliash
private, protected & public should be colored as white, as var does.
either const should.
Other way it makes no sense, some of them are white while others magenta
comment:3 Changed 13 years ago by andrew_b
- Branch state set to no branch
- Milestone changed from 4.7.5 to Future Releases
Note: See
TracTickets for help on using
tickets.
Add new PHP keywords