Andrey
Andrey
I also find the username change function useful.
Apparently, this is the only way out. But this is bad, because between the `SELECT *` and `SELECT COUNT(*)` calls a string can be inserted that will affect the result.
I have PHP 8.2.5. I created a new folder and ran: ``` composer require amphp/file composer require amphp/http-client ``` After this I create a new file with the following content:...
I ran the same test on PHP 8.2.13 on Linux, there is no problem there.
I noticed this problem when I uploaded photos in a certain orientation. I got the feeling that the app was not correctly determining the orientation of the photo, which ended...
I have found that different programs can behave differently. For example, the jpegoptim utility simply terminates execution even if I don't read stdout output. And what's more interesting is that...
I continued my research and came to the conclusion that there are two problems here at once. Below I will consider the situation with the ImageMagick call and the exception...
Because I run a loop with a counter and a delay of 1 second inside, and the exception occurs after 120 iterations of 1 second. But even before that, I...
Yes, apparently it is. Here's an example: ``` $content = \file_get_contents('image.jpg'); $process = \Amp\Process\Process::start([ 'magick', '-', '-quality', '100', 'JPEG:-', ]); $process->getStdin()->write($content); $process->getStdin()->end(); $time = \Amp\now(); try { \Amp\delay(150); } catch...
Great! Tell me how to install an exception handler that occurs in the event loop? I don't see this in the documentation. Do I understand correctly that if such an...