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

Deprecate support for mbstring.func_overload != 0 #2271

Merged
merged 1 commit into from Nov 23, 2016

Conversation

fabpot
Copy link
Contributor

@fabpot fabpot commented Nov 19, 2016

@nicolas-grekas
Copy link
Contributor

👍 (should throw an exception in 2 then?)

@stof
Copy link
Member

stof commented Nov 23, 2016

👍 (I really hope this deprecation will be accepted in PHP 7.2)

@SpacePossum
Copy link
Contributor

👍

should throw an exception in 2 then?

👍 And this cast can be removed than as well https://github.com/twigphp/Twig/blob/1.x/lib/Twig/Extension/Core.php#L677 (#1453)

@fabpot fabpot merged commit 6668d47 into twigphp:1.x Nov 23, 2016
fabpot added a commit that referenced this pull request Nov 23, 2016
This PR was merged into the 1.x branch.

Discussion
----------

Deprecate support for mbstring.func_overload != 0

see https://wiki.php.net/rfc/deprecations_php_7_2

Commits
-------

6668d47 deprecated support for mbstring.func_overload != 0
@stof
Copy link
Member

stof commented Nov 23, 2016

@SpacePossum no, this case is about using mbstring when possible to support UTF-8 better. It is not related to func_overload

@SpacePossum
Copy link
Contributor

Fabien

Deprecate support for mbstring.func_overload != 0

@stof

is not related to func_overload

I'm confused here and so still think the string cast can still be removed as soon as support for mbstring.func_overload != 0 is deprecated. However it is a minor that can be put on a backlog somewhere :)

@stof
Copy link
Member

stof commented Nov 23, 2016

@SpacePossum I'm talking about the case you linked in your previous comment. This case has nothing to do with supporting func_overload. It is about supporting UTF-8 properly when you have mbstring enabled

@SpacePossum
Copy link
Contributor

SpacePossum commented Nov 23, 2016

maybe I misread what case you meant 👍

@fabpot fabpot deleted the func_overload-dep branch December 8, 2016 06:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants