Skip to content

Update for PHP 7 + tiny optimization#1

Open
simonfi wants to merge 1 commit intomarc-mabe:masterfrom
simonfi:php-7
Open

Update for PHP 7 + tiny optimization#1
simonfi wants to merge 1 commit intomarc-mabe:masterfrom
simonfi:php-7

Conversation

@simonfi
Copy link
Copy Markdown

@simonfi simonfi commented Dec 1, 2015

Use "S" instead of "s" in zend_parse_parameters to parse string argument

Ensure PHP_MINIT_FUNCTION registers expected constants with predictable
values

Use long == comparison instead of strcmp to identify requested algorithm

Update usage of macros that have changed for PHP7

Use "S" instead of "s" in zend_parse_parameters to parse string argument

Ensure PHP_MINIT_FUNCTION registers expected constants with predictable
values

Use long == comparison instead of strcmp to identify requested algorithm

Update usage of macros that have changed for PHP7
@simonfi
Copy link
Copy Markdown
Author

simonfi commented Dec 1, 2015

Updated this so it works for PHP7 RC8, opening a pull request just in case you happen to be interested as well.

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.

1 participant