PHP SYN file

General questions about using TextPad

Moderators: AmigoJack, bbadmin, helios, Bob Hansen, MudGuard

Post Reply
IanOfYork
Posts: 107
Joined: Sat Nov 04, 2017 11:54 am
Location: York, England

PHP SYN file

Post by IanOfYork »

The syn file for PHP that comes with the install is from 2003 and for is PHP version 4.
There are a few newer version on the website, but the newest is September 2009 for PHP version 5.3

Are there any newer versions somewhere else in the wild?
Has anybody cooked their own newer version that they can share?
User avatar
AmigoJack
Posts: 500
Joined: Sun Oct 30, 2016 4:28 pm
Location: グリーン ヒル ゾーン
Contact:

Re: PHP SYN file

Post by AmigoJack »

Counter question: which syntax highlightings do you miss? The only thing I've changed was making

Code: Select all

OperatorChars = -+*/<>!~%^&|=
to

Code: Select all

OperatorChars = -+*/<>!~%^&|=.?:
because I have no clue why one would exclude those.
User avatar
bbadmin
Site Admin
Posts: 820
Joined: Mon Feb 17, 2003 8:54 pm
Contact:

Re: PHP SYN file

Post by bbadmin »

I've made available as an addon the one I use for PHP 8:

https://www.textpad.com/addon?path=addo ... x/php8.zip

Should have replaced the one bundled with the installer with this.
Post Reply