<?php
include_once $_SERVER['DOCUMENT_ROOT'] . '/include/shared-manual.inc';
$TOC = array();
$TOC_DEPRECATED = array();
$PARENTS = array();
include_once dirname(__FILE__) ."/toc/ref.info.inc";
$setup = array (
  'home' => 
  array (
    0 => 'index.php',
    1 => 'PHP Manual',
  ),
  'head' => 
  array (
    0 => 'UTF-8',
    1 => 'uk',
  ),
  'this' => 
  array (
    0 => 'function.get-loaded-extensions.php',
    1 => 'get_loaded_extensions',
    2 => 'Повертає масив, що містить назви компільованих та підключених модулів',
  ),
  'up' => 
  array (
    0 => 'ref.info.php',
    1 => 'Функції налаштування та отримання інформації про PHP',
  ),
  'prev' => 
  array (
    0 => 'function.get-included-files.php',
    1 => 'get_included_files',
  ),
  'next' => 
  array (
    0 => 'function.get-magic-quotes-gpc.php',
    1 => 'get_magic_quotes_gpc',
  ),
  'alternatives' => 
  array (
  ),
  'source' => 
  array (
    'lang' => 'uk',
    'path' => 'reference/info/functions/get-loaded-extensions.xml',
  ),
  'history' => 
  array (
  ),
);
$setup["toc"] = $TOC;
$setup["toc_deprecated"] = $TOC_DEPRECATED;
$setup["parents"] = $PARENTS;
manual_setup($setup);

contributors($setup);

?>
<div id="function.get-loaded-extensions" class="refentry">
 <div class="refnamediv">
  <h1 class="refname">get_loaded_extensions</h1>
  <p class="verinfo">(PHP 4, PHP 5, PHP 7, PHP 8)</p><p class="refpurpose"><span class="refname">get_loaded_extensions</span> &mdash; <span class="dc-title">Повертає масив, що містить назви компільованих та підключених модулів</span></p>

 </div>
 
 <div class="refsect1 description" id="refsect1-function.get-loaded-extensions-description">
  <h3 class="title">Опис</h3>
  <div class="methodsynopsis dc-description">
   <span class="methodname"><strong>get_loaded_extensions</strong></span>(<span class="methodparam"><span class="type"><a href="language.types.boolean.php" class="type bool">bool</a></span> <code class="parameter">$zend_extensions</code><span class="initializer"> = <strong><code><a href="reserved.constants.php#constant.false">false</a></code></strong></span></span>): <span class="type"><a href="language.types.array.php" class="type array">array</a></span></div>

  <p class="para rdfs-comment">
   Ця функція повертає назви всіх компільованих та підключених модулів в
   інтерпретаторі PHP.
  </p>
 </div>


 <div class="refsect1 parameters" id="refsect1-function.get-loaded-extensions-parameters">
  <h3 class="title">Параметри</h3>
  <p class="para">
   <dl>
    
     <dt><code class="parameter">zend_extensions</code></dt>
     <dd>
      <p class="para">
       Повертає тільки розширення Zend, в противному разі - звичайні розширення,
       такі як mysqli. Початково <strong><code><a href="reserved.constants.php#constant.false">false</a></code></strong> (повертає звичайні розширення).
      </p>
     </dd>
    
   </dl>
  </p>
 </div>


 <div class="refsect1 returnvalues" id="refsect1-function.get-loaded-extensions-returnvalues">
  <h3 class="title">Значення, що повертаються</h3>
  <p class="para">
   Повертає індексований масив зі всіма назвами модулів.
  </p>
 </div>


 <div class="refsect1 changelog" id="refsect1-function.get-loaded-extensions-changelog">
  <h3 class="title">Журнал змін</h3>
  <p class="para">
   <table class="doctable informaltable">
    
     <thead>
      <tr>
       <th>Версія</th>
       <th>Опис</th>
      </tr>

     </thead>

     <tbody class="tbody">
      <tr>
       <td>5.2.4</td>
       <td>
        Було додано необов&#039;язковий параметр <code class="parameter">zend_extensions</code>
       </td>
      </tr>

     </tbody>
    
   </table>

  </p>
 </div>



 <div class="refsect1 examples" id="refsect1-function.get-loaded-extensions-examples">
  <h3 class="title">Приклади</h3>
  <p class="para">
   <div class="example" id="example-1">
    <p><strong>Приклад #1 Використання <span class="function"><strong>get_loaded_extensions()</strong></span></strong></p>
    <div class="example-contents">
<div class="phpcode"><code><span style="color: #000000"><span style="color: #0000BB">&lt;?php<br />print_r</span><span style="color: #007700">(</span><span style="color: #0000BB">get_loaded_extensions</span><span style="color: #007700">());<br /></span><span style="color: #0000BB">?&gt;</span></span></code></div>
    </div>

    <div class="example-contents"><p>Поданий вище приклад виведе щось
схоже на:</p></div>
    <div class="example-contents screen">
<div class="examplescode"><pre class="examplescode">Array
(
   [0] =&gt; xml
   [1] =&gt; wddx
   [2] =&gt; standard
   [3] =&gt; session
   [4] =&gt; posix
   [5] =&gt; pgsql
   [6] =&gt; pcre
   [7] =&gt; gd
   [8] =&gt; ftp
   [9] =&gt; db
   [10] =&gt; calendar
   [11] =&gt; bcmath
)</pre>
</div>
    </div>
   </div>
  </p>
 </div>


 <div class="refsect1 seealso" id="refsect1-function.get-loaded-extensions-seealso">
  <h3 class="title">Прогляньте також</h3>
  <p class="para">
   <ul class="simplelist">
    <li><span class="function"><a href="function.get-extension-funcs.php" class="function" rel="rdfs-seeAlso">get_extension_funcs()</a> - Returns an array with the names of the functions of a module</span></li>
    <li><span class="function"><a href="function.extension-loaded.php" class="function" rel="rdfs-seeAlso">extension_loaded()</a> - Визначає - чи розширення завантажено</span></li>
    <li><span class="function"><a href="function.dl.php" class="function" rel="rdfs-seeAlso">dl()</a> - Завантажує розширення PHP під час виконання</span></li>
    <li><span class="function"><a href="function.phpinfo.php" class="function" rel="rdfs-seeAlso">phpinfo()</a> - Виводить інформацію про конфігурацію PHP</span></li>
   </ul>
  </p>
 </div>


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