Morning chaps,

        I want to create a pecl package for https://github.com/krakjoe/strict

        PHP7 might get strict scalar type hints before release, or it might
not.

        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.

        There is an RFC in progress for casting functions which shall be
imported into the extension for 5 series if the RFC passes for 7.

        If that RFC does not pass, I intend to introduce a strict_cast
function.

        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.

Cheers
Joe


-- 
PECL development discussion Mailing List (http://pecl.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to