Fix for static method warning
fix for deprecated usage of split()
Merge pull request #19 from SwitchSystems/php55-fixes

Php55 fixes