Re: Typed properties problems
| From: | Stanislav Malyshev | Date: | Tue, 17 Jan 2017 21:52:20 +0000 |
| Subject: | Re: Typed properties problems | ||
| References: | 1 2 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-97837@lists.php.net to get a copy of this message | ||
Hi!
> That's pretty messed-up right there. At least in the object cases there's
> an E_WARNING "Creating default object from empty value" - with the array
> case, nothing, it just converts your boolean into an array. Yiiiiikes.
You told PHP you want an array, you get an array.
--
Stas Malyshev
smalyshev@gmail.com