Skip to content

Commit 2bb37b0

Browse files
committed
Fixed syntax errors in more examples
php/doc-en@2258375
1 parent 1010d56 commit 2bb37b0

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

appendices/filters.xml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<?xml version="1.0" encoding="utf-8"?>
22
<!-- $Revision$ -->
3-
<!-- EN-Revision: da4977f316e4a05be800e865b979c10d19436112 Maintainer: takagi Status: ready -->
3+
<!-- EN-Revision: 22583751fbfdaa3eaa41aeb6470d1343f5cb2c78 Maintainer: takagi Status: ready -->
44
<!-- Credits: mumumu -->
55

66
<appendix xml:id="filters" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink">
@@ -551,7 +551,7 @@ fclose($fp);
551551
// 復号化する...
552552
$fp = fopen('encrypted-file.enc', 'rb');
553553
$iv = fread($fp, $iv_size = mcrypt_get_iv_size(MCRYPT_BLOWFISH, MCRYPT_MODE_CBC));
554-
$opts = array('mode'=>'cbc','iv'=>$iv, 'key'=>$key)
554+
$opts = array('mode'=>'cbc','iv'=>$iv, 'key'=>$key);
555555
stream_filter_append($fp, 'mdecrypt.blowfish', STREAM_FILTER_READ, $opts);
556556
$data = rtrim(stream_get_contents($fp));//trims off null padding
557557
fclose($fp);

0 commit comments

Comments
 (0)