Hermann D. Schimpf
Hermann D. Schimpf
Take a look at the [docs](https://www.php.net/manual/en/parallel.bootstrap.php)
It works! Tested on Manjaro with x11 and GNOME Shell 44.1 @G-dH, can you also add this change to the PR? `metadata.json` ```diff "shell-version": [ "42", - "43" + "43",...
You can't use by-reference: https://www.php.net/manual/en/parallel.run.php#refsect1-parallel.run-argv-characteristics
One way you can do is create the instance of your class Test inside the runtime. So all the references to `$this` are inside the thread _(Runtime)_. ```php use parallel\Runtime;...
Hey @mercurykd, checkout this [library](https://github.com/hschimpf/parallel-sdk) that I made. It may simplify the usage of `$this` in your code.
I have a similar behavior, when running on PHP 8.0 all works flawlessly, but the same process on PHP version 8.1 and prior does segfault [^1]. Tried changing some values...
Hi @crgdncn! > Additionally, set the following .env variables > APP_MAINTENANCE_STORE=array > LOG_CHANNEL=stderr > SESSION_DRIVER=array > CACHE_STORE=array > DB_CONNECTION= The package [bref/laravel-bridge](https://github.com/brefphp/laravel-bridge) sets most of those values[^1] to allow a...
Hello guys! If it helps, I'll like to share what I did for the functions registration and execution. I used [Reflection](https://www.php.net/manual/en/book.reflection.php) to parse, register and execute the functions. This way,...
Hello @vijaythecoder, the documentation of OpenAI about function calling is constantly changing. As right now, there is no explanation about how the function's parameters must be specified.  Only browsing...
Hi @samuelgjekic, I showed an example in my [response above](#issuecomment-1883895076) > Even if i am manually calling functions, how would it look like in php ? I know how to...