9 <meta property=
"og:title" content=
"ion\Symbol::equals">
10 <meta name=
"viewport" content=
"width=1200, initial-scale=0.5">
11 <base href=
"/ext-ion/v0.2/">
12 <meta http-equiv=
"Content-Location" content=
"/ext-ion/v0.2/ion/Symbol/equals">
13 <link rel=
"stylesheet" href=
"index.css">
15 <link rel=
"shortcut icon" href=
"/ext-ion/v0.2/favicon.ico">
23 <a href=
"https://github.com/awesomized/ext-ion/edit/master/ion.stub.php">Edit
</a>
28 <li>↰ <a href=
"./">Home
</a>
33 ↑ <a href=
"./ion">
39 ↑ <a href=
"./ion/Symbol">
45 ↻ <strong><a href=
"./ion/Symbol/equals">Symbol::equals
</a></strong>
51 <li>↲ <a href=
"./ion/Symbol/Enum">Enum
</a></li>
53 <li>↲ <a href=
"./ion/Symbol/ImportLocation">ImportLocation
</a></li>
55 <li>↲ <a href=
"./ion/Symbol/PHP">PHP
</a></li>
57 <li>↲ <a href=
"./ion/Symbol/System">System
</a></li>
59 <li>↲ <a href=
"./ion/Symbol/Table">Table
</a></li>
61 <li>↲ <a href=
"./ion/Symbol/__construct">Symbol::__construct
</a></li>
63 <li>↲ <a href=
"./ion/Symbol/toString">Symbol::toString
</a></li>
73 <meta charset=
"utf-8"><h1>
74 <a class=
"permalink" href=
"ion/Symbol/equals#">#
</a><code><a href=
"https://php.net/manual/en/language.types.boolean">bool
</a></code> <a href=
"ion/Symbol/equals">ion\Symbol::equals
</a>(
<a href=
"ion/Symbol">ion\Symbol
</a> <span class=
"var">$symbol
</span>)
</h1><p>Compare two symbols for equality.
</p><p>Two symbols are considered equal, if either:
</p><ul>
75 <li>both are the same object or
<code><a href=
"https://php.net/manual/en/language.types.null">NULL
</a></code>
77 <li>both values are
<code><a href=
"https://php.net/manual/en/language.types.null">NULL
</a></code> (unknown text), and both
<span class=
"var">$importLocations
</span> match
</li>
78 <li>both values match, regardless of
<span class=
"var">$sid
</span> and
<span class=
"var">$importLocation
</span>
80 </ul><h2 id=
"Params:">Params:
<a class=
"permalink" href=
"ion/Symbol/equals#Params:">#
</a>
83 <a href=
"ion/Symbol">ion\Symbol
</a> <span class=
"var" id=
"$symbol">$symbol
<a class=
"permalink" href=
"ion/Symbol/equals#%24symbol">#
</a></span>
85 </ul><h2 id=
"Returns:">Returns:
<a class=
"permalink" href=
"ion/Symbol/equals#Returns:">#
</a>
88 <code><a href=
"https://php.net/manual/en/language.types.boolean">bool
</a></code>, whether the two Symbols equal
</li>
90 <div class=
"comments">
91 <style>.giscus-frame {min-height:
16em;}
</style>
93 function giscus_load(button) {
94 let script = document.createElement(
"script");
95 script.setAttribute(
"data-repo", 'awesomized/ext-ion');
96 script.setAttribute(
"data-category", 'Comments on Docs');
97 script.setAttribute(
"data-repo-id", 'R_kgDOGfXEXw');
98 script.setAttribute(
"data-category-id", 'DIC_kwDOGfXEX84CBHuf');
99 script.setAttribute(
"data-mapping", 'og:title');
100 script.setAttribute(
"data-input-position", 'bottom');
101 script.setAttribute(
"data-reactions-enabled", false);
102 script.setAttribute(
"data-theme", 'light');
103 script.setAttribute(
"data-lang", 'en');
105 script.src =
"//giscus.app/client.js";
106 button.parentNode.replaceChild(script, button);
109 <button class=
"activator" onclick=
"giscus_load(this)">Show Comments from Github Discussions
</button>
116 <li><a href=
"https://github.com/m6w6/mdref">mdref-v3.0
118 <li><a href=
"LICENSE">© 2013-
2022 All rights reserved.
</a></li>
125 <script src=
"index.js" defer
></script>