Am 02.01.2018 um 14:37 schrieb Chris Riley:
> How useful is "scalar" as a type hint? I'm not sure it provides any benefit
> over "mixed".

scalar has the benefit of exluding arrays, objects, and resources.

-- 
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to