Skip to content
This repository was archived by the owner on Mar 30, 2025. It is now read-only.

Incompatibilities with PHP 5.6 #12

@bereldhuin

Description

@bereldhuin

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.

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions