thecodingmachine / safe

All PHP functions, rewritten to throw exceptions instead of returning false
MIT License
2.36k stars 143 forks source link

add functions Safe\*val #427

Open frederic100 opened 1 year ago

frederic100 commented 1 year ago

[str|int|bool|float]val PHP functions generate phpstan errors (these errors appear at level 9 and are legitimate) (source: https://github.com/phpstan/phpstan/issues/9295 ).

Would it be interesting to add them to Safe ?