Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

PHP 7 for Phongo - A New Hope. #175

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
derickr merged 83 commits into mongodb:master from derickr:php7
Dec 18, 2015
Merged

PHP 7 for Phongo - A New Hope. #175

derickr merged 83 commits into mongodb:master from derickr:php7
Dec 18, 2015

Conversation

@derickr
Copy link
Contributor

@derickr derickr commented Dec 18, 2015

bjori and others added 30 commits December 16, 2015 10:09
TSRMLS_FETCH_FROM_CTX() still dose the assignment in PHP7, which leads
to compiler warning since we don't actually use it
This simplifies calling bson_to_zval() quite a bit.
bson_to_zval() now takes empty zval*
bson_to_zval_ex() now takes php_phongo_bson_state (with empty zval*)
bson_to_zval() will always alloc and init state.zchild
Refactor so it mimicks all the other <type>_to_zval()
Also gets rid of MAKE_STD_ZVAL() for PHPC-373
bjori and others added 19 commits December 16, 2015 10:22
Since ADD_ASSOC_STRINGL() always duplicates, use a static buffer in UTCDateTime's debug handler when converting milliseconds to a string on 32-bit platforms.
Copy link
Member

jmikola commented Dec 18, 2015

LGTM 👍

Copy link

stof commented Dec 18, 2015

make coveralls fails in the PHP 7 job on Travis though

Copy link
Member

jmikola commented Dec 18, 2015

Thanks for pointing that out, @stof. We're also tracking two memory leaks in PHPC-500.

Copy link
Member

jmikola commented Dec 22, 2015

make coveralls failure will be tracked in PHPC-522.

Copy link

hppking commented Dec 23, 2015

/mongodb-1.1.1/src/bson.c:508: error: (Each undeclared identifier is reported only once/mnt/amp/mongodb-1.1.1/src/bson.c:508: error: for each function it appears in.)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Reviewers

No reviews

Assignees

No one assigned

Labels

None yet

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

AltStyle によって変換されたページ (->オリジナル) /