Skip to content

Conversation

@Blurazzle
Copy link

This pull request is related to the issue phpstan/phpstan#9919 (comment). The problem that it resolves can be seen in https://phpstan.org/r/459a7de6-aa15-42ee-8967-0777088f411e.

Our application is connected to an IBM i DB2 database. The column names are sometimes like the following

Currently, the lexer does not recognize these as valid property names, while in fact, these are valid properties in PHP that can be accessed with $this->{'PBGD#L'} syntax.

Add # as vallid character for variable.
@ondrejmirtes
Copy link
Member

We can't do this change so lightly. It's a BC break and it's questionable whether we even want that.

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

Labels

None yet

2 participants