<?php
include_once $_SERVER['DOCUMENT_ROOT'] . '/include/shared-manual.inc';
$TOC = array();
$TOC_DEPRECATED = array();
$PARENTS = array();
include_once dirname(__FILE__) ."/toc/class.luasandbox.inc";
$setup = array (
  'home' => 
  array (
    0 => 'index.php',
    1 => 'PHP Manual',
  ),
  'head' => 
  array (
    0 => 'UTF-8',
    1 => 'uk',
  ),
  'this' => 
  array (
    0 => 'luasandbox.getversioninfo.php',
    1 => 'LuaSandbox::getVersionInfo',
    2 => 'Return the versions of LuaSandbox and Lua',
  ),
  'up' => 
  array (
    0 => 'class.luasandbox.php',
    1 => 'LuaSandbox',
  ),
  'prev' => 
  array (
    0 => 'luasandbox.getprofilerfunctionreport.php',
    1 => 'LuaSandbox::getProfilerFunctionReport',
  ),
  'next' => 
  array (
    0 => 'luasandbox.loadbinary.php',
    1 => 'LuaSandbox::loadBinary',
  ),
  'alternatives' => 
  array (
  ),
  'source' => 
  array (
    'lang' => 'en',
    'path' => 'reference/luasandbox/luasandbox/getversioninfo.xml',
  ),
  'history' => 
  array (
  ),
);
$setup["toc"] = $TOC;
$setup["toc_deprecated"] = $TOC_DEPRECATED;
$setup["parents"] = $PARENTS;
manual_setup($setup);

contributors($setup);

?>
<div id="luasandbox.getversioninfo" class="refentry">
 <div class="refnamediv">
  <h1 class="refname">LuaSandbox::getVersionInfo</h1>
  <p class="verinfo">(PECL luasandbox &gt;= 1.6.0)</p><p class="refpurpose"><span class="refname">LuaSandbox::getVersionInfo</span> &mdash; <span class="dc-title">Return the versions of LuaSandbox and Lua</span></p>

 </div>

 <div class="refsect1 description" id="refsect1-luasandbox.getversioninfo-description">
  <h3 class="title">Опис</h3>
  <div class="methodsynopsis dc-description">
   <span class="modifier">public</span> <span class="modifier">static</span> <span class="methodname"><strong>LuaSandbox::getVersionInfo</strong></span>(): <span class="type"><a href="language.types.array.php" class="type array">array</a></span></div>

  <p class="para rdfs-comment">
   Returns the versions of LuaSandbox and Lua.
  </p>

 </div>


 <div class="refsect1 parameters" id="refsect1-luasandbox.getversioninfo-parameters">
  <h3 class="title">Параметри</h3>
  <p class="para">У цієї функції немає
параметрів.</p>
 </div>


 <div class="refsect1 returnvalues" id="refsect1-luasandbox.getversioninfo-returnvalues">
  <h3 class="title">Значення, що повертаються</h3>
  <p class="para">
   Returns an array with two keys:
  </p>
  <p class="para">
   <table class="doctable informaltable">
    
     <thead>
      <tr><th>element</th><th>type</th><th>description</th></tr>

     </thead>

     <tbody class="tbody">
      <tr>
       <td>LuaSandbox</td>
       <td><span class="type"><a href="language.types.string.php" class="type string">string</a></span></td>
       <td>The version of the LuaSandbox extension.</td>
      </tr>

      <tr>
       <td>Lua</td>
       <td><span class="type"><a href="language.types.string.php" class="type string">string</a></span></td>
       <td>The library name and version as defined by the LUA_RELEASE macro, for example, &quot;Lua 5.1.5&quot;.</td>
      </tr>

     </tbody>
    
   </table>

  </p>
 </div>


</div><?php manual_footer($setup); ?>