funi-main / ectoken

A PHP extension that enables support for creating EdgeCast Tokens
4 stars 3 forks source link

PHP 7 support #1

Closed noony closed 7 years ago

noony commented 8 years ago

Is it possible to have a branch with php7 support ?

RETVAL_STRINGL only have 2 args now. zend_parse_parameters string ('s') return size_t instead of int

cgill27 commented 8 years ago

Were you able to resolve this? I ran into the same issue and was curious if there's a workaround. Ubuntu 16.04 PHP 7.0.4

austinhquinn commented 8 years ago

on like 139 of ectoken.c remove the third parameter ', 1' from the call to RETVAL_STRINGL

then make, make test, make install =D

Er the above was for the old version, i forked and fixed the three lines https://github.com/austinhquinn/ectoken

noony commented 7 years ago

👍