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

Drop PHP 5.3 support #1304

Open
1 of 3 tasks
Trainmaster opened this issue Mar 6, 2018 · 3 comments
Open
1 of 3 tasks

Drop PHP 5.3 support #1304

Trainmaster opened this issue Mar 6, 2018 · 3 comments

Comments

@Trainmaster
Copy link
Contributor

Trainmaster commented Mar 6, 2018

This is:

Expected Behavior

PHPWord requires at least PHP 5.6. Maybe it would be good to use the same PHP requirements as in https://github.com/PHPOffice/PhpSpreadsheet/blob/develop/composer.json

What do you think? @troosan

Context

PHP 5.3 reached its EOL on 2014-08-14.

@troosan
Copy link
Contributor

troosan commented Mar 7, 2018

Indeed, that's on the todo list. But first I want to address all the existing pull requests.
Once that's done I'll drop 5.3 support.

@dragonattack
Copy link

Some of the dependencies are throwing error at php 5.3.3 so, php 5.3 support is dropped really.

Parse error: syntax error, unexpected '[' in .../public_html/contract/vendor/zendframework/zend-stdlib/src/StringUtils.php on line 34

@troosan
Copy link
Contributor

troosan commented Mar 22, 2018

@dragonattack It all depends with which PHP version you are running composer.
If you run composer with PHP 5.3.3 it will load version 2.2.10, which should not give you this error

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

3 participants