Skip to content

PHP 7.2 compatibility #51

New issue

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

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

Already on GitHub? # to your account

Open
andreanironi opened this issue Nov 13, 2018 · 2 comments
Open

PHP 7.2 compatibility #51

andreanironi opened this issue Nov 13, 2018 · 2 comments

Comments

@andreanironi
Copy link

PHP 5.x end of life is approaching fast. There are a couple of minor PHP 7.2 incompatibilities in this project, both in gui/index.php:

  • ini_set('magic_quotes_sybase', 0); --> this directive has been removed. I guess it's safe also to disable it.
  • parse_str($_POST['options']); --> parse_str now requires the return parameter to be set. I searched across the code and couldn't find

Would it be ok to raise the PHP minimum version requirement? I can raise a PR if you want

Thank you for this great tool!

@tubalmartin
Copy link
Owner

Hey thanks for noticing! I'll work on this in a few days (too busy right now) but feel free to open a PR 👍

@shital7mahajan
Copy link

Are we having any plans to fix this?

shital7mahajan pushed a commit to shital7mahajan/YUI-CSS-compressor-PHP-port that referenced this issue May 6, 2019
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants