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

Backward compatibility with old PHP versions #1706

Closed
wants to merge 1 commit into from

Conversation

vgogolin
Copy link
Contributor

Fix for PHP Parse error: syntax error, unexpected '[' in /vendor/phpseclib/phpseclib/phpseclib/Net/SSH2.php on line 3558

Fix for PHP Parse error:  syntax error, unexpected '[' in /vendor/phpseclib/phpseclib/phpseclib/Net/SSH2.php on line 3558
terrafrost referenced this pull request Oct 30, 2021
Fix for PHP Parse error:  syntax error, unexpected '[' in /vendor/phpseclib/phpseclib/phpseclib/Net/SSH2.php on line 3558
@terrafrost
Copy link
Member

Good catch! I cherry-picked this to the 1.0 branch and then merged it up to 2.0 / 3.0 / master. I then made a new commit to 3.0 (that was subsequently merged up to master) that undid it.

The 1.0 commit:

1a94262

Thanks!

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

Successfully merging this pull request may close these issues.

None yet

2 participants