Re: [PHP-DEV] [RFC][Accepted] Scalar Type Declarations V0.5

2015-03-16 Thread Chris Harvey
Congratulations Anthony, and to Andrea for her initial proposal. Finally, we have scalar type hints in PHP. PHP 7 is going to be a real game changer! Chris > On 16 Mar 2015, at 9:03 pm, Anthony Ferrara wrote: > > All, > > Voting has been closed on the scalar type declarations v0.5 RFC: > >

Re: [PHP-DEV] [RFC-Discuss] Scalar Type Declarations v0.5

2015-02-20 Thread Chris Harvey
Hi Anthony, I have been interested in this proposal for a while now. I'm not on internals, but I have a question about your proposal. > 1. declare(strict_types=1) (if used) is required to be the first > instruction in the file only. No other usages allowed. How would this work with namespaces?