fix #6: compatibility with 8.2
[awesomized/ext-ion] / docs / v0.0 / ion / serialize.html
index 265ce7d13f08140ba146c4bf8043ca5121d4acdf..7fa7671118dfd368d32bae108bd57769a8805e9b 100644 (file)
@@ -7,13 +7,13 @@
                                                mdref
                </title>
                <meta name="viewport" content="width=1200, initial-scale=0.5">
-                                       <base href="/v0.0/">
-                       <meta http-equiv="Content-Location" content="/v0.0/ion/serialize">
+                                       <base href="/ext-ion/v0.0/">
+                       <meta http-equiv="Content-Location" content="/ext-ion/v0.0/ion/serialize">
                        <link rel="stylesheet" href="index.css">
                
                <link href="https://fonts.googleapis.com/css?family=Inconsolata&amp;subset=latin-ext" rel="stylesheet">
                <script src="//ajax.googleapis.com/ajax/libs/jquery/2.1.4/jquery.min.js"></script>
-               <link rel="shortcut icon" href="/v0.0/favicon.ico">
+               <link rel="shortcut icon" href="/ext-ion/v0.0/favicon.ico">
        </head>
        <body>
                <div class="page">
                                                                                                                                                                                                                                                                
                                                </ul>
                                                                                                                                                        
+                                               <li>&ldsh; <a href="./ion/: Contributing">★ Contributing</a></li>
+                                                                                                                                                       
+                                               <li>&ldsh; <a href="./ion/: Security">★ Security</a></li>
+                                                                                                                                                       
                                                <li>&ldsh; <a href="./ion/Catalog">Catalog</a></li>
                                                                                                                                                        
                                                <li>&ldsh; <a href="./ion/Decimal">Decimal</a></li>
                </li>
        </ul>
 </div>
-                                       
-<h1>string ion\serialize(mixed $data, [?ion\Serializer $serializer = NULL])</h1>
-<p>Serialize a PHP value as ION data.</p>
-<p>Serializes supported PHP values with the optionally provided \ion\Serializer:</p>
-<ul>
-<li>NULL</li>
-<li>bool</li>
-<li>int</li>
-<li>float</li>
-<li>string</li>
-<li>references</li>
-<li>arrays</li>
-<li>objects (incl. \Serializable, and classes implementing magic and custom __serialize)</li>
-</ul>
-<h2>Params:<a id="Params:" href="#Params:" class="permalink" aria-hidden="true" title="">#</a></h2>
-<ul>
-<li>mixed $data<br />
+                                       <meta charset="utf-8"><h1>
+<a class="permalink" href="ion/serialize#">#</a><code><a href="https://php.net/manual/en/language.types.string">string</a></code> <a href="ion/serialize">ion\serialize</a>(<code><a href="https://php.net/manual/en/language.types.declarations#language.types.declarations.mixed">mixed</a></code> <span class="var">$data</span>, [?<a href="ion/Serializer">ion\Serializer</a> <span class="var">$serializer</span> = <code><a href="https://php.net/manual/en/language.types.null">NULL</a></code>])</h1><p>Serialize a PHP value as ION data.</p><p>Serializes supported PHP values with the optionally provided <a href="ion/Serializer">\ion\Serializer:</a></p><ul>
+<li><code><a href="https://php.net/manual/en/language.types.null">NULL</a></code></li>
+<li><code><a href="https://php.net/manual/en/language.types.boolean">bool</a></code></li>
+<li><code><a href="https://php.net/manual/en/language.types.integer">int</a></code></li>
+<li><code><a href="https://php.net/manual/en/language.types.float">float</a></code></li>
+<li><code><a href="https://php.net/manual/en/language.types.string">string</a></code></li>
+<li><code><a href="https://php.net/manual/en/language.references">reference</a></code></li>
+<li><code><a href="https://php.net/manual/en/language.types.array">array</a></code></li>
+<li>object (incl. <code><a href="https://php.net/manual/en/class.serializable">\Serializable</a></code>, and classes implementing magic and custom __serialize)</li>
+</ul><h2 id="Params:">Params:<a class="permalink" href="ion/serialize#Params:">#</a>
+</h2><ul>
+<li>
+<code><a href="https://php.net/manual/en/language.types.declarations#language.types.declarations.mixed">mixed</a></code> <span class="var" id="$data">$data<a class="permalink" href="ion/serialize#%24data">#</a></span><br>
 PHP value(s).</li>
-<li>Optional ?ion\Serializer $serializer = NULL<br />
+<li>Optional ?<a href="ion/Serializer">ion\Serializer</a> <span class="var" id="$serializer">$serializer<a class="permalink" href="ion/serialize#%24serializer">#</a></span> = <code><a href="https://php.net/manual/en/language.types.null">NULL</a></code><br>
 Custom serializer.</li>
-</ul>
-<h2>Returns:<a id="Returns:" href="#Returns:" class="permalink" aria-hidden="true" title="">#</a></h2>
-<ul>
-<li>string, serialized ION data</li>
-</ul>
-
-
-
-               
+</ul><h2 id="Returns:">Returns:<a class="permalink" href="ion/serialize#Returns:">#</a>
+</h2><ul>
+<li>
+<code><a href="https://php.net/manual/en/language.types.string">string</a></code>, serialized ION data</li>
+</ul><h2 id="Throws:">Throws:<a class="permalink" href="ion/serialize#Throws:">#</a>
+</h2><ul>
+<li><a href="ion/Exception">\ion\Exception</a></li>
+</ul>          
                        <div id="disqus_thread"><button id="disqus_activator">Show <span> </span> Comment(s)</button></div>
                        <script>
                                var disqus_shortname = 'mdref';
@@ -111,7 +111,7 @@ Custom serializer.</li>
                        <footer>
                                
 <ul>
-       <li><a href="https://github.com/m6w6/mdref">mdref-v2.0
+       <li><a href="https://github.com/m6w6/mdref">mdref-v3.0
 </a></li>
        <li><a href="LICENSE">&copy; 2013-2022          All rights reserved.</a></li>
        <li>