Re: RFC: Add `final class Vector` to PHP
| From: | Levi Morrison via internals | Date: | Fri, 17 Sep 2021 13:55:30 +0000 |
| Subject: | Re: RFC: Add `final class Vector` to PHP | ||
| References: | 1 2 3 4 5 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-116074@lists.php.net to get a copy of this message | ||
> I'd considered using a signature of
setSize(int $size, mixed $value =
> null) to allow using something other than null
> but decided to leave that to a followup proposal if it passed.
Rust and C++ both accept a value to pad, there's no reason to restrict
this to only null. Go ahead and make the change now.