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

Array syntax #1

Closed
MattiasNilsson opened this issue May 11, 2016 · 2 comments
Closed

Array syntax #1

MattiasNilsson opened this issue May 11, 2016 · 2 comments

Comments

@MattiasNilsson
Copy link

In the file you are using PHP 5.6 array syntax []

https://github.com/extcode/cart/blob/master/ext_localconf.php

But in the rest of the application you are using the old syntax array().

Which is confusing which PHP version are you supporting?

@extcode
Copy link
Owner

extcode commented May 11, 2016

I will change the syntax to the old version, cause typo3 6.2 and 7.6 supporting PHP 5.5.
But I like/prefer the new syntax.

@extcode
Copy link
Owner

extcode commented May 11, 2016

Contrary to the previous statement, I will use the short notation for arrays. This was introduced in PHP 5.4, and not with PHP 5.6. I will add a dependency for PHP5.4 to ext_emconf.php up for TYPO3 6.2.

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