Skip to content

Drop support for PHP 5.3 callbacks #467

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

Merged
merged 1 commit into from
Feb 14, 2017
Merged

Drop support for PHP 5.3 callbacks #467

merged 1 commit into from
Feb 14, 2017

Conversation

javiereguiluz
Copy link
Member

We now require PHP 5.5.9 in this app, so there's no need to maintain this code.

@javiereguiluz javiereguiluz merged commit 572b2bf into symfony:master Feb 14, 2017
javiereguiluz added a commit that referenced this pull request Feb 14, 2017
This PR was merged into the master branch.

Discussion
----------

Drop support for PHP 5.3 callbacks

We now require PHP 5.5.9 in this app, so there's no need to maintain this code.

Commits
-------

572b2bf Drop support for PHP 5.3 callbacks
@stof
Copy link
Member

stof commented Feb 14, 2017

this is broken. Private functions can be used as callable when passing them to built-in functions like array_map, which are special. But here, it is passed to a userland function. So array($command, 'fullNameValidator') must be callable from the userland scope calling the callable, which require them to be public.

The comment about people public for PHP 5.3 only was outdated (it may have true for a previous implementation not using the Question system)

javiereguiluz added a commit that referenced this pull request Feb 17, 2017
javiereguiluz added a commit that referenced this pull request Feb 17, 2017
…luz)

This PR was squashed before being merged into the master branch (closes #471).

Discussion
----------

Reverted #467 to make PHP callbacks work again

As explained by @stof in #467 (comment) this change was wrong.

Commits
-------

5f31a37 Reverted #467 to make PHP callbacks work again
sayjun0505 added a commit to sayjun0505/sym_proj that referenced this pull request Apr 16, 2023
…luz)

This PR was squashed before being merged into the master branch (closes #471).

Discussion
----------

Reverted #467 to make PHP callbacks work again

As explained by @stof in symfony/demo#467 (comment) this change was wrong.

Commits
-------

5f31a37 Reverted #467 to make PHP callbacks work again
spider-yamet added a commit to spider-yamet/sym_proj that referenced this pull request Apr 16, 2023
…luz)

This PR was squashed before being merged into the master branch (closes #471).

Discussion
----------

Reverted #467 to make PHP callbacks work again

As explained by @stof in symfony/demo#467 (comment) this change was wrong.

Commits
-------

5f31a37 Reverted #467 to make PHP callbacks work again
frederickboyd added a commit to frederickboyd/frederickboyd that referenced this pull request May 25, 2025
…luz)

This PR was squashed before being merged into the master branch (closes #471).

Discussion
----------

Reverted #467 to make PHP callbacks work again

As explained by @stof in symfony/demo#467 (comment) this change was wrong.

Commits
-------

5f31a37 Reverted #467 to make PHP callbacks work again
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants