Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Removing pre PHP 5.3 checks (SPL ArrayObject) #6084

Merged
merged 5 commits into from Sep 3, 2014
Merged

Removing pre PHP 5.3 checks (SPL ArrayObject) #6084

merged 5 commits into from Sep 3, 2014

Conversation

ThaDafinser
Copy link
Contributor

SPL is build in since 5.0 and always available since 5.3: http://php.net/manual/en/spl.installation.php
JSON is build in since 5.2: http://php.net/manual/en/json.installation.php

@sgiehl
Copy link
Member

sgiehl commented Aug 28, 2014

I guess removing the SPL check would be fine, as there is no way to disable it as of 5.3. But it should still be possible to disable JSON while compiling php using --disable-all option or something like that. JSON is only enabled by default. So this check is imho still required. Isn't it?

@ThaDafinser
Copy link
Contributor Author

You are right. Just saw this note: http://php.net/manual/en/json.installation.php#113869

@@ -10,7 +10,6 @@
/**
* This file is executed before anything else.
* It checks the minimum PHP version required to run Piwik.
* This file must be compatible PHP4.
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

this comment is useful could you bring it back?

mattab pushed a commit that referenced this pull request Sep 3, 2014
Removing pre PHP 5.3 checks
@mattab mattab merged commit 20371de into matomo-org:master Sep 3, 2014
@mattab
Copy link
Member

mattab commented Sep 3, 2014

Thanks for the PR!

@mattab mattab changed the title Removing pre PHP 5.3 checks Removing pre PHP 5.3 checks (SPL ArrayObject) Sep 3, 2014
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants