Jáchym Toušek

Results 257 comments of Jáchym Toušek

Would it be possible to have another similar internally-ordered structure with custom comparator and non-destructive iteration?

It works just fine using pecl. ``` FROM php:8.0-alpine RUN apk add --no-cache ${PHPIZE_DEPS} && \ pecl install ds && \ docker-php-ext-enable ds ```

Well you need to use base PHP image obviously. If you want Alpine 3.14 then it's `FROM php:8.0-fpm-alpine3.14`

Well you still need to install manually from pecl because no official package exists for this extension... So `pecl install ds` and then add it to php.ini... You will likely...

I feel like you didn't even read my post to the end... The point is that trace just as string isn't very useful. And that exceptions mostly are serializable unless...

ping @trowski @kelunik I'd like to work on a PR for to improve this but I think it needs some discussion first.

Many things about the exception such as custom properties are still lost so I wouldn't call it ideal but okay. The main problem now though is `TaskError` and `TaskException`. It's...

> class, message, and code is in the exception message Which means I'd have to parse the exception message to get them - very bad DX. > as a string,...

No and no. They're separate processes. They don't have any kind of shared memory. You can of course put the data into a database or something.

Yeah... to accessing that array you would have to implement a mechanism for the child to ask the parent for a value and the parent to correctly respond to the...