mirror of
https://github.com/sigmasternchen/php-doc-en
synced 2025-03-16 08:58:56 +00:00
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:
parent
234728dd45
commit
bf1beb2de3
1 changed files with 3 additions and 5 deletions
|
@ -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>
|
||||
|
|
Loading…
Reference in a new issue