Skip to content

Update the PHP lexer#1206

Merged
alecthomas merged 1 commit into
alecthomas:masterfrom
vrana:php
Jan 27, 2026
Merged

Update the PHP lexer#1206
alecthomas merged 1 commit into
alecthomas:masterfrom
vrana:php

Conversation

@vrana
Copy link
Copy Markdown
Contributor

@vrana vrana commented Jan 27, 2026

This updates the PHP lexer from Pygments. Namely, it adds support for attributes. I've preserved the _ handling in numbers which is not available in Pygments and I've also improved it a bit.

@alecthomas alecthomas merged commit d8a3315 into alecthomas:master Jan 27, 2026
2 checks passed
@alecthomas
Copy link
Copy Markdown
Owner

Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants