Hi! > This extension introduces support for strict scalar parameter type > hints from 5.4 up to 7, if support is introduced in 7, I shall remove it > from the extension, thereby providing a good approximation of > compatibility.
I think this is a nice idea. If it catches on widely, we can bring it into core, if it finds limited appeal, it still would be there for those that need it. Thanks, Joe, for doing it! > The only real limitation of the extension is that you cannot use > default values in declarations, because the parser doesn't understand > Class $name = 1, for example. Does = null work? If it does, then it can be a viable workaround. Yes, a bit of boilerplate code would be required, but better than nothing. -- PECL development discussion Mailing List (http://pecl.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
