# Method equal()

Method equal

  `int equal(mixed a, mixed b)`

Description

  This function checks if the values a and b are equal.

  For all types but arrays, multisets and mappings, this operation is the same as doing `<font face='courier'>a` == <font face='courier'>b. For arrays, mappings and multisets however, their contents are checked recursively, and if all their contents are the same and in the same place, they are considered equal.

See also

  copy_value()