This repository was archived by the owner on Mar 30, 2025. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 20
Incompatibilities with PHP 5.6 #12
Copy link
Copy link
Open
Labels
bugSomething isn't workingSomething isn't working
Description
Hi,
Trying to make my app comaptible with PHP 7.3, I discovered your repo updating the original HMVC wich I used for years now on PHP 5.6.
It works fine on PHP 7.3, but I have an error on PHP 5.6.40 (Debian Jessie) :
Severity: Parsing Error
Message: syntax error, unexpected '='
Filename: MX/Router.php
Line Number: 154
After commenting the corresponding line, I have an other error ,which is harder to deal with by simply commenting it ;-) :
Severity: Parsing Error
Message: syntax error, unexpected '?'
Filename: MX/Modules.php
Line Number: 78
Looking further in the code, there are many places where Netbeans raises incompatibility error with PHP5.6.
Maybe you should mention this code is only compatible with PHP7+, as the original version is working fine on 5.6.
Any way thanks for your job on the 7+ compatibility which is what's interesting me.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working