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 in PHP 5.5, unexpected '[' in fXmlRpc\Client #8

Closed
cpliakas opened this issue Jan 23, 2014 · 2 comments
Closed

Syntax error in PHP 5.5, unexpected '[' in fXmlRpc\Client #8

cpliakas opened this issue Jan 23, 2014 · 2 comments

Comments

@cpliakas
Copy link

We leverage this library in the Acquia SDK for PHP, and our automated tests are failing on PHP 5.5 with the error mentioned in the title of this issue. Tests pass using PHP 5.3 and 5.4. There are multiple builds where this is happening, but a specific build is at https://travis-ci.org/acquia/acquia-sdk-php/jobs/17426083.

If looks like the 0.9.0 release adopted a more terse method of initializing some properties as empty arrays that doesn't jive with 5.5. See

. Earlier releases used private $prependParams = array(); syntax which seems to work across the board.

Let me know if you need more details or addition info.
Chris

@lstrojny
Copy link
Owner

Should only fail on 5.3 (obviously, as 5.3 is no longer supported). Didn’t find the relevant build result on (https://travis-ci.org/acquia/acquia-sdk-php/jobs/17426083 is green). Can you help me?

@lstrojny
Copy link
Owner

@cpliakas ping

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