mirror of
https://github.com/sigmasternchen/php-doc-en
synced 2025-03-15 16:38:54 +00:00
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:
parent
d8c1a54bd4
commit
ba2a7b19b5
2 changed files with 3 additions and 3 deletions
|
@ -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";
|
||||
|
||||
|
|
|
@ -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);
|
||||
|
|
Loading…
Reference in a new issue