calmohallag/nullable-casting

PHP supports expression casting to primitive type (like int) by using “( type ) expression”, but it currently doesn't allow to use a nullable type as introduced by PHP 7.1 (e.g. ?int). This library provide functions that extend native php casting, adding nullable casting.

Installs: 11 115

Dependents: 0

Suggesters: 0

Security: 0

Stars: 1

Watchers: 1

Forks: 0

Open Issues: 0

pkg:composer/calmohallag/nullable-casting

1.1 2020-12-27 16:54 UTC

This package is auto-updated.

Last update: 2025-10-28 04:35:50 UTC