Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bug with encapsed strings #24

Open
i582 opened this issue Aug 16, 2021 · 1 comment
Open

Bug with encapsed strings #24

i582 opened this issue Aug 16, 2021 · 1 comment
Labels
bug Something isn't working

Comments

@i582
Copy link
Contributor

i582 commented Aug 16, 2021

PHP Version

7.4 and 8.0

Code Example

"$property->name[]";

Actual Behavior

==> syntax error: unexpected '[' at line 2

Expected Behavior

No error.

@i582 i582 added the bug Something isn't working label Aug 16, 2021
@i582
Copy link
Contributor Author

i582 commented Aug 16, 2021

"$a[10]: some"       is $a[10] . ": some"
"$a->prop[10]: some" is $a->prop . "[10]: some"

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant