Re: [RFC] [Discussion] Add bcdivmod to BCMath
| From: | Tim Düsterhus | Date: | Sun, 30 Jun 2024 15:45:42 +0000 |
| Subject: | Re: [RFC] [Discussion] Add bcdivmod to BCMath | ||
| References: | 1 2 3 4 5 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-124111@lists.php.net to get a copy of this message | ||
Hi
On 6/30/24 17:31, Rob Landers wrote:
- list() -- kindaThat is not a function.
- array_shift(), array_pop(), etc.These do not return by out-parameter. These return the value and modify the array by reference to remove the returned value.
- preg_match*()These only return supplementary data by an out-parameter. The main result ("does the RFC match") is returned regularly.
- all the sorts These do not return anything, they modify the array in-place, which is something different than returning something.Best regards Tim Düsterhus