Open Enverex opened 8 years ago
Can confirm I get this problem as well with php 7 on Arch Linux.
Same error on Ubuntu 16.04 with PHP 7
same error here Ubuntu 16.04 PHP 7
he hasn't touched this in 2 years, I doubt there is still interest. Does anyone know of any forks?
Is has to do with new syntax for Zend relates commands. Theoretically if that's all that's wrong it should be a simple fix but I don't have time to dig into it. I only discovered it because I was setting this up for a friend's personal tracker.
On Tue, Apr 26, 2016, 9:17 PM phirestalker notifications@github.com wrote:
he hasn't touched this in 2 years, I doubt there is still interest. Does anyone know of any forks?
— You are receiving this because you commented. Reply to this email directly or view it on GitHub https://github.com/kevinlekiller/simple_php_yenc_decode/issues/3#issuecomment-214965796
You can supposedly compile this with PHP 5.6 and then use it with 7.
Okay I just compiled it with php5.6 but I cannot load the module with php7. So no clue how this is supposed to work.
can you please provide us with the swig commandline you used to generate the wrapper?
also everyone else, it seems that the problem is in swig code not this code, https://github.com/swig/swig/issues/571
so anyone working on a fix with some coding experience check there
I still need help on ubuntu.sh in here since it specifically calls php-config5 and /etc/php5/cli. I'm trying do this in docker and really don't want to dig into sed and awk to edit the script prior to executing it. I really don't know git yet, but perhaps I can just clone it to my own repo and edit that copy of it.
Fyi @niel is working is working on a replacement for this https://github.com/niel/nzedb_utils
https://github.com/niel/nzedb_utils/blob/master/nzedb/utils/yenc.zep
swig has added php7 support, has anyone got it working yet?
@kevinlekiller, will this be merged in to nzedb and be the new built in, or will I need to compile it separately?
There's https://github.com/niel/php-yenc now for 7.
@phirestalker It will not be merged in, it never was before. Same applies to my extension.
If Composer or the replacement to PEAR finally get the ability to install extensions sorted out we will look at adding one of them to the Composer config to be automatically installed, or add instructions on how to do it manually.
Does SWIG also support 7.1?
As far as i see, swig supports PHP7 with -php7 flag, does not specifically state .0 or .1, but i doubt it does.
I believe you're already aware of it but now it's logged. Trying to compile against PHP 7.0.2 results in the following: