<?xml version="1.0" encoding="utf-8"?>
<!-- $Revision$ -->
<refentry xml:id="function.variant-imp" xmlns="http://docbook.org/ns/docbook">
 <refnamediv>
  <refname>variant_imp</refname>
  <refpurpose>Performs a bitwise implication on two variants</refpurpose>
 </refnamediv>
 <refsect1 role="description">
  &reftitle.description;
  <methodsynopsis>
   <type>variant</type><methodname>variant_imp</methodname>
   <methodparam><type>mixed</type><parameter>left</parameter></methodparam>
   <methodparam><type>mixed</type><parameter>right</parameter></methodparam>
  </methodsynopsis>
  <para>
   Performs a bitwise implication operation.
  </para>
 </refsect1>
 <refsect1 role="parameters">
  &reftitle.parameters;
  <para>
   <variablelist>
    <varlistentry>
     <term><parameter>left</parameter></term>
     <listitem>
      <para>
       The left operand.
      </para>
     </listitem>
    </varlistentry>
    <varlistentry>
     <term><parameter>right</parameter></term>
     <listitem>
      <para>
       The right operand.
      </para>
     </listitem>
    </varlistentry>
   </variablelist>
   &com.variant-arith;
  </para>
 </refsect1>
 <refsect1 role="returnvalues">
  &reftitle.returnvalues;
  <para>
   <table>
    <title>Variant Implication Table</title>
    <tgroup cols="3">
    <thead>
     <row>
      <entry>If <parameter>left</parameter> is</entry>
      <entry>If <parameter>right</parameter> is</entry>
      <entry>then the result is</entry>
     </row>
    </thead>
    <tbody>
     <row><entry>&true;</entry><entry>&true;</entry><entry>&true;</entry></row>
     <row><entry>&true;</entry><entry>&false;</entry><entry>&false;</entry></row>
     <row><entry>&true;</entry><entry>&null;</entry><entry>&true;</entry></row>
     <row><entry>&false;</entry><entry>&true;</entry><entry>&true;</entry></row>
     <row><entry>&false;</entry><entry>&false;</entry><entry>&true;</entry></row>
     <row><entry>&false;</entry><entry>&null;</entry><entry>&true;</entry></row>
     <row><entry>&null;</entry><entry>&true;</entry><entry>&true;</entry></row>
     <row><entry>&null;</entry><entry>&false;</entry><entry>&null;</entry></row>
     <row><entry>&null;</entry><entry>&null;</entry><entry>&null;</entry></row>
    </tbody>
   </tgroup>
  </table>
  </para>
 </refsect1>

 <refsect1 role="errors">
  &reftitle.errors;
  <para>
   Throws a <classname>com_exception</classname> on failure.
  </para>
 </refsect1>

</refentry>

<!-- Keep this comment at the end of the file
Local variables:
mode: sgml
sgml-omittag:t
sgml-shorttag:t
sgml-minimize-attributes:nil
sgml-always-quote-attributes:t
sgml-indent-step:1
sgml-indent-data:t
indent-tabs-mode:nil
sgml-parent-document:nil
sgml-default-dtd-file:"~/.phpdoc/manual.ced"
sgml-exposed-tags:nil
sgml-local-catalogs:nil
sgml-local-ecat-files:nil
End:
vim600: syn=xml fen fdm=syntax fdl=2 si
vim: et tw=78 syn=sgml
vi: ts=1 sw=1
-->
