9 <meta property=
"og:title" content=
"ion\Symbol">
10 <meta name=
"viewport" content=
"width=1200, initial-scale=0.5">
11 <base href=
"/ext-ion/v0.1/">
12 <meta http-equiv=
"Content-Location" content=
"/ext-ion/v0.1/ion/Symbol">
13 <link rel=
"stylesheet" href=
"index.css">
15 <link rel=
"shortcut icon" href=
"/ext-ion/v0.1/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 ↻ <strong><a href=
"./ion/Symbol">Symbol
</a></strong>
45 ↳ <a href=
"./ion/Symbol/Enum">Enum
</a>
50 ↳ <a href=
"./ion/Symbol/ImportLocation">ImportLocation
</a>
55 ↳ <a href=
"./ion/Symbol/PHP">PHP
</a>
60 ↳ <a href=
"./ion/Symbol/System">System
</a>
65 ↳ <a href=
"./ion/Symbol/Table">Table
</a>
69 <li>↳ <a href=
"./ion/Symbol/Table/Local">Local
</a>
72 <li>↳ <a href=
"./ion/Symbol/Table/Shared">Shared
</a>
80 ↳ <a href=
"./ion/Symbol/__construct">Symbol::__construct
</a>
85 ↳ <a href=
"./ion/Symbol/equals">Symbol::equals
</a>
90 ↳ <a href=
"./ion/Symbol/toString">Symbol::toString
</a>
99 <li>↲ <a href=
"./ion/: Contributing">★ Contributing
</a></li>
101 <li>↲ <a href=
"./ion/: Security">★ Security
</a></li>
103 <li>↲ <a href=
"./ion/: Tutorial">★ Tutorial
</a></li>
105 <li>↲ <a href=
"./ion/Catalog">Catalog
</a></li>
107 <li>↲ <a href=
"./ion/Decimal">Decimal
</a></li>
109 <li>↲ <a href=
"./ion/Exception">Exception
</a></li>
111 <li>↲ <a href=
"./ion/LOB">LOB
</a></li>
113 <li>↲ <a href=
"./ion/Reader">Reader
</a></li>
115 <li>↲ <a href=
"./ion/Serializer">Serializer
</a></li>
117 <li>↲ <a href=
"./ion/Timestamp">Timestamp
</a></li>
119 <li>↲ <a href=
"./ion/Type">Type
</a></li>
121 <li>↲ <a href=
"./ion/Unserializer">Unserializer
</a></li>
123 <li>↲ <a href=
"./ion/Writer">Writer
</a></li>
125 <li>↲ <a href=
"./ion/serialize">serialize
</a></li>
127 <li>↲ <a href=
"./ion/unserialize">unserialize
</a></li>
135 <meta charset=
"utf-8"><h1>
136 <a class=
"permalink" href=
"ion/Symbol#">#
</a><em>class
</em> <a href=
"ion/Symbol">ion\Symbol
</a> <br> <em>implements
</em> <code><a href=
"https://php.net/manual/en/class.stringable">Stringable
</a></code>
137 </h1><p>See also
<a href=
"https://amzn.github.io/ion-docs/docs/spec.html#symbol">ION spec's symbol definition
</a>, and
<a href=
"https://amzn.github.io/ion-docs/guides/symbols-guide.html">ION spec's symbol guide
</a>.
</p><h2 id=
"Constants:">Constants:
<a class=
"permalink" href=
"ion/Symbol#Constants:">#
</a>
138 </h2><p>None.
</p><h2 id=
"Properties:">Properties:
<a class=
"permalink" href=
"ion/Symbol#Properties:">#
</a>
141 <em>public
</em> ?
<code><a href=
"https://php.net/manual/en/language.types.string">string
</a></code> <span class=
"var" id=
"$value">$value
<a class=
"permalink" href=
"ion/Symbol#%24value">#
</a></span> =
<code><a href=
"https://php.net/manual/en/language.types.null">NULL
</a></code><br>
142 The symbol's text representation.
</li>
144 <em>public
</em> <code><a href=
"https://php.net/manual/en/language.types.integer">int
</a></code> <span class=
"var" id=
"$sid">$sid
<a class=
"permalink" href=
"ion/Symbol#%24sid">#
</a></span> = -
1<br>
145 The symbols
<span class=
"constant">ID
</span>, referencing its location within a shared symbol table.
</li>
147 <em>public
</em> ?
<a href=
"ion/Symbol/ImportLocation">ion\Symbol\ImportLocation
</a> <span class=
"var" id=
"$importLocation">$importLocation
<a class=
"permalink" href=
"ion/Symbol#%24importLocation">#
</a></span> =
<code><a href=
"https://php.net/manual/en/language.types.null">NULL
</a></code><br>
148 The import location referencing a shared symbol table.
</li>
149 </ul><h2 id=
"Functions:">Functions:
<a class=
"permalink" href=
"ion/Symbol#Functions:">#
</a>
150 </h2><ul class=
"sub-entries sub-functions">
153 <h3 id=
"Symbol::__construct">
154 <a href=
"ion/Symbol/__construct">Symbol::__construct
</a><a class=
"permalink" href=
"ion/Symbol#Symbol::__construct">#
</a>
156 <p>Create an ION symbol.
</p>
158 <p><code><a href=
"https://php.net/manual/en/language.types.declarations#language.types.declarations.void">void
</a></code> <a href=
"ion/Symbol/__construct">ion\Symbol::__construct
</a>([?
<code><a href=
"https://php.net/manual/en/language.types.string">string
</a></code> <span class=
"var">$value
</span> =
<code><a href=
"https://php.net/manual/en/language.types.null">NULL
</a></code>, [
<code><a href=
"https://php.net/manual/en/language.types.integer">int
</a></code> <span class=
"var">$sid
</span> = -
1, [?
<a href=
"ion/Symbol/ImportLocation">ion\Symbol\ImportLocation
</a> <span class=
"var">$importLocation
</span> =
<code><a href=
"https://php.net/manual/en/language.types.null">NULL
</a></code>]]])
</p>
162 <h3 id=
"Symbol::equals">
163 <a href=
"ion/Symbol/equals">Symbol::equals
</a><a class=
"permalink" href=
"ion/Symbol#Symbol::equals">#
</a>
165 <p>Compare two symbols for equality.
</p>
167 <p><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>)
</p>
171 <h3 id=
"Symbol::toString">
172 <a href=
"ion/Symbol/toString">Symbol::toString
</a><a class=
"permalink" href=
"ion/Symbol#Symbol::toString">#
</a>
175 <p><code><a href=
"https://php.net/manual/en/language.types.string">string
</a></code> <a href=
"ion/Symbol/toString">ion\Symbol::toString
</a>()
</p>
178 </ul><h2 id=
"Namespaces.Interfaces.and.Classes:">Namespaces, Interfaces and Classes:
<a class=
"permalink" href=
"ion/Symbol#Namespaces.Interfaces.and.Classes:">#
</a>
179 </h2><ul class=
"sub-entries sub-ns-classes">
183 <a href=
"ion/Symbol/Enum">Enum
</a><a class=
"permalink" href=
"ion/Symbol#Enum">#
</a>
185 <p>Base
<em>interface
</em> of built-in shared symbol tables.
</p>
187 <p><em>interface
</em> <a href=
"ion/Symbol/Enum">ion\Symbol\Enum
</a></p>
191 <h3 id=
"ImportLocation">
192 <a href=
"ion/Symbol/ImportLocation">ImportLocation
</a><a class=
"permalink" href=
"ion/Symbol#ImportLocation">#
</a>
194 <p>The import location (referring to a shared table) of a symbol.
</p>
196 <p><em>class
</em> <a href=
"ion/Symbol/ImportLocation">ion\Symbol\ImportLocation
</a></p>
201 <a href=
"ion/Symbol/PHP">PHP
</a><a class=
"permalink" href=
"ion/Symbol#PHP">#
</a>
203 <p>The built-in PHP symbols.
</p>
205 <p><code><a href=
"https://php.net/manual/en/language.types.enumerations">enum
</a></code> <a href=
"ion/Symbol/PHP">ion\Symbol\PHP
</a> <em>implements
</em> <code><a href=
"https://php.net/manual/en/class.backedenum">BackedEnum
</a></code>,
<a href=
"ion/Symbol/Enum">ion\Symbol\Enum
</a></p>
210 <a href=
"ion/Symbol/System">System
</a><a class=
"permalink" href=
"ion/Symbol#System">#
</a>
212 <p>The built-in ION system symbols.
</p>
214 <p><code><a href=
"https://php.net/manual/en/language.types.enumerations">enum
</a></code> <a href=
"ion/Symbol/System">ion\Symbol\System
</a> <em>implements
</em> <code><a href=
"https://php.net/manual/en/class.backedenum">BackedEnum
</a></code>,
<a href=
"ion/Symbol/Enum">ion\Symbol\Enum
</a></p>
219 <a href=
"ion/Symbol/Table">Table
</a><a class=
"permalink" href=
"ion/Symbol#Table">#
</a>
221 <p>Base
<em>interface
</em> of an ION symbol table.
</p>
223 <p><em>interface
</em> <a href=
"ion/Symbol/Table">ion\Symbol\Table
</a></p>
227 <div class=
"comments">
228 <style>.giscus-frame {min-height:
16em;}
</style>
230 function giscus_load(button) {
231 let script = document.createElement(
"script");
232 script.setAttribute(
"data-repo", 'awesomized/ext-ion');
233 script.setAttribute(
"data-category", 'Comments on Docs');
234 script.setAttribute(
"data-repo-id", 'R_kgDOGfXEXw');
235 script.setAttribute(
"data-category-id", 'DIC_kwDOGfXEX84CBHuf');
236 script.setAttribute(
"data-mapping", 'og:title');
237 script.setAttribute(
"data-input-position", 'bottom');
238 script.setAttribute(
"data-reactions-enabled", false);
239 script.setAttribute(
"data-theme", 'light');
240 script.setAttribute(
"data-lang", 'en');
242 script.src =
"//giscus.app/client.js";
243 button.parentNode.replaceChild(script, button);
246 <button class=
"activator" onclick=
"giscus_load(this)">Show Comments from Github Discussions
</button>
253 <li><a href=
"https://github.com/m6w6/mdref">mdref-v3.0
255 <li><a href=
"LICENSE">© 2013-
2022 All rights reserved.
</a></li>
262 <script src=
"index.js" defer
></script>