Edit
↰
Home
↑
ion
↑
Symbol
↻
Symbol::equals
↲
Enum
↲
ImportLocation
↲
PHP
↲
System
↲
Table
↲
Symbol::__construct
↲
Symbol::toString
#
bool
ion\Symbol::equals
(
ion\Symbol
$symbol
)
Compare two symbols for equality.
Two symbols are considered equal, if either:
both are the same object or
NULL
both values are
NULL
(unknown text), and both
$importLocations
match
both values match, regardless of
$sid
and
$importLocation
Params:
#
ion\Symbol
$symbol
#
Returns:
#
bool
, whether the two Symbols equal
Show Comments from Github Discussions