Skip to content

fix bug 69587 (DateInterval properties and isset) #1877

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

Closed
wants to merge 3 commits into from

Conversation

jhdxr
Copy link
Member

@jhdxr jhdxr commented Apr 20, 2016

fix bug 69587

there are some related bugs, and I'm working on them.

@jhdxr
Copy link
Member Author

jhdxr commented Apr 20, 2016

It seems that the CI is broken for something else.

@jhdxr
Copy link
Member Author

jhdxr commented Apr 21, 2016

I rebased master onto this pr, and the cr passed now.

return retval;
}

zval rv;
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

move this declaration to top

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is still not at the top, is it?

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The zval rv still does not seem at the top.

@derickr
Copy link
Member

derickr commented Apr 21, 2016

Ping me when you're ready so I can have a review too please.

@jhdxr
Copy link
Member Author

jhdxr commented Apr 21, 2016

@laruence I've moved the declaration to the top.

ping @derickr

@jhdxr
Copy link
Member Author

jhdxr commented May 22, 2016

hi, @derickr how's the review going?

@jpauli
Copy link
Member

jpauli commented Jul 11, 2016

Code looks fine to me.
ping @derickr :-)

@derickr
Copy link
Member

derickr commented Jul 11, 2016

It looks like the zval rv that @laruence pointed out isn't at the top of the function yet.

@jpauli
Copy link
Member

jpauli commented Jul 11, 2016

Yup, but I can fix that when merging the PR ;-)

@jhdxr
Copy link
Member Author

jhdxr commented Jul 11, 2016

done @derickr @jpauli

ZVAL_COPY(&tmp_member, member);
convert_to_string(&tmp_member);
member = &tmp_member;
cache_slot = NULL;
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

well, I just followed the way converting strings in this file, should I replace them as well?
btw, it seems lxr.php.net is down for serveral days, is there any alternative?

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

hmm, then nevermind, both way are right.

@smalyshev smalyshev added the Bug label Sep 5, 2016
@krakjoe
Copy link
Member

krakjoe commented Nov 13, 2016

Merged.

@nikic nikic closed this Nov 13, 2016
@jhdxr jhdxr deleted the bugfix/69587 branch November 15, 2016 20:04
@carusogabriel
Copy link
Contributor

I guess this have also fixed https://bugs.php.net/bug.php?id=67621

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.

8 participants