Dylan T.

Results 863 comments of Dylan T.

The documentation is out of date in many places. You might be better looking at the stub.php in the `examples/` directory.

Oh absolutely. If I may say so the API as it stands is really not very coherent, and I say this after 2+ years of working with a project that...

The `Socket` class is as-yet undocumented.

This is just my humble opinion but... The php.net documentation is very confusing and doesn't include important information in a lot of places. For example: the Threaded class documentation does...

There are a bunch of other constants missing as well (without any equivalents). Sockets constants which don't have equivalents in pthreads (updated): ```php //const PHP_NORMAL_READ = 1; //const PHP_BINARY_READ =...

The changes causing this were done in 7.3, so my 7.3 branch should solve the problem in the OP, but it won't build on the master branch as of today.

I don't think parallel is at fault here. I've also seen a similar problem on my pthreads fork. Does it by any chance look like #146 ?

I'd suggest running PHP with parallel inside of `gdb` so you can capture a stack trace when the segfault occurs.

``` gdb path/to/your/php ``` then inside gdb shell: ``` run path/to/your/php/script.php ``` when the process segfaults, type `bt` to see the backtrace.