Re: [RFC] Namespace-scoped declares

From: Date: Fri, 23 Sep 2016 21:31:10 +0000
Subject: Re: [RFC] Namespace-scoped declares
References: 1  Groups: php.internals 
Request: Send a blank email to internals+get-96120@lists.php.net to get a copy of this message
From the RFC: > it might be beneficial to add a supports_declare() function, which allows you to determine > whether a certain declare directive is supported, without resorting to a PHP version check Even if we don't have any directives that need to be checked yet, I think that would be a good thing to have. It will allow people who wish to experiment with new features to do so more easily, which will make it easier to evolve the language, without core PHP needing to be aware of all the directives. cheers Dan

« previous php.internals (#96120) next »