title: PHP 7: use both strict and non-strict type hinting?
body: <p>So PHP 7 has scalar type hinting now (w00t!), and you can have the type hints be strict or non-strict depending on a setting in PHP. Laracasts set this using define, IIRC.</p>
  
  <p>Is there a way to have strict type hinting on scalars in one file (like a math library) while at the same time using non-strict elsewhere WITHOUT just arbitrarily changing settings in your code?</p>
  
  <p>I'd like to avoid introducing bugs by not fidgeting with the language settings, but I like this idea.</p>