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:
Kalle Sommer Nielsen 2010-12-20 02:19:31 +00:00
parent f5d5459f49
commit 58b6214d57

View file

@ -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
}