mirror of
https://github.com/php/php-src.git
synced 2026-04-24 16:38:25 +02:00
3012d006ff
Use value 0 instead. To compensate we check in ReflectionParameter allowsNull() whether the type is set at all: If it isn't, it always allows null. This removes a discrepancy between internal&userland functions: For userland functions allowsNull() on untyped parameters returned true, but for internal functions it returned false.