cvs: phpdoc-fa /language/predefined/exception clone.xml construct.xml getcode.xml getfile.xml getline.xml getmessage.xml gettrace.xml
gettraceasstring.xml tostring.xml
| From: | Pedram Salehpoor | Date: | Wed, 02 Jul 2008 17:08:03 +0000 |
| Subject: | cvs: phpdoc-fa /language/predefined/exception clone.xml construct.xml getcode.xml getfile.xml getline.xml getmessage.xml gettrace.xml gettraceasstring.xml tostring.xml |
||
| Groups: | php.doc.fa | ||
| Request: | Send a blank email to doc-fa+get-37@lists.php.net to get a copy of this message | ||
psalehpoor Wed Jul 2 17:08:03 2008 UTC
Added files:
/phpdoc-fa/language/predefined/exception clone.xml construct.xml
getcode.xml getfile.xml
getline.xml getmessage.xml
gettrace.xml
gettraceasstring.xml
tostring.xml
Log:
translation to persian
http://cvs.php.net/viewvc.cgi/phpdoc-fa/language/predefined/exception/clone.xml?view=markup&rev=1.1 Index: phpdoc-fa/language/predefined/exception/clone.xml +++ phpdoc-fa/language/predefined/exception/clone.xml <?xml version="1.0" encoding="utf-8"?> <!-- EN-Revision: 1.2 Maintainer: pedram Status: ready --> <!-- $Revision: 1.1 $ --> <refentry xml:id="exception.clone" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink"> <refnamediv> <refname>Exception::__clone</refname> <refpurpose>Ú©Ù¾Û Ø§Ø³ØªØ«ÙØ§</refpurpose> </refnamediv> <refsect1 role="description"> &reftitle.description; <methodsynopsis> <modifier>final</modifier> <modifier>private</modifier> <type>string</type><methodname>Exception::__clone</methodname> <void /> </methodsynopsis> <para> ØªÙØ§Ø´ Ù ÛâÙÙ Ø§ÛØ¯ Ú©Ù Ø§Ø³ØªØ«ÙØ§ را Ú©Ù¾Û Ú©ÙØ¯ ک٠در ÙØªÛØ¬Ù Ø®Ø·Ø§Û Ù Ø±Ú¯Ø¨Ø§Ø± Ø§ÛØ¬Ø§Ø¯ Ù ÛâÙÙ Ø§ÛØ¯. </para> </refsect1> <refsect1 role="parameters"> &reftitle.parameters; &no.function.parameters; </refsect1> <refsect1 role="returnvalues"> &reftitle.returnvalues; <para> &return.void; </para> </refsect1> <refsect1 role="errors"> &reftitle.errors; <para> Ø§Ø³ØªØ«ÙØ§âÙØ§ ÙØ§Ø¨Ù Ú©Ù¾Û Ú©Ø±Ø¯Ù ÙÛØ³ØªÙد. </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:"../../../../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 --> http://cvs.php.net/viewvc.cgi/phpdoc-fa/language/predefined/exception/construct.xml?view=markup&rev=1.1 Index: phpdoc-fa/language/predefined/exception/construct.xml +++ phpdoc-fa/language/predefined/exception/construct.xml <?xml version="1.0" encoding="utf-8"?> <!-- EN-Revision: 1.1 Maintainer: pedram Status: ready --> <!-- $Revision: 1.1 $ --> <refentry xml:id="exception.construct" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink"> <refnamediv> <refname>Exception::__construct</refname> <refpurpose>ساخت Ø§Ø³ØªØ«ÙØ§</refpurpose> </refnamediv> <refsect1 role="description"> &reftitle.description; <constructorsynopsis> <modifier>public</modifier> <methodname>Exception::__construct</methodname> <methodparam choice="opt"><type>string</type><parameter>message</parameter></methodparam> <methodparam choice="opt"><type>int</type><parameter>code</parameter></methodparam> </constructorsynopsis> <para> Ø§Ø³ØªØ«ÙØ§ را Ù ÛâØ³Ø§Ø²Ø¯. </para> </refsect1> <refsect1 role="parameters"> &reftitle.parameters; <para> <variablelist> <varlistentry> <term><parameter>message</parameter></term> <listitem> <para> Ù¾ÛØ§Ù Ø§Ø³ØªØ«ÙØ§ Ø§ÛØ¬Ø§Ø¯ شدÙ. </para> </listitem> </varlistentry> <varlistentry> <term><parameter>code</parameter></term> <listitem> <para> کد Ø§Ø³ØªØ«ÙØ§. </para> </listitem> </varlistentry> </variablelist> </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:"../../../../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 --> http://cvs.php.net/viewvc.cgi/phpdoc-fa/language/predefined/exception/getcode.xml?view=markup&rev=1.1 Index: phpdoc-fa/language/predefined/exception/getcode.xml +++ phpdoc-fa/language/predefined/exception/getcode.xml <?xml version="1.0" encoding="utf-8"?> <!-- EN-Revision: 1.1 Maintainer: pedram Status: ready --> <!-- $Revision: 1.1 $ --> <refentry xml:id="exception.getcode" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink"> <refnamediv> <refname>Exception::getCode</refname> <refpurpose>کد Ø§Ø³ØªØ«ÙØ§ را باز Ù ÛâÚ¯Ø±Ø¯Ø§ÙØ¯</refpurpose> </refnamediv> <refsect1 role="description"> &reftitle.description; <methodsynopsis> <modifier>final</modifier> <modifier>public</modifier> <type>int</type><methodname>Exception::getCode</methodname> <void /> </methodsynopsis> <para> Ø¨Ø§Ø²Ú¯Ø±Ø¯Ø§ÙØ¯Ù کد Ø§Ø³ØªØ«ÙØ§. </para> </refsect1> <refsect1 role="parameters"> &reftitle.parameters; &no.function.parameters; </refsect1> <refsect1 role="returnvalues"> &reftitle.returnvalues; <para> کد Ø§Ø³ØªØ«ÙØ§ را Ø¨ØµÙØ±Øª <type>integer</type> باز Ù ÛâÚ¯Ø±Ø¯Ø§ÙØ¯. </para> </refsect1> <refsect1 role="examples"> &reftitle.examples; <para> <example> <title>ÙÙ ÙÙÙ <function>Exception::getCode</function></title> <programlisting role="php"> <![CDATA[ <?php try { throw new Exception("Some error message", 30); } catch(Exception $e) { echo "The exception code is: " . $e->getCode(); } ?> ]]> </programlisting> &example.outputs.similar; <screen> <![CDATA[ The exception code is: 30 ]]> </screen> </example> </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:"../../../../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 --> http://cvs.php.net/viewvc.cgi/phpdoc-fa/language/predefined/exception/getfile.xml?view=markup&rev=1.1 Index: phpdoc-fa/language/predefined/exception/getfile.xml +++ phpdoc-fa/language/predefined/exception/getfile.xml <?xml version="1.0" encoding="utf-8"?> <!-- EN-Revision: 1.1 Maintainer: pedram Status: ready --> <!-- $Revision: 1.1 $ --> <refentry xml:id="exception.getfile" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink"> <refnamediv> <refname>Exception::getFile</refname> <refpurpose>ÙØ§Ù ÙØ§ÛÙ Ø§ÛØ¬Ø§Ø¯ Ú©ÙÙØ¯Ù Ø§Ø³ØªØ«ÙØ§ را باز Ù ÛâÚ¯Ø±Ø¯Ø§ÙØ¯</refpurpose> </refnamediv> <refsect1 role="description"> &reftitle.description; <methodsynopsis> <modifier>final</modifier> <modifier>public</modifier> <type>string</type><methodname>Exception::getFile</methodname> <void /> </methodsynopsis> <para> ÙØ§Ù ÙØ§ÛÙ Ø§ÛØ¬Ø§Ø¯ Ú©ÙÙØ¯Ù Ø§Ø³ØªØ«ÙØ§ را باز Ù ÛâÚ¯Ø±Ø¯Ø§ÙØ¯. </para> </refsect1> <refsect1 role="parameters"> &reftitle.parameters; &no.function.parameters; </refsect1> <refsect1 role="returnvalues"> &reftitle.returnvalues; <para> ÙØ§Ù ÙØ§ÛÙ Ø§ÛØ¬Ø§Ø¯ Ú©ÙÙØ¯Ù Ø§Ø³ØªØ«ÙØ§ را باز Ù ÛâÚ¯Ø±Ø¯Ø§ÙØ¯. </para> </refsect1> <refsect1 role="examples"> &reftitle.examples; <para> <example> <title>ÙÙ ÙÙÙ <function>Exception::getFile</function></title> <programlisting role="php"> <![CDATA[ <?php try { throw new Exception; } catch(Exception $e) { echo $e->getFile(); } ?> ]]> </programlisting> &example.outputs.similar; <screen> <![CDATA[ /home/bjori/tmp/ex.php ]]> </screen> </example> </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:"../../../../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 --> http://cvs.php.net/viewvc.cgi/phpdoc-fa/language/predefined/exception/getline.xml?view=markup&rev=1.1 Index: phpdoc-fa/language/predefined/exception/getline.xml +++ phpdoc-fa/language/predefined/exception/getline.xml <?xml version="1.0" encoding="utf-8"?> <!-- EN-Revision: 1.1 Maintainer: pedram Status: ready --> <!-- $Revision: 1.1 $ --> <refentry xml:id="exception.getline" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink"> <refnamediv> <refname>Exception::getLine</refname> <refpurpose>خط Ø§ÛØ¬Ø§Ø¯ Ú©ÙÙØ¯Ù Ø§Ø³ØªØ«ÙØ§ را Ù ÛâÛØ§Ø¨Ø¯</refpurpose> </refnamediv> <refsect1 role="description"> &reftitle.description; <methodsynopsis> <modifier>final</modifier> <modifier>public</modifier> <type>string</type><methodname>Exception::getLine</methodname> <void /> </methodsynopsis> <para> ش٠ار٠خط تÙÙÛØ¯ Ú©ÙÙØ¯Ù Ø§Ø³ØªØ«ÙØ§ را باز Ù ÛâÚ¯Ø±Ø¯Ø§ÙØ¯. </para> </refsect1> <refsect1 role="parameters"> &reftitle.parameters; &no.function.parameters; </refsect1> <refsect1 role="returnvalues"> &reftitle.returnvalues; <para> ش٠ار٠خط تÙÙÛØ¯ Ú©ÙÙØ¯Ù Ø§Ø³ØªØ«ÙØ§ را باز Ù ÛâÚ¯Ø±Ø¯Ø§ÙØ¯. </para> </refsect1> <refsect1 role="examples"> &reftitle.examples; <para> <example> <title>ÙÙ ÙÙÙ <function>Exception::getLine</function></title> <programlisting role="php"> <![CDATA[ <?php try { throw new Exception("Some error message"); } catch(Exception $e) { echo "The exception was thrown on line: " . $e->getLine(); } ?> ]]> </programlisting> &example.outputs.similar; <screen> <![CDATA[ The exception was thrown on line: 3 ]]> </screen> </example> </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:"../../../../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 --> http://cvs.php.net/viewvc.cgi/phpdoc-fa/language/predefined/exception/getmessage.xml?view=markup&rev=1.1 Index: phpdoc-fa/language/predefined/exception/getmessage.xml +++ phpdoc-fa/language/predefined/exception/getmessage.xml <?xml version="1.0" encoding="utf-8"?> <!-- EN-Revision: 1.1 Maintainer: pedram Status: ready --> <!-- $Revision: 1.1 $ --> <refentry xml:id="exception.getmessage" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink"> <refnamediv> <refname>Exception::getMessage</refname> <refpurpose>Ù¾ÛØ§Ù Ø§Ø³ØªØ«ÙØ§ را Ù ÛâÚ¯ÛØ±Ø¯</refpurpose> </refnamediv> <refsect1 role="description"> &reftitle.description; <methodsynopsis> <modifier>final</modifier> <modifier>public</modifier> <type>string</type><methodname>Exception::getMessage</methodname> <void /> </methodsynopsis> <para> Ù¾ÛØ§Ù Ø§Ø³ØªØ«ÙØ§ را باز٠ÛâÚ¯Ø±Ø¯Ø§ÙØ¯. </para> </refsect1> <refsect1 role="parameters"> &reftitle.parameters; &no.function.parameters; </refsect1> <refsect1 role="returnvalues"> &reftitle.returnvalues; <para> Ù¾ÛØ§Ù Ø§Ø³ØªØ«ÙØ§ را ب٠عÙÙØ§Ù رشت٠باز Ù ÛØ°Ú¯Ø±Ø¯Ø§Ùد. </para> </refsect1> <refsect1 role="examples"> &reftitle.examples; <para> <example> <title>ÙÙ ÙÙÙ <function>Exception::getMessage</function></title> <programlisting role="php"> <![CDATA[ <?php try { throw new Exception("Some error message"); } catch(Exception $e) { echo $e->getMessage(); } ?> ]]> </programlisting> &example.outputs.similar; <screen> <![CDATA[ Some error message ]]> </screen> </example> </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:"../../../../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 --> http://cvs.php.net/viewvc.cgi/phpdoc-fa/language/predefined/exception/gettrace.xml?view=markup&rev=1.1 Index: phpdoc-fa/language/predefined/exception/gettrace.xml +++ phpdoc-fa/language/predefined/exception/gettrace.xml <?xml version="1.0" encoding="utf-8"?> <!-- EN-Revision: 1.4 Maintainer: pedram Status: ready --> <!-- $Revision: 1.1 $ --> <refentry xml:id="exception.gettrace" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink"> <refnamediv> <refname>Exception::getTrace</refname> <refpurpose>پشت٠پÛÚ¯Ø±Û Ø±Ø§ Ù ÛâÚ¯ÛØ±Ø¯</refpurpose> </refnamediv> <refsect1 role="description"> &reftitle.description; <methodsynopsis> <modifier>final</modifier> <modifier>public</modifier> <type>array</type><methodname>Exception::getTrace</methodname> <void /> </methodsynopsis> <para> Ø¨Ø§Ø²Ú¯Ø±Ø¯Ø§ÙØ¯Ù پشت٠پÛÚ¯ÛØ±Û Ø§Ø³ØªØ«ÙØ§. </para> </refsect1> <refsect1 role="parameters"> &reftitle.parameters; &no.function.parameters; </refsect1> <refsect1 role="returnvalues"> &reftitle.returnvalues; <para> پشت٠پÛÚ¯ÛØ±Û Ø§Ø³ØªØ«ÙØ§ را Ø¨ØµÙØ±Øª<type>array</type> باز Ù ÛâÚ¯Ø±Ø¯Ø§ÙØ¯. </para> </refsect1> <refsect1 role="examples"> &reftitle.examples; <para> <example> <title>ÙÙ ÙÙÙ <function>Exception::getTrace</function></title> <programlisting role="php"> <![CDATA[ <?php function test() { throw new Exception; } try { test(); } catch(Exception $e) { var_dump($e->getTrace()); } ?> ]]> </programlisting> &example.outputs.similar; <screen> <![CDATA[ array(1) { [0]=> array(4) { ["file"]=> string(22) "/home/bjori/tmp/ex.php" ["line"]=> int(7) ["function"]=> string(4) "test" ["args"]=> array(0) { } } } ]]> </screen> </example> </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:"../../../../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 --> http://cvs.php.net/viewvc.cgi/phpdoc-fa/language/predefined/exception/gettraceasstring.xml?view=markup&rev=1.1 Index: phpdoc-fa/language/predefined/exception/gettraceasstring.xml +++ phpdoc-fa/language/predefined/exception/gettraceasstring.xml <?xml version="1.0" encoding="utf-8"?> <!-- EN-Revision: 1.1 Maintainer: pedram Status: ready --> <!-- $Revision: 1.1 $ --> <refentry xml:id="exception.gettraceasstring" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink"> <refnamediv> <refname>Exception::getTraceAsString</refname> <refpurpose>پشت٠پÛÚ¯Ø±Û Ø±Ø§ Ø¨ØµÙØ±Øª رشت٠باز٠ÛâÚ¯Ø±Ø¯Ø§ÙØ¯</refpurpose> </refnamediv> <refsect1 role="description"> &reftitle.description; <methodsynopsis> <modifier>final</modifier> <modifier>public</modifier> <type>string</type><methodname>Exception::getTraceAsString</methodname> <void /> </methodsynopsis> <para> Ù¾ÛÚ¯Ø±Û Ø§Ø³ØªØ«ÙØ§ را Ø¨Ø±Ø§Û Ø±ÙØ¹ خطا را Ø¨ØµÙØ±Øª Ø±Ø´ØªÙ Ø§ÛØ¬Ø§Ø¯ Ù ÛâÙÙ Ø§ÛØ¯. </para> </refsect1> <refsect1 role="parameters"> &reftitle.parameters; &no.function.parameters; </refsect1> <refsect1 role="returnvalues"> &reftitle.returnvalues; <para> Ù¾ÛÚ¯Ø±Û Ø§Ø³ØªØ«ÙØ§ را Ø¨Ø±Ø§Û Ø±ÙØ¹ خطا را Ø¨ØµÙØ±Øª Ø±Ø´ØªÙ Ø§ÛØ¬Ø§Ø¯ Ù ÛâÙÙ Ø§ÛØ¯. </para> </refsect1> <refsect1 role="examples"> &reftitle.examples; <para> <example> <title>ÙÙ ÙÙÙ <function>Exception::getTraceAsString</function></title> <programlisting role="php"> <![CDATA[ <?php function test() { throw new Exception; } try { test(); } catch(Exception $e) { echo $e->getTraceAsString(); } ?> ]]> </programlisting> &example.outputs.similar; <screen> <![CDATA[ #0 /home/bjori/tmp/ex.php(7): test() #1 {main} ]]> </screen> </example> </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:"../../../../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 --> http://cvs.php.net/viewvc.cgi/phpdoc-fa/language/predefined/exception/tostring.xml?view=markup&rev=1.1 Index: phpdoc-fa/language/predefined/exception/tostring.xml +++ phpdoc-fa/language/predefined/exception/tostring.xml <?xml version="1.0" encoding="utf-8"?> <!-- EN-Revision: 1.1 Maintainer: pedram Status: ready --> <!-- $Revision: 1.1 $ --> <refentry xml:id="exception.tostring" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink"> <refnamediv> <refname>Exception::__toString</refname> <refpurpose>ÙÙ Ø§ÛØ´ Ø±Ø´ØªÙ Ø§Ø³ØªØ«ÙØ§</refpurpose> </refnamediv> <refsect1 role="description"> &reftitle.description; <methodsynopsis> <modifier>public</modifier> <type>string</type> <methodname>Exception::__toString</methodname> <void /> </methodsynopsis> <para> ÙÙ Ø§ÛØ´ Ø§Ø³ØªØ«ÙØ§ <type>string</type> را باز٠ÛâÚ¯Ø±Ø¯Ø§ÙØ¯. </para> </refsect1> <refsect1 role="parameters"> &reftitle.parameters; &no.function.parameters; </refsect1> <refsect1 role="returnvalues"> &reftitle.returnvalues; <para> ÙÙ Ø§ÛØ´ Ø§Ø³ØªØ«ÙØ§ <type>string</type> باز Ù ÛâÚ¯Ø±Ø¯Ø§ÙØ¯. </para> </refsect1> <refsect1 role="examples"> &reftitle.examples; <para> <example> <title>ÙÙ ÙÙÙ <function>Exception::__toString</function></title> <programlisting role="php"> <![CDATA[ <?php try { throw new Exception("Some error message"); } catch(Exception $e) { echo $e; } ?> ]]> </programlisting> &example.outputs.similar; <screen> <![CDATA[ exception 'Exception' with message 'Some error message' in /home/bjori/tmp/ex.php:3 Stack trace: #0 {main} ]]> </screen> </example> </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:"../../../../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 -->
http://cvs.php.net/viewvc.cgi/phpdoc-fa/language/predefined/exception/clone.xml?view=markup&rev=1.1 Index: phpdoc-fa/language/predefined/exception/clone.xml +++ phpdoc-fa/language/predefined/exception/clone.xml <?xml version="1.0" encoding="utf-8"?> <!-- EN-Revision: 1.2 Maintainer: pedram Status: ready --> <!-- $Revision: 1.1 $ --> <refentry xml:id="exception.clone" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink"> <refnamediv> <refname>Exception::__clone</refname> <refpurpose>Ú©Ù¾Û Ø§Ø³ØªØ«ÙØ§</refpurpose> </refnamediv> <refsect1 role="description"> &reftitle.description; <methodsynopsis> <modifier>final</modifier> <modifier>private</modifier> <type>string</type><methodname>Exception::__clone</methodname> <void /> </methodsynopsis> <para> ØªÙØ§Ø´ Ù ÛâÙÙ Ø§ÛØ¯ Ú©Ù Ø§Ø³ØªØ«ÙØ§ را Ú©Ù¾Û Ú©ÙØ¯ ک٠در ÙØªÛØ¬Ù Ø®Ø·Ø§Û Ù Ø±Ú¯Ø¨Ø§Ø± Ø§ÛØ¬Ø§Ø¯ Ù ÛâÙÙ Ø§ÛØ¯. </para> </refsect1> <refsect1 role="parameters"> &reftitle.parameters; &no.function.parameters; </refsect1> <refsect1 role="returnvalues"> &reftitle.returnvalues; <para> &return.void; </para> </refsect1> <refsect1 role="errors"> &reftitle.errors; <para> Ø§Ø³ØªØ«ÙØ§âÙØ§ ÙØ§Ø¨Ù Ú©Ù¾Û Ú©Ø±Ø¯Ù ÙÛØ³ØªÙد. </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:"../../../../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 --> http://cvs.php.net/viewvc.cgi/phpdoc-fa/language/predefined/exception/construct.xml?view=markup&rev=1.1 Index: phpdoc-fa/language/predefined/exception/construct.xml +++ phpdoc-fa/language/predefined/exception/construct.xml <?xml version="1.0" encoding="utf-8"?> <!-- EN-Revision: 1.1 Maintainer: pedram Status: ready --> <!-- $Revision: 1.1 $ --> <refentry xml:id="exception.construct" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink"> <refnamediv> <refname>Exception::__construct</refname> <refpurpose>ساخت Ø§Ø³ØªØ«ÙØ§</refpurpose> </refnamediv> <refsect1 role="description"> &reftitle.description; <constructorsynopsis> <modifier>public</modifier> <methodname>Exception::__construct</methodname> <methodparam choice="opt"><type>string</type><parameter>message</parameter></methodparam> <methodparam choice="opt"><type>int</type><parameter>code</parameter></methodparam> </constructorsynopsis> <para> Ø§Ø³ØªØ«ÙØ§ را Ù ÛâØ³Ø§Ø²Ø¯. </para> </refsect1> <refsect1 role="parameters"> &reftitle.parameters; <para> <variablelist> <varlistentry> <term><parameter>message</parameter></term> <listitem> <para> Ù¾ÛØ§Ù Ø§Ø³ØªØ«ÙØ§ Ø§ÛØ¬Ø§Ø¯ شدÙ. </para> </listitem> </varlistentry> <varlistentry> <term><parameter>code</parameter></term> <listitem> <para> کد Ø§Ø³ØªØ«ÙØ§. </para> </listitem> </varlistentry> </variablelist> </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:"../../../../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 --> http://cvs.php.net/viewvc.cgi/phpdoc-fa/language/predefined/exception/getcode.xml?view=markup&rev=1.1 Index: phpdoc-fa/language/predefined/exception/getcode.xml +++ phpdoc-fa/language/predefined/exception/getcode.xml <?xml version="1.0" encoding="utf-8"?> <!-- EN-Revision: 1.1 Maintainer: pedram Status: ready --> <!-- $Revision: 1.1 $ --> <refentry xml:id="exception.getcode" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink"> <refnamediv> <refname>Exception::getCode</refname> <refpurpose>کد Ø§Ø³ØªØ«ÙØ§ را باز Ù ÛâÚ¯Ø±Ø¯Ø§ÙØ¯</refpurpose> </refnamediv> <refsect1 role="description"> &reftitle.description; <methodsynopsis> <modifier>final</modifier> <modifier>public</modifier> <type>int</type><methodname>Exception::getCode</methodname> <void /> </methodsynopsis> <para> Ø¨Ø§Ø²Ú¯Ø±Ø¯Ø§ÙØ¯Ù کد Ø§Ø³ØªØ«ÙØ§. </para> </refsect1> <refsect1 role="parameters"> &reftitle.parameters; &no.function.parameters; </refsect1> <refsect1 role="returnvalues"> &reftitle.returnvalues; <para> کد Ø§Ø³ØªØ«ÙØ§ را Ø¨ØµÙØ±Øª <type>integer</type> باز Ù ÛâÚ¯Ø±Ø¯Ø§ÙØ¯. </para> </refsect1> <refsect1 role="examples"> &reftitle.examples; <para> <example> <title>ÙÙ ÙÙÙ <function>Exception::getCode</function></title> <programlisting role="php"> <![CDATA[ <?php try { throw new Exception("Some error message", 30); } catch(Exception $e) { echo "The exception code is: " . $e->getCode(); } ?> ]]> </programlisting> &example.outputs.similar; <screen> <![CDATA[ The exception code is: 30 ]]> </screen> </example> </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:"../../../../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 --> http://cvs.php.net/viewvc.cgi/phpdoc-fa/language/predefined/exception/getfile.xml?view=markup&rev=1.1 Index: phpdoc-fa/language/predefined/exception/getfile.xml +++ phpdoc-fa/language/predefined/exception/getfile.xml <?xml version="1.0" encoding="utf-8"?> <!-- EN-Revision: 1.1 Maintainer: pedram Status: ready --> <!-- $Revision: 1.1 $ --> <refentry xml:id="exception.getfile" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink"> <refnamediv> <refname>Exception::getFile</refname> <refpurpose>ÙØ§Ù ÙØ§ÛÙ Ø§ÛØ¬Ø§Ø¯ Ú©ÙÙØ¯Ù Ø§Ø³ØªØ«ÙØ§ را باز Ù ÛâÚ¯Ø±Ø¯Ø§ÙØ¯</refpurpose> </refnamediv> <refsect1 role="description"> &reftitle.description; <methodsynopsis> <modifier>final</modifier> <modifier>public</modifier> <type>string</type><methodname>Exception::getFile</methodname> <void /> </methodsynopsis> <para> ÙØ§Ù ÙØ§ÛÙ Ø§ÛØ¬Ø§Ø¯ Ú©ÙÙØ¯Ù Ø§Ø³ØªØ«ÙØ§ را باز Ù ÛâÚ¯Ø±Ø¯Ø§ÙØ¯. </para> </refsect1> <refsect1 role="parameters"> &reftitle.parameters; &no.function.parameters; </refsect1> <refsect1 role="returnvalues"> &reftitle.returnvalues; <para> ÙØ§Ù ÙØ§ÛÙ Ø§ÛØ¬Ø§Ø¯ Ú©ÙÙØ¯Ù Ø§Ø³ØªØ«ÙØ§ را باز Ù ÛâÚ¯Ø±Ø¯Ø§ÙØ¯. </para> </refsect1> <refsect1 role="examples"> &reftitle.examples; <para> <example> <title>ÙÙ ÙÙÙ <function>Exception::getFile</function></title> <programlisting role="php"> <![CDATA[ <?php try { throw new Exception; } catch(Exception $e) { echo $e->getFile(); } ?> ]]> </programlisting> &example.outputs.similar; <screen> <![CDATA[ /home/bjori/tmp/ex.php ]]> </screen> </example> </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:"../../../../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 --> http://cvs.php.net/viewvc.cgi/phpdoc-fa/language/predefined/exception/getline.xml?view=markup&rev=1.1 Index: phpdoc-fa/language/predefined/exception/getline.xml +++ phpdoc-fa/language/predefined/exception/getline.xml <?xml version="1.0" encoding="utf-8"?> <!-- EN-Revision: 1.1 Maintainer: pedram Status: ready --> <!-- $Revision: 1.1 $ --> <refentry xml:id="exception.getline" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink"> <refnamediv> <refname>Exception::getLine</refname> <refpurpose>خط Ø§ÛØ¬Ø§Ø¯ Ú©ÙÙØ¯Ù Ø§Ø³ØªØ«ÙØ§ را Ù ÛâÛØ§Ø¨Ø¯</refpurpose> </refnamediv> <refsect1 role="description"> &reftitle.description; <methodsynopsis> <modifier>final</modifier> <modifier>public</modifier> <type>string</type><methodname>Exception::getLine</methodname> <void /> </methodsynopsis> <para> ش٠ار٠خط تÙÙÛØ¯ Ú©ÙÙØ¯Ù Ø§Ø³ØªØ«ÙØ§ را باز Ù ÛâÚ¯Ø±Ø¯Ø§ÙØ¯. </para> </refsect1> <refsect1 role="parameters"> &reftitle.parameters; &no.function.parameters; </refsect1> <refsect1 role="returnvalues"> &reftitle.returnvalues; <para> ش٠ار٠خط تÙÙÛØ¯ Ú©ÙÙØ¯Ù Ø§Ø³ØªØ«ÙØ§ را باز Ù ÛâÚ¯Ø±Ø¯Ø§ÙØ¯. </para> </refsect1> <refsect1 role="examples"> &reftitle.examples; <para> <example> <title>ÙÙ ÙÙÙ <function>Exception::getLine</function></title> <programlisting role="php"> <![CDATA[ <?php try { throw new Exception("Some error message"); } catch(Exception $e) { echo "The exception was thrown on line: " . $e->getLine(); } ?> ]]> </programlisting> &example.outputs.similar; <screen> <![CDATA[ The exception was thrown on line: 3 ]]> </screen> </example> </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:"../../../../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 --> http://cvs.php.net/viewvc.cgi/phpdoc-fa/language/predefined/exception/getmessage.xml?view=markup&rev=1.1 Index: phpdoc-fa/language/predefined/exception/getmessage.xml +++ phpdoc-fa/language/predefined/exception/getmessage.xml <?xml version="1.0" encoding="utf-8"?> <!-- EN-Revision: 1.1 Maintainer: pedram Status: ready --> <!-- $Revision: 1.1 $ --> <refentry xml:id="exception.getmessage" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink"> <refnamediv> <refname>Exception::getMessage</refname> <refpurpose>Ù¾ÛØ§Ù Ø§Ø³ØªØ«ÙØ§ را Ù ÛâÚ¯ÛØ±Ø¯</refpurpose> </refnamediv> <refsect1 role="description"> &reftitle.description; <methodsynopsis> <modifier>final</modifier> <modifier>public</modifier> <type>string</type><methodname>Exception::getMessage</methodname> <void /> </methodsynopsis> <para> Ù¾ÛØ§Ù Ø§Ø³ØªØ«ÙØ§ را باز٠ÛâÚ¯Ø±Ø¯Ø§ÙØ¯. </para> </refsect1> <refsect1 role="parameters"> &reftitle.parameters; &no.function.parameters; </refsect1> <refsect1 role="returnvalues"> &reftitle.returnvalues; <para> Ù¾ÛØ§Ù Ø§Ø³ØªØ«ÙØ§ را ب٠عÙÙØ§Ù رشت٠باز Ù ÛØ°Ú¯Ø±Ø¯Ø§Ùد. </para> </refsect1> <refsect1 role="examples"> &reftitle.examples; <para> <example> <title>ÙÙ ÙÙÙ <function>Exception::getMessage</function></title> <programlisting role="php"> <![CDATA[ <?php try { throw new Exception("Some error message"); } catch(Exception $e) { echo $e->getMessage(); } ?> ]]> </programlisting> &example.outputs.similar; <screen> <![CDATA[ Some error message ]]> </screen> </example> </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:"../../../../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 --> http://cvs.php.net/viewvc.cgi/phpdoc-fa/language/predefined/exception/gettrace.xml?view=markup&rev=1.1 Index: phpdoc-fa/language/predefined/exception/gettrace.xml +++ phpdoc-fa/language/predefined/exception/gettrace.xml <?xml version="1.0" encoding="utf-8"?> <!-- EN-Revision: 1.4 Maintainer: pedram Status: ready --> <!-- $Revision: 1.1 $ --> <refentry xml:id="exception.gettrace" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink"> <refnamediv> <refname>Exception::getTrace</refname> <refpurpose>پشت٠پÛÚ¯Ø±Û Ø±Ø§ Ù ÛâÚ¯ÛØ±Ø¯</refpurpose> </refnamediv> <refsect1 role="description"> &reftitle.description; <methodsynopsis> <modifier>final</modifier> <modifier>public</modifier> <type>array</type><methodname>Exception::getTrace</methodname> <void /> </methodsynopsis> <para> Ø¨Ø§Ø²Ú¯Ø±Ø¯Ø§ÙØ¯Ù پشت٠پÛÚ¯ÛØ±Û Ø§Ø³ØªØ«ÙØ§. </para> </refsect1> <refsect1 role="parameters"> &reftitle.parameters; &no.function.parameters; </refsect1> <refsect1 role="returnvalues"> &reftitle.returnvalues; <para> پشت٠پÛÚ¯ÛØ±Û Ø§Ø³ØªØ«ÙØ§ را Ø¨ØµÙØ±Øª<type>array</type> باز Ù ÛâÚ¯Ø±Ø¯Ø§ÙØ¯. </para> </refsect1> <refsect1 role="examples"> &reftitle.examples; <para> <example> <title>ÙÙ ÙÙÙ <function>Exception::getTrace</function></title> <programlisting role="php"> <![CDATA[ <?php function test() { throw new Exception; } try { test(); } catch(Exception $e) { var_dump($e->getTrace()); } ?> ]]> </programlisting> &example.outputs.similar; <screen> <![CDATA[ array(1) { [0]=> array(4) { ["file"]=> string(22) "/home/bjori/tmp/ex.php" ["line"]=> int(7) ["function"]=> string(4) "test" ["args"]=> array(0) { } } } ]]> </screen> </example> </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:"../../../../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 --> http://cvs.php.net/viewvc.cgi/phpdoc-fa/language/predefined/exception/gettraceasstring.xml?view=markup&rev=1.1 Index: phpdoc-fa/language/predefined/exception/gettraceasstring.xml +++ phpdoc-fa/language/predefined/exception/gettraceasstring.xml <?xml version="1.0" encoding="utf-8"?> <!-- EN-Revision: 1.1 Maintainer: pedram Status: ready --> <!-- $Revision: 1.1 $ --> <refentry xml:id="exception.gettraceasstring" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink"> <refnamediv> <refname>Exception::getTraceAsString</refname> <refpurpose>پشت٠پÛÚ¯Ø±Û Ø±Ø§ Ø¨ØµÙØ±Øª رشت٠باز٠ÛâÚ¯Ø±Ø¯Ø§ÙØ¯</refpurpose> </refnamediv> <refsect1 role="description"> &reftitle.description; <methodsynopsis> <modifier>final</modifier> <modifier>public</modifier> <type>string</type><methodname>Exception::getTraceAsString</methodname> <void /> </methodsynopsis> <para> Ù¾ÛÚ¯Ø±Û Ø§Ø³ØªØ«ÙØ§ را Ø¨Ø±Ø§Û Ø±ÙØ¹ خطا را Ø¨ØµÙØ±Øª Ø±Ø´ØªÙ Ø§ÛØ¬Ø§Ø¯ Ù ÛâÙÙ Ø§ÛØ¯. </para> </refsect1> <refsect1 role="parameters"> &reftitle.parameters; &no.function.parameters; </refsect1> <refsect1 role="returnvalues"> &reftitle.returnvalues; <para> Ù¾ÛÚ¯Ø±Û Ø§Ø³ØªØ«ÙØ§ را Ø¨Ø±Ø§Û Ø±ÙØ¹ خطا را Ø¨ØµÙØ±Øª Ø±Ø´ØªÙ Ø§ÛØ¬Ø§Ø¯ Ù ÛâÙÙ Ø§ÛØ¯. </para> </refsect1> <refsect1 role="examples"> &reftitle.examples; <para> <example> <title>ÙÙ ÙÙÙ <function>Exception::getTraceAsString</function></title> <programlisting role="php"> <![CDATA[ <?php function test() { throw new Exception; } try { test(); } catch(Exception $e) { echo $e->getTraceAsString(); } ?> ]]> </programlisting> &example.outputs.similar; <screen> <![CDATA[ #0 /home/bjori/tmp/ex.php(7): test() #1 {main} ]]> </screen> </example> </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:"../../../../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 --> http://cvs.php.net/viewvc.cgi/phpdoc-fa/language/predefined/exception/tostring.xml?view=markup&rev=1.1 Index: phpdoc-fa/language/predefined/exception/tostring.xml +++ phpdoc-fa/language/predefined/exception/tostring.xml <?xml version="1.0" encoding="utf-8"?> <!-- EN-Revision: 1.1 Maintainer: pedram Status: ready --> <!-- $Revision: 1.1 $ --> <refentry xml:id="exception.tostring" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink"> <refnamediv> <refname>Exception::__toString</refname> <refpurpose>ÙÙ Ø§ÛØ´ Ø±Ø´ØªÙ Ø§Ø³ØªØ«ÙØ§</refpurpose> </refnamediv> <refsect1 role="description"> &reftitle.description; <methodsynopsis> <modifier>public</modifier> <type>string</type> <methodname>Exception::__toString</methodname> <void /> </methodsynopsis> <para> ÙÙ Ø§ÛØ´ Ø§Ø³ØªØ«ÙØ§ <type>string</type> را باز٠ÛâÚ¯Ø±Ø¯Ø§ÙØ¯. </para> </refsect1> <refsect1 role="parameters"> &reftitle.parameters; &no.function.parameters; </refsect1> <refsect1 role="returnvalues"> &reftitle.returnvalues; <para> ÙÙ Ø§ÛØ´ Ø§Ø³ØªØ«ÙØ§ <type>string</type> باز Ù ÛâÚ¯Ø±Ø¯Ø§ÙØ¯. </para> </refsect1> <refsect1 role="examples"> &reftitle.examples; <para> <example> <title>ÙÙ ÙÙÙ <function>Exception::__toString</function></title> <programlisting role="php"> <![CDATA[ <?php try { throw new Exception("Some error message"); } catch(Exception $e) { echo $e; } ?> ]]> </programlisting> &example.outputs.similar; <screen> <![CDATA[ exception 'Exception' with message 'Some error message' in /home/bjori/tmp/ex.php:3 Stack trace: #0 {main} ]]> </screen> </example> </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:"../../../../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 -->