9 <meta property=
"og:title" content=
"ion\Symbol::__construct">
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/__construct">
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 ↑ <a href=
"./ion/Symbol">
45 ↻ <strong><a href=
"./ion/Symbol/__construct">Symbol::__construct
</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/equals">Symbol::equals
</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/__construct#">#
</a><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>]]])
</h1><p>Create an ION symbol.
</p><h2 id=
"Params:">Params:
<a class=
"permalink" href=
"ion/Symbol/__construct#Params:">#
</a>
76 <li>Optional ?
<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/__construct#%24value">#
</a></span> =
<code><a href=
"https://php.net/manual/en/language.types.null">NULL
</a></code><br>
77 The symbol's text representation.
</li>
78 <li>Optional
<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/__construct#%24sid">#
</a></span> = -
1<br>
79 The symbols ID, referencing its location within a shared symbol table.
</li>
80 <li>Optional ?
<a href=
"ion/Symbol/ImportLocation">ion\Symbol\ImportLocation
</a> <span class=
"var" id=
"$importLocation">$importLocation
<a class=
"permalink" href=
"ion/Symbol/__construct#%24importLocation">#
</a></span> =
<code><a href=
"https://php.net/manual/en/language.types.null">NULL
</a></code><br>
81 The import location referencing a shared symbol table.
</li>
83 <div class=
"comments">
84 <style>.giscus-frame {min-height:
16em;}
</style>
86 function giscus_load(button) {
87 let script = document.createElement(
"script");
88 script.setAttribute(
"data-repo", 'awesomized/ext-ion');
89 script.setAttribute(
"data-category", 'Comments on Docs');
90 script.setAttribute(
"data-repo-id", 'R_kgDOGfXEXw');
91 script.setAttribute(
"data-category-id", 'DIC_kwDOGfXEX84CBHuf');
92 script.setAttribute(
"data-mapping", 'og:title');
93 script.setAttribute(
"data-input-position", 'bottom');
94 script.setAttribute(
"data-reactions-enabled", false);
95 script.setAttribute(
"data-theme", 'light');
96 script.setAttribute(
"data-lang", 'en');
98 script.src =
"//giscus.app/client.js";
99 button.parentNode.replaceChild(script, button);
102 <button class=
"activator" onclick=
"giscus_load(this)">Show Comments from Github Discussions
</button>
109 <li><a href=
"https://github.com/m6w6/mdref">mdref-v3.0
111 <li><a href=
"LICENSE">© 2013-
2022 All rights reserved.
</a></li>
118 <script src=
"index.js" defer
></script>