Re: [RFC] Enum proposal (yet another)
| From: | Ángel González | Date: | Mon, 27 Feb 2012 16:13:12 +0000 |
| Subject: | Re: [RFC] Enum proposal (yet another) | ||
| References: | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-58144@lists.php.net to get a copy of this message | ||
On 27/02/12 01:33, Kris Craig wrote:
> Exactly, hence why I'm still on the fence with that. I was hoping for some
> further discussion though to see if anyone can think of a way around that,
> though admittedly nothing comes to my mind.
>
> --Kris
That's why I mentioned the possibility of having such option per file.
declare(stricttypes=1) {
// Code here
}
Or just
declare(stricttypes=1);
to apply to the whole file