Skip to content

isset() and empty() don't invoke ArrayObject::offsetGet()#621

Closed
datibbaw wants to merge 10 commits intophp:PHP-5.6from
datibbaw:bug66834a
Closed

isset() and empty() don't invoke ArrayObject::offsetGet()#621
datibbaw wants to merge 10 commits intophp:PHP-5.6from
datibbaw:bug66834a

Conversation

@datibbaw
Copy link
Contributor

Replaces PR #616.

This fixed bug 66834.

Both isset() and empty() should inspect the value after checking whether the offset exists (or by calling offsetExists()).

@smalyshev
Copy link
Contributor

Please do not merge yet, we need to figure out why check_empty doesn't work.

@datibbaw datibbaw closed this Mar 21, 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.

2 participants