mirror of
https://github.com/sigmasternchen/php-doc-en
synced 2025-03-15 16:38:54 +00:00
Fixed bug #53509 (Incorrect Phar Example; Confusing Results)
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@306484 c90b9560-bf6c-de11-be94-00142212c4b1
This commit is contained in:
parent
f5d5459f49
commit
58b6214d57
1 changed files with 1 additions and 1 deletions
|
@ -79,7 +79,7 @@ try {
|
|||
$phar = new PharData('myphar.tar');
|
||||
$phar['a'] = 'hi';
|
||||
$phar->copy('a', 'b');
|
||||
echo $phar['b']; // outputs "hi"
|
||||
echo $phar['b']; // outputs "phar://myphar.tar/b"
|
||||
} catch (Exception $e) {
|
||||
// handle error
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue