[php-src] PR #13166: Fix range inference since "proper-range-semantics" RFC
| From: | iluuu1994 | Date: | Tue, 16 Jan 2024 19:14:44 +0000 |
| Subject: | [php-src] PR #13166: Fix range inference since "proper-range-semantics" RFC | ||
| Groups: | php.git-pulls | ||
| Request: | Send a blank email to git-pulls+get-24792@lists.php.net to get a copy of this message | ||
Pull Request: https://github.com/php/php-src/pull/13166
Author: iluuu1994
* Arrays returned from range are never empty
* When step is a double value representable by a long, it is coerced implicitly. As such, passing a
double step no longer guarantees that the result is a non-int array.
@Girgias Please verify that my assumptions are correct.