calmohallag / nullable-casting
PHP支持通过使用“(类型)表达式”将表达式转换为基本类型(如int),但当前不允许使用PHP 7.1中引入的可空类型(例如?int)。此库提供扩展原生PHP转换功能的函数,添加了可空转换。
1.1
2020-12-27 16:54 UTC
Requires
- php: >=7.2
Requires (Dev)
- phpunit/phpunit: ^9.4
This package is auto-updated.
Last update: 2024-09-28 02:03:13 UTC