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

Syntax error when using php 5.3.10 #28

Closed
dajjen opened this issue Mar 30, 2015 · 3 comments
Closed

Syntax error when using php 5.3.10 #28

dajjen opened this issue Mar 30, 2015 · 3 comments

Comments

@dajjen
Copy link

dajjen commented Mar 30, 2015

I'm using drupal extension and the requirement is PHP 5.3.5 (http://behat-drupal-extension.readthedocs.org/en/3.0/requirements.html) but i get something like:

Parse error: syntax error, unexpected '[' in .../vendor/drupal/drupal-driver/src/Drupal/Driver/Cores/Drupal6.php on line 416

This is becauseof the short array syntax, that 5.3.10 don't allow (I think).

@jhedstrom
Copy link
Owner

The problem is that many dependent libraries (eg, Goutte requires Guzzle, which requires React) are now moving to 5.4 only support. I'll need to essentially document a composer.lock file for folks to use if they need PHP 5.3 support.

@jhedstrom
Copy link
Owner

Sorry, I misread the actual error here. I'm seeing the issue I mentioned above elsewhere--this issue is specific to code in this repo :)

@dajjen
Copy link
Author

dajjen commented Mar 31, 2015

Thanks for this code, it.s great!

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