Fix Undefined offset issue on parseSemanticsOptions
Reformatting to fit code conventions
Fix issue if we try to install a extension for a not active php version
Merge pull request #357 from phpbrew/fix/some-fixes

Some fixes