<?php
include_once $_SERVER['DOCUMENT_ROOT'] . '/include/shared-manual.inc';
$TOC = array();
$TOC_DEPRECATED = array();
$PARENTS = array();
include_once dirname(__FILE__) ."/toc/class.rarexception.inc";
$setup = array (
  'home' => 
  array (
    0 => 'index.php',
    1 => 'PHP Manual',
  ),
  'head' => 
  array (
    0 => 'UTF-8',
    1 => 'tr',
  ),
  'this' => 
  array (
    0 => 'rarexception.isusingexceptions.php',
    1 => 'RarException::isUsingExceptions',
    2 => 'Check whether error handling with exceptions is in use',
  ),
  'up' => 
  array (
    0 => 'class.rarexception.php',
    1 => 'RarException',
  ),
  'prev' => 
  array (
    0 => 'class.rarexception.php',
    1 => 'RarException',
  ),
  'next' => 
  array (
    0 => 'rarexception.setusingexceptions.php',
    1 => 'RarException::setUsingExceptions',
  ),
  'alternatives' => 
  array (
  ),
  'source' => 
  array (
    'lang' => 'en',
    'path' => 'reference/rar/rarexception/isusingexceptions.xml',
  ),
  'history' => 
  array (
  ),
);
$setup["toc"] = $TOC;
$setup["toc_deprecated"] = $TOC_DEPRECATED;
$setup["parents"] = $PARENTS;
manual_setup($setup);

contributors($setup);

?>
<div id="rarexception.isusingexceptions" class="refentry">
 <div class="refnamediv">
  <h1 class="refname">RarException::isUsingExceptions</h1>
  <p class="verinfo">(PECL rar &gt;= 2.0.0)</p><p class="refpurpose"><span class="refname">RarException::isUsingExceptions</span> &mdash; <span class="dc-title">Check whether error handling with exceptions is in use</span></p>

 </div>

 <div class="refsect1 description" id="refsect1-rarexception.isusingexceptions-description">
  <h3 class="title">Açıklama</h3>
  <div class="methodsynopsis dc-description">
   <span class="modifier">public</span> <span class="modifier">static</span> <span class="methodname"><strong>RarException::isUsingExceptions</strong></span>(): <span class="type"><a href="language.types.boolean.php" class="type bool">bool</a></span></div>

  <p class="simpara">
   Checks whether the RAR functions will emit warnings and return error values or whether they
   will throw exceptions in most of the circumstances (does not include some programmatic
   errors such as passing the wrong type of arguments).
  </p>
 </div>


 <div class="refsect1 parameters" id="refsect1-rarexception.isusingexceptions-parameters">
  <h3 class="title">Bağımsız Değişkenler</h3>
  <p class="para">Bu işlevin bağımsız değişkeni yoktur.</p>
 </div>


 <div class="refsect1 returnvalues" id="refsect1-rarexception.isusingexceptions-returnvalues">
  <h3 class="title">Dönen Değerler</h3>
  <p class="simpara">
   Returns <strong><code><a href="reserved.constants.php#constant.true">true</a></code></strong> if exceptions are being used, <strong><code><a href="reserved.constants.php#constant.false">false</a></code></strong> otherwise.
  </p>
 </div>


 <div class="refsect1 examples" id="refsect1-rarexception.isusingexceptions-examples">
  <h3 class="title">Örnekler</h3>
  <div class="example" id="example-1">
   <p><strong>Örnek 1 <span class="function"><strong>RarException::isUsingExceptions()</strong></span> example</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: #FF8000">//The default is not to use exceptions<br /></span><span style="color: #0000BB">var_dump</span><span style="color: #007700">(</span><span style="color: #0000BB">RarException</span><span style="color: #007700">::</span><span style="color: #0000BB">isUsingExceptions</span><span style="color: #007700">());<br /></span><span style="color: #0000BB">?&gt;</span></span></code></div>
   </div>

   <div class="example-contents"><p>
Yukarıdaki örnek şuna benzer bir çıktı üretir:</p></div>
   <div class="example-contents screen">
<div class="examplescode"><pre class="examplescode">bool(false)</pre>
</div>
   </div>
  </div>
 </div>



 <div class="refsect1 seealso" id="refsect1-rarexception.isusingexceptions-seealso">
  <h3 class="title">Ayrıca Bakınız</h3>
  <ul class="simplelist">
   <li><span class="methodname"><a href="rarexception.setusingexceptions.php" class="methodname" rel="rdfs-seeAlso">RarException::setUsingExceptions()</a> - Activate and deactivate error handling with exceptions</span></li>
  </ul>
 </div>


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