Sophie

Sophie

distrib > Mageia > 4 > i586 > by-pkgid > f800694edefe91adea2624f711a41a2d > files > 11080

php-manual-en-5.5.7-1.mga4.noarch.rpm

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
 <head>
  <meta http-equiv="content-type" content="text/html; charset=UTF-8">
  <title>Runtime Configuration</title>

 </head>
 <body><div class="manualnavbar" style="text-align: center;">
 <div class="prev" style="text-align: left; float: left;"><a href="runkit.installation.html">Installation</a></div>
 <div class="next" style="text-align: right; float: right;"><a href="runkit.resources.html">Resource Types</a></div>
 <div class="up"><a href="runkit.setup.html">Installing/Configuring</a></div>
 <div class="home"><a href="index.html">PHP Manual</a></div>
</div><hr /><div id="runkit.configuration" class="section">
 <h2 class="title">Runtime Configuration</h2>
 <p class="simpara">
The behaviour of these functions is affected by settings in <var class="filename">php.ini</var>.
</p>
 <p class="para">
  <table class="doctable table">
   <caption><strong>Runkit Configuration Options</strong></caption>
   
    <thead>
     <tr>
      <th>Name</th>
      <th>Default</th>
      <th>Changeable</th>
      <th>Changelog</th>
     </tr>

    </thead>

    <tbody class="tbody">
     <tr>
      <td><a href="runkit.configuration.html#ini.runkit.superglobal" class="link">runkit.superglobal</a></td>
      <td>&quot;&quot;</td>
      <td>PHP_INI_PERDIR</td>
      <td class="empty">&nbsp;</td>
     </tr>

     <tr>
      <td><a href="runkit.configuration.html#ini.runkit.internal-override" class="link">runkit.internal_override</a></td>
      <td>&quot;0&quot;</td>
      <td>PHP_INI_SYSTEM</td>
      <td class="empty">&nbsp;</td>
     </tr>

    </tbody>
   
  </table>

  For further details and definitions of the
PHP_INI_* modes, see the <a href="configuration.changes.modes.html" class="xref">Where a configuration setting may be set</a>.
</p>

<p class="para">Here&#039;s a short explanation of
the configuration directives.</p>

<p class="para">
 <dl>

  <dt id="ini.runkit.superglobal">
   <span class="term">
    <em><code class="parameter">runkit.superglobal</code></em>
    <span class="type"><a href="language.types.string.html" class="type string">string</a></span>
   </span>
   <dd>

    <span class="simpara">
     Comma-separated list of variable names to be treated as superglobals.
     This value should be set in the systemwide php.ini file, but may work
     in perdir configuration contexts depending on your SAPI.
    </span>
    <div class="example" id="example-527">
     <p><strong>Example #1 Custom Superglobals with runkit.superglobal=_FOO,_BAR in php.ini</strong></p>
     <div class="example-contents">
<div class="phpcode"><code><span style="color: #000000">
<span style="color: #0000BB">&lt;?php<br /></span><span style="color: #007700">function&nbsp;</span><span style="color: #0000BB">show_values</span><span style="color: #007700">()&nbsp;{<br />&nbsp;&nbsp;echo&nbsp;</span><span style="color: #DD0000">"Foo&nbsp;is&nbsp;</span><span style="color: #0000BB">$_FOO</span><span style="color: #DD0000">\n"</span><span style="color: #007700">;<br />&nbsp;&nbsp;echo&nbsp;</span><span style="color: #DD0000">"Bar&nbsp;is&nbsp;</span><span style="color: #0000BB">$_BAR</span><span style="color: #DD0000">\n"</span><span style="color: #007700">;<br />&nbsp;&nbsp;echo&nbsp;</span><span style="color: #DD0000">"Baz&nbsp;is&nbsp;</span><span style="color: #0000BB">$_BAZ</span><span style="color: #DD0000">\n"</span><span style="color: #007700">;<br />}<br /><br /></span><span style="color: #0000BB">$_FOO&nbsp;</span><span style="color: #007700">=&nbsp;</span><span style="color: #DD0000">'foo'</span><span style="color: #007700">;<br /></span><span style="color: #0000BB">$_BAR&nbsp;</span><span style="color: #007700">=&nbsp;</span><span style="color: #DD0000">'bar'</span><span style="color: #007700">;<br /></span><span style="color: #0000BB">$_BAZ&nbsp;</span><span style="color: #007700">=&nbsp;</span><span style="color: #DD0000">'baz'</span><span style="color: #007700">;<br /><br /></span><span style="color: #FF8000">/*&nbsp;Displays&nbsp;foo&nbsp;and&nbsp;bar,&nbsp;but&nbsp;not&nbsp;baz&nbsp;*/<br /></span><span style="color: #0000BB">show_values</span><span style="color: #007700">();<br /></span><span style="color: #0000BB">?&gt;</span>
</span>
</code></div>
     </div>

    </div>
   </dd>

  </dt>

  
  <dt id="ini.runkit.internal-override">
   <span class="term">
    <em><code class="parameter">runkit.internal_override</code></em>
    <span class="type"><a href="language.types.boolean.html" class="type boolean">boolean</a></span>
   </span>
   <dd>

    <span class="simpara">
     Enables ability to modify/rename/remove internal functions.
    </span>
   </dd>

  </dt>

  
 </dl>

 </p>
</div><hr /><div class="manualnavbar" style="text-align: center;">
 <div class="prev" style="text-align: left; float: left;"><a href="runkit.installation.html">Installation</a></div>
 <div class="next" style="text-align: right; float: right;"><a href="runkit.resources.html">Resource Types</a></div>
 <div class="up"><a href="runkit.setup.html">Installing/Configuring</a></div>
 <div class="home"><a href="index.html">PHP Manual</a></div>
</div></body></html>