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

PHP 7 support #62

Merged
merged 1 commit into from
Jan 30, 2016
Merged

PHP 7 support #62

merged 1 commit into from
Jan 30, 2016

Conversation

drobinson
Copy link
Collaborator

Credit to Inchoo (https://github.com/Inchoo/Inchoo_PHP7) for the work - this is just a core implementation of the PHP 7 support module.

Credit to Inchoo (https://github.com/Inchoo/Inchoo_PHP7) for the work - this is just a core implementation of the PHP 7 support module.
@Flyingmana
Copy link
Contributor

in generell I support this changes, they dont have a major downside.

But please explain the changes of app/code/core/Mage/Sales/etc/config.xml

@JustinElst
Copy link
Contributor

I am using this module to get PHP 7 support, so I support adding this.

The changes to app/code/core/Mage/Sales/etc/config.xml where orriginally made by:

@durzel make sorting more consistent
danslo/Rubic_FixTotalSorting@086ca99

Hope that helps...

@Flyingmana
Copy link
Contributor

I see, than I would like to see this excluded from the PR, as it is not related to php7 support, so it can/needs to be discussed separate.

@drobinson
Copy link
Collaborator Author

I made an assumption that PHP 7 also rewrote the sorting algorithm to make it stable (and therefore required this explicit calculation ordering) but I did not test it without this. I'll check it out.

@durzel
Copy link

durzel commented Jan 30, 2016

PHP7 does change the sort behaviour. In my experience on an install that otherwise had no bespoke sorting code moving from PHP 5.3.3 to PHP 7 resulted in a calculation issue in the cart.

This is discussed here:
http://stackoverflow.com/questions/34281113/the-different-behavior-of-the-function-uasort-in-php-5-5-and-php-7-0

..among other places.

@Flyingmana
Copy link
Contributor

ok, that makes sense. In this case I give my ok.
👍

drobinson added a commit that referenced this pull request Jan 30, 2016
@drobinson drobinson merged commit 910fae4 into OpenMage:1.9.2.3 Jan 30, 2016
@seansan
Copy link
Contributor

seansan commented Mar 23, 2016

Just to confirm - this Magento LTS branch 1.9.2.4 has php 7 support?

@tmotyl
Copy link
Contributor

tmotyl commented Mar 23, 2016

True. I'm using it on some projects already.

edannenberg pushed a commit to edannenberg/magento-lts that referenced this pull request Dec 6, 2017
Credit to Inchoo (https://github.com/Inchoo/Inchoo_PHP7) for the work.
This is just a core implementation of the PHP 7 support module.
edannenberg pushed a commit to edannenberg/magento-lts that referenced this pull request Feb 28, 2018
Credit to Inchoo (https://github.com/Inchoo/Inchoo_PHP7) for the work.
This is just a core implementation of the PHP 7 support module.
edannenberg pushed a commit to edannenberg/magento-lts that referenced this pull request Jul 17, 2018
Credit to Inchoo (https://github.com/Inchoo/Inchoo_PHP7) for the work.
This is just a core implementation of the PHP 7 support module.
edannenberg pushed a commit to edannenberg/magento-lts that referenced this pull request Sep 19, 2018
Credit to Inchoo (https://github.com/Inchoo/Inchoo_PHP7) for the work.
This is just a core implementation of the PHP 7 support module.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

7 participants