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

PHP "new" array syntax #22

Closed
IngwiePhoenix opened this issue Nov 12, 2015 · 3 comments
Closed

PHP "new" array syntax #22

IngwiePhoenix opened this issue Nov 12, 2015 · 3 comments

Comments

@IngwiePhoenix
Copy link

Currently,

<?php
$myArray = ["foo", "bar"];

is not supported.

@asmblah
Copy link
Owner

asmblah commented Nov 23, 2015

Hi @IngwiePhoenix, thanks for raising this.

Support for the short array syntax has now been added to PHPToAST v3.1.0.

Cheers!

@asmblah
Copy link
Owner

asmblah commented Apr 14, 2016

@IngwiePhoenix can this issue be closed now? Happy to leave it open if there's some part of the spec that I missed out though 😄

@asmblah
Copy link
Owner

asmblah commented Oct 3, 2017

Closing for now. Feel free to re-open if I missed something though!

@asmblah asmblah closed this as completed Oct 3, 2017
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

No branches or pull requests

2 participants