Skip to content
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

PHP7 Support #3

Closed
gu3st opened this issue Nov 3, 2015 · 9 comments
Closed

PHP7 Support #3

gu3st opened this issue Nov 3, 2015 · 9 comments

Comments

@gu3st
Copy link

gu3st commented Nov 3, 2015

Hi

I'm wondering when this extension will be updated for PHP 7 and the new changes to it.

Thanks!

@majuca
Copy link

majuca commented Dec 23, 2015

Me too...

@ichiriac
Copy link

FYI i'm actually trying to do so : https://github.com/expressif/pecl-event-libevent

@marcj
Copy link

marcj commented Mar 17, 2016

@ichiriac does it work yet? :)

@toverux
Copy link

toverux commented Mar 24, 2016

@marcj, just tried, it compiles and loads without error or warning, but I get random errors everywhere in use.

@ichiriac
Copy link

ichiriac commented Apr 8, 2016

@marcj it's fixed and works with all my tests

@toverux the main problem with this lib is that there is no unit tests, i've just started to implement them with this release. Any resolved memory leak makes it more stable - give it a new try and if you find problems fill an issue

@toverux
Copy link

toverux commented Apr 8, 2016

@ichiriac Great :) But now I use php-uv by bwoebi (since libuv seems preferred in Icicle and in amp, plus, it has a lot of features). When I have to use React again, I will try again your port. Good luck!

@ichiriac
Copy link

ichiriac commented Apr 8, 2016

@toverux libuv looks really great, I've migrated libevent for historic reasons (old legacy code)

I'm looking for benchmarks to compare perfs of libuv vs libevent
(BTW lcicle uses libev which is more light than libevent but was abandoned by nodejs in favor of libuv)

Another thread pointing in the same direction : facebook/hhvm#2047 (libevent seems a little old/dead)

@jilieryuyi
Copy link

I try this :https://github.com/expressif/pecl-event-libevent , and get Segmentation fault: 11 error

@jilieryuyi
Copy link

run with this demo :
$base = event_base_new();
$event = event_new();

event_set($event, 0, EV_TIMEOUT, function() {
echo "function called";
});
event_base_set($event, $base);

event_add($event, 5000000);
event_base_loop($base);

@gu3st gu3st closed this as completed Feb 9, 2022
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

No branches or pull requests

6 participants