fixed erroneous examples (contributed by François Bonzon)

git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@338500 c90b9560-bf6c-de11-be94-00142212c4b1
This commit is contained in:
Christoph Michael Becker 2016-01-15 14:00:12 +00:00
parent d8c1a54bd4
commit ba2a7b19b5
2 changed files with 3 additions and 3 deletions

View file

@ -97,7 +97,7 @@ if ($rar_arch === FALSE)
$rar_entries = $rar_arch->getEntries();
if ($rar_entries === FALSE)
die("Could retrieve entries.");
die("Could not retrieve entries.");
echo "Found " . count($rar_entries) . " entries.\n";

View file

@ -79,7 +79,7 @@ if ($rar_arch === FALSE)
die("Could not open RAR archive.");
$rar_entry = $rar_arch->getEntry('tese.txt');
if ($rar_entry === FALSE)
die("Could get such entry");
die("Could not get such entry");
echo get_class($rar_entry)."\n";
echo $rar_entry;
$rar_arch->close();
@ -106,7 +106,7 @@ if ($rar_arch === FALSE)
die("Could not open RAR archive.");
$rar_entry = rar_entry_get($rar_arch, 'tese.txt');
if ($rar_entry === FALSE)
die("Could get such entry");
die("Could not get such entry");
echo get_class($rar_entry)."\n";
echo $rar_entry;
rar_close($rar_arch);