Solar_Filter_ValidateString::validateString()

public bool Solar_Filter_ValidateString::validateString ( mixed $value )

Validates that the value can be represented as a string.

Parameters

  • (mixed) $value: The value to validate.

Returns

  • (bool) True if valid, false if not.

Description

Validates that the value can be represented as a string.

Essentially, this means any scalar value is valid (no arrays, objects, resources, etc).



Local