It matches if the $operand equals the value of the property named
$propertyName. If $operand is NULL a strict check for NULL is done. For
strings the comparison can be done with or without case-sensitivity.
public equals ( string $propertyName, mixed $operand, boolean $caseSensitive = true ) : object | ||
$propertyName | string | The name of the property to compare against |
$operand | mixed | The value to compare with |
$caseSensitive | boolean | Whether the equality test should be done case-sensitive for strings |
Результат | object |