HMVC icon indicating copy to clipboard operation
HMVC copied to clipboard

Incompatibilities with PHP 5.6

Open bereldhuin opened this issue 5 years ago • 0 comments

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.

bereldhuin avatar Nov 17 '20 16:11 bereldhuin