[php-src] Issue #12317: msg_send throws warning even if @ is prepended
| From: | s0me0ther | Date: | Fri, 29 Sep 2023 04:53:35 +0000 |
| Subject: | [php-src] Issue #12317: msg_send throws warning even if @ is prepended | ||
| Groups: | php.bugs | ||
| Request: | Send a blank email to php-bugs+get-245453@lists.php.net to get a copy of this message | ||
Issue: https://github.com/php/php-src/issues/12317
Author: s0me0ther
### Description
The following code:
```php
<?php
$sent = @msg_send($ueue, $type, $message, $serialized, $blocking, $error);
```
Resulted in this error / warning output:
```
msg_send(): msgsnd failed: Resource temporarily unavailable
```
But I expected this output instead:
```
// no error / warning output because of the prepended @
```
### PHP Version
PHP 8.1.20
### Operating System
_No response_