fix comment on one line in example

git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@200410 c90b9560-bf6c-de11-be94-00142212c4b1
This commit is contained in:
Jean-Sébastien Goupil 2005-11-12 16:04:22 +00:00
parent 234728dd45
commit bf1beb2de3

View file

@ -1,5 +1,5 @@
<?xml version="1.0" encoding="iso-8859-1"?>
<!-- $Revision: 1.2 $ -->
<!-- $Revision: 1.3 $ -->
<refentry id="function.gnupg-seterrormode">
<refnamediv>
<refname>gnupg_seterrormode</refname>
@ -38,8 +38,7 @@
<![CDATA[
<?php
$res = gnupg_init();
gnupg_seterrormode($res,GNUPG_ERROR_WARNING); // raise a PHP-Warning in case
of an error
gnupg_seterrormode($res,GNUPG_ERROR_WARNING); // raise a PHP-Warning in case of an error
?>
]]>
</programlisting>
@ -50,8 +49,7 @@ of an error
<![CDATA[
<?php
$gpg = new gnupg();
$gpg -> seterrormode(gnupg::ERROR_EXCEPTION); // throw an exception in case of
an error
$gpg -> seterrormode(gnupg::ERROR_EXCEPTION); // throw an exception in case of an error
?>
]]>
</programlisting>