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

Class Syntax Incompatibility #43

Open
moosetunes opened this issue Sep 13, 2019 · 1 comment
Open

Class Syntax Incompatibility #43

moosetunes opened this issue Sep 13, 2019 · 1 comment

Comments

@moosetunes
Copy link

moosetunes commented Sep 13, 2019

Hello friends. Based on my research, it seems I have the error listed below due to a PHP version incompatibility.

Current PHP version : 5.4.452.0

PHP Parse error: syntax error, unexpected 'class' (T_CLASS), expecting identifier (T_STRING) in /path_to_file/PDFMerger.php on line 12

I can't change the PHP version so is there a way to change the the code to make this work?

Please advise and thanks in advance.

Steven

Addition>> Please ignore this issue. It was posted for the wrong version of PDFMerger. Sorry.

@myokyawhtun
Copy link
Owner

That's strange. I was running with Php 5.5 before. May be? Even this script can run in Php 7 and above without any issue? The best solution for me to run on docker which I am not available to do it right now :/

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