Scalar.php Interfaces, Classes and Traits Scalar Value Object representing the 'scalar' pseudo-type, which is either a string, integer, float or boolean.