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?

declare(strict_types=1) namespace Foo;

namespace Bar; declare(strict_types=1)

strict namespace Baz;

Really good proposal though. Really hope it passes vote and we finally get 
scalar type hints in PHP.

Cheers,

Chris
--
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to